Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Web Services
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Web Services
Is my WSDL correct ?
Alex Parvan
Ranch Hand
Posts: 115
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi... i have two methods: getClientList() and getClientListForOffice(), but funny, i can only use the first one.
Here is my WSDL:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <definitions xmlns:ns1="pack" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://schemas.xmlsoap.org/soap/encoding/" name="ClientManager" targetNamespace="pack"> <types> <xsd:schema> <xsd:import namespace="pack" schemaLocation="xsdClientsList.xsd"/> </xsd:schema> </types> <message name="ClientList"> <part name="ClientList" element="ns1:ClientList"/> </message> <message name="ClientListResponse"> <part name="ClientListResponse" element="ns1:ClientListResponse"/> </message> <message name="ClientListForOffice"> <part name="ClientListForOffice" element="ns1:ClientListForOffice"/> </message> <message name="ClientListForOfficeResponse"> <part name="ClientListForOfficeResponse" element="ns1:ClientListForOfficeResponse"/> </message> <portType name="ClientManager"> <operation name="GetClientList"> <input message="ns1:ClientList"/> <output message="ns1:ClientListResponse"/> </operation> <operation name="GetClientListForOffice"> <input message="ns1:ClientListForOffice"/> <output message="ns1:ClientListForOfficeResponse"/> </operation> </portType> <binding name="ClientManagerPortBinding" type="ns1:ClientManager"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="GetClientList"> <soap:operation soapAction="urn:http://localhost:8080/ClientManager/ClientManagerService/GetClientList"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> <operation name="GetClientListForOffice"> <soap:operation soapAction="urn:http://localhost:8080/ClientManager/ClientManagerService/GetClientListForOffice"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="ClientManagerService"> <port name="WebServices" binding="ns1:ClientManagerPortBinding"> <soap:address location="http://localhost:8080/ClientManager/ClientManagerService"/> </port> </service> </definitions>
And the XSD:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xs:schema xmlns:ns1="http://localhost:8080/ClientManager/xsdClientsList.xsd" xmlns:tns="pack" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="pack" version="1.0"> <xs:element name="ClientList"/> <xs:element name="ClientListResponse"> <xs:complexType> <xs:sequence> <xs:element name="FactFindID" type="xs:integer"/> <xs:element name="Firstname" type="xs:string"/> <xs:element name="Lastname" type="xs:string"/> <xs:element name="DOB" type="xs:dateTime"/> <xs:element name="CurrentPostcode" type="xs:string"/> <xs:element name="OfficeRef" type="xs:string"/> <xs:element name="errormessage" type="xs:string" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ClientListForOffice"> <xs:complexType> <xs:sequence> <xs:element name="OfficeRef" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ClientListForOfficeResponse"> <xs:complexType> <xs:sequence> <xs:element name="FactFindID" type="xs:integer"/> <xs:element name="Firstname" type="xs:string"/> <xs:element name="Lastname" type="xs:string"/> <xs:element name="DOB" type="xs:dateTime"/> <xs:element name="CurrentPostcode" type="xs:string"/> <xs:element name="OfficeRef" type="xs:string"/> <xs:element name="errormessage" type="xs:string" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
What's wrong ?
"Quoting yourself is stupid" - Me
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
document/literal axis webservice
How to access byte array web method
java.lang.InstantiationException - When try to call a web service
web service composition with owl-s and protege
There is no service in specified wsdl file - Error
More...