Quantcast
Channel: Topliners: Message List
Viewing all articles
Browse latest Browse all 3431

How to make a SOAP request header

$
0
0

I'm using the SOAP APIs in C# by adding web service into Web References in VS2010. And when setting username and password, I added a soap header to the request.

I send a request with Security header made from UsernameToken with Username and Password. And when the password is expired, I can get the exact exception message (maybe that means the url, username and password are set correctly).

But when I change password and send correct information into it, I get a exception with message "The creator of this fault did not specify a Reason."

Is there anything missed in the header?

Or did I have any other mistakes?

Thank you very much.

 

消息编辑者为:Biao Huang


Viewing all articles
Browse latest Browse all 3431

Trending Articles