GSOAP versus microsoft implemention header value trouble recieving from gsoap

Q

Q

Created from same WSDL yet when gsoap implementation calls my
webservice I can not get the header value!



GSOAP



<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://tempuri.org/"><SOAP-ENV:Header><AuthenticationHeader
xsi:type="s0:AuthenticationHeader"><Key
xsi:type="xsd:string">2FHGT4E3GH9</Key></AuthenticationHeader></SOAP-ENV:Header><SOAP-ENV:Body
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
id="_0"><s0:CreateAnonymousUser></s0:CreateAnonymousUser></SOAP-ENV:Body></SOAP-ENV:Envelope>





C#.NET



<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Header><AuthenticationHeader
xmlns="http://tempuri.org/"><Key>2FHGT4E3GH9</Key></AuthenticationHeader></soap:Header>

<soap:Body><CreateAnonymousUser
xmlns="http://tempuri.org/" /></soap:Body>

</soap:Envelope>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top