Click here to Skip to main content
15,879,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Abbas_here - 2 mins ago
frds, The problem is that client saying me to create a web service method which able to consume their SOAP file and return back authenticate result in response SOAP massage,

Request SOAP:

<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<sone:Authenticate xmlns:sone="http://www.institution.com/webservices/schemas"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<sone:partnerLogin xsi:type="xsd:string">myUsername</sone:partnerLogin>
<sone:password xsi:type =" xsd:string">welcome</sone:password>
</sone:Authenticate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Response SOAP will be below:
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<sone:AuthenticateResponse xmlns:sone="http://www.xxxxx.com/webservices/schemas" SOAP-ENV:encodingStyle="http://schemas.
xmlsoap.org/soap/encoding/">
<sone:AuthenticationResult xmlns:soneLicense="java:com.stmtone. webservices.types.license" xsi:type="soneLicense:WSPartner
LogInResult">
<sone:suc xsi:type="xsd:boolean">true</sone:success>
<sone:Id xsi:type="xsd:long">4</sone:partnerId>
<sone:pwd xsi:type="xsd:string">google</sone:password>
<sone:licKey xsi:type="xsd:string">12345</sone:licenseKey>
</sone:AuthenticationResult >
</sone:AuthenticateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Is it something like-> Authenticate (loginId, password)? or something else..
please suggest..
Posted
Comments
Herman<T>.Instance 16-Feb-12 6:15am    
have you watched the wsdl or disco of the webservice?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900