TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Amol Jadhav
NA
12
0
calling Web Services using Soap Request
Jul 2 2010 5:02 AM
Hi all,
i am using a web service in my C#, asp.net.
there is one method in webservice which accepts a soap request having company authentication in soapheader,
my soaprequest is :
<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'>
<SOAP-ENV:Header>
<SOAP-ENV:SOAPAction>Test</SOAP-ENV:SOAPAction>
<h:AuthenticationToken xmlns:h='EndPointUrl'>
<h:userName>username</h:userName>
<h:password>password</h:password>
</h:AuthenticationToken>"
</SOAP-ENV:Header>
<ws:SOAP-ENV:Body xmlns:ws='EndPointUrl'>
<ws:getFlightSearchResults>
<ws:param0>
<MMT_FlightSearchRQ>
<TripType>O</TripType>
<OriginLocation>DEL</OriginLocation>
<DestinationLocation>GOI</DestinationLocation>
<DepartureTime>2009-12-30T00:01:00</DepartureTime>
<ReturnDateTime>2009-11-21T00:01:00</ReturnDateTime>
<Class>E</Class>
<NoofAdults>1</NoofAdults>
<NoofChildren>0</NoofChildren>
<NoofInfant>0</NoofInfant>"
<NoofStops>0</NoofStops>
<ResidentOfIndia>true</ResidentOfIndia>
<DepartureDateRange>
<from />
<to />
</DepartureDateRange>
<ReturnDateRange>
<from />
<to />
</ReturnDateRange>
<LCCStatus />
<NightFlight>yes</NightFlight>
<AirlinePref>IT</AirlinePref>
</MMT_FlightSearchRQ>
</ws:param0>
</ws:getFlightSearchResults>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
but gives following Error,
"
Request must include company authentication token
"
if anyone find some mistakes then plz reply ,
thanks in Advance
Reply
Answers (
0
)
How to integrate FedEx web services into web application.
SMS API