WEB-Services / SOAP

Moderators: None (Apply to moderate this forum)
Number of threads: 97
Number of posts: 124

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
cannot import WSDL file to SOAP Posted by smartymeet on 23 Oct 2009 at 3:42 AM
Hi,
Am new to this forum and actually new to work as well :)
This is my first WSDL file am creating, so i can use to creak webservices.

i am posting this WSDL, could someone please tell what i am doing wrong, as i am not able to import it on SOAPUI, it gives error while adding WSDL.

WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://metier.soa.media.s3p.cegetel.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://metier.soa.media.s3p.cegetel.com" xmlns:impl="http://metier.soa.media.s3p.cegetel.com" xmlns:tns2="http://beans.soa.media.s3p.cegetel.com" xmlns:apachesoap="http://xml.apache.org/xml-soap">
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://beans.soa.media.s3p.cegetel.com" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://metier.soa.media.s3p.cegetel.com" xmlns:intf="http://metier.soa.media.s3p.cegetel.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">


<xsd:simpleType name="InstanceOptional">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="True"/>
<xsd:enumeration value="False"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Value">
<xsd:sequence>
<xsd:element name="type" type="ValueType"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="GetProductOfferingRequest">
<xsd:sequence>
<xsd:element name="CustomerId" type="xsd:string"/>
<xsd:element minOccurs="0" name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetProductInfoRequest">
<xsd:sequence>
<xsd:element name="ProductID" type="xsd:string"/>
<xsd:element minOccurs="0" name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>


<xsd:complexType name="Product">
<xsd:sequence>
<xsd:element name="productID" type="xsd:string"/>
<xsd:element name="productName" type="xsd:string"/>
<xsd:element minOccurs="0" name="shortDescription" type="xsd:string"/>
<xsd:element minOccurs="0" name="subscriptionPrice" type="xsd:int"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="subscriptionInterval" type="xsd:string"/>
<xsd:element minOccurs="0" name="oneTimeCharge" type="xsd:int"/>
<xsd:element minOccurs="0" name="refURI" type="xsd:string"/>
<xsd:element minOccurs="0" name="currency" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="SimpleRule">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element minOccurs="0" name="ruleSetOutcome" type="xsd:string"/>
<xsd:element minOccurs="0" name="externalRuleset" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DiscreteValue">
<xsd:complexContent>
<xsd:extension base="Value">
<xsd:sequence>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="RangeValue">
<xsd:complexContent>
<xsd:extension base="value">
<xsd:sequence>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="ValueType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="GB"/>
<xsd:enumeration value="Minutes"/>
<xsd:enumeration value="Units"/>
<xsd:enumeration value="Select"/>
<xsd:enumeration value="Input"/>
<xsd:enumeration value="ID"/>
<xsd:enumeration value="String"/>
<xsd:enumeration value="Hours"/>
</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="Characteristic">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element minOccurs="0" name="description" type="xsd:string"/>
<xsd:element name="instanceOptional" type="InstanceOptional" />
<xsd:element minOccurs="0" name="instanceMin" type="xsd:int"/>
<xsd:element minOccurs="0" name="instanceMax" type="xsd:int"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="simpleRule" type="SimpleRule"/>
<xsd:element name="value" type="Value"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="MarketProductSpecification">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element minOccurs="0" name="startsAt" type="xsd:dateTime"/>
<xsd:element minOccurs="0" name="endsAt" type="xsd:dateTime"/>
<xsd:element name="characteristic" type="Characteristic"/>
</xsd:sequence>
</xsd:complexType>



</xsd:schema>
</wsdl:types>
<wsdl:message name="getProductOfferingRequest">
<wsdl:part element="tns:GetProductOfferingRequest" name="request" />
</wsdl:message>
<wsdl:message name="getProductOfferingResponse">
<wsdl:part element="Product" name="response" />
</wsdl:message>

<wsdl:message name="GetProductInfoRequest">
<wsdl:part element="tns:GetProductInfo" name="request" />
</wsdl:message>
<wsdl:message name="getProductInfoResponse">
<wsdl:part element="MarketProductSpecification" name="response" />
</wsdl:message>

<wsdl:portType name="ProductOperationsInterface">
<wsdl:operation name="getProductOffering">
<wsdl:input message="tns:getProductOfferingRequest" />
<wsdl:output message="tns:getProductOfferingResponse" />

</wsdl:operation>
<wsdl:operation name="getProductInfo">
<wsdl:input message="tns:getProductInfoRequest" />
<wsdl:output message="tns:getProductInfoResponse" />

</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="ProductOperationsInterfaceBinding" type="ProductOperationsInterface">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="getProductOffering">
<wsdl:operation name="getProductInfo">

<soap:operation soapAction="http://vf_provisioning_operations_service/ProductOperationsService/getProductInfo/"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>

<wsdl:fault name="getProductInfoFault1">
<soap:fault name="getProductInfoFault1" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="productOperationsInterface">
<wsdl:port binding="tns:ProductOperationsInterfaceBinding" name="ProductOperationsInterfacePort">
<soap:address location="http://vf_provisioning_operations_service/ProductOperationsService/productOperations/ProductOperationsInterfacePort"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

PS: I am new to WSDL, if done something very stupid, my appologies, and i am looking for some fix pretty fast. I know its not right way, but its work pressure.
Report
Re: cannot import WSDL file to SOAP Posted by smartymeet on 23 Oct 2009 at 7:08 AM
Someone plz help!
Report
Re: cannot import WSDL file to SOAP Posted by smartymeet on 24 Oct 2009 at 5:15 AM
Hey guys, its done..after all this R&D, perhaps i can help someone..
Report
Re: cannot import WSDL file to SOAP Posted by Etherman2000 on 8 Feb 2010 at 10:28 AM
Hi...

I have this exact same issue... I'd be very interested and grateful to find out how you resolved this...

Regards,

Pete



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.