ank9
asked on
Correct WSDL
Can someone please help me correct my WSDL.
When I generate the skeletons for this WSDLs using Eclipse, I get errors in the code.
When I generate the skeletons for this WSDLs using Eclipse, I get errors in the code.
<?xml version="1.0" encoding="utf-8"?>
<definitions name="ResumeService"
targetNamespace="http://www.examples.com/wsdl/ResumeService.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.examples.com/wsdl/ResumeService.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://quickstart.samples/xsd" >
<types>
<xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified" targetNamespace="http://quickstart.samples/xsd">
<xs:element name="employee">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="empName" type="ns:empNameType" />
<xs:element minOccurs="0" name="empDetails" type="ns:empDetailsType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="empNameType">
<xs:sequence>
<xs:element minOccurs="0" name="firstName" type="xs:string" />
<xs:element minOccurs="0" name="lastName" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="empDetailsType">
<xs:sequence>
<xs:element minOccurs="0" name="address" type="xs:string" />
<xs:element minOccurs="0" name="country" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<message name="updateResumeRequest">
<part name="employee" element="ns:employee" />
</message>
<message name="updateResumeResponse">
<part name="resumeId" element="xs:string" />
</message>
<portType name="resumePortType">
<operation name="updateResume">
<input message="tns:updateResumeRequest" />
<output message="tns:updateResumeResponse" />
</operation>
</portType>
<binding name="ResumeServiceBinding" type="tns:resumePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<operation name="updateResume">
<soap:operation soapAction="urn:updateResume" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<service name="ResumeService">
<port name="ResumeServiceHttpSoapEndpoint" binding="tns:ResumeServiceBinding">
<soap:address location="http://localhost:8080/axis2/services/ResumeService" />
</port>
</service>
</definitions>
ASKER
Thanks for the quick response.
I want only 2 operations
1. getResumeId - given the user first name and last name as input, need to return the resume id
2. getResumeDetails: given the resume id, need to return the resume details (like first name, last name, address etc.)
SOAP 1.1 will do. Actually there is no restriction regarding the SOAP version. Any version which enables me to write services using Axis2 is fine with me.
Thank you
I want only 2 operations
1. getResumeId - given the user first name and last name as input, need to return the resume id
2. getResumeDetails: given the resume id, need to return the resume details (like first name, last name, address etc.)
SOAP 1.1 will do. Actually there is no restriction regarding the SOAP version. Any version which enables me to write services using Axis2 is fine with me.
Thank you
what all details you wanna return in getResumeDetails any way you can change at the wsdl at later point also. If you can tell me right now itslef.
ASKER
Thank you.
First name, last name and address
First name, last name and address
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot for your help.
Just tell me the following,
what are the operations you are expecting?
what parameters and what version of SOAP you want to use soap 1.1 will do?