Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Service Soap Header

Status
Not open for further replies.

Ladyhawk

Programmer
Jan 22, 2002
534
AU
I am trying to pass information in a soap header to a web service, but for some reason when I encrypt it, I get an error saying that there was an error generating the XML document. How can I look at the soap produced or why would the encrypting be a problem? It works fine if I don't encrypt it. BTW: I am using RSA encryption.

Ladyhawk. [idea]
** ASP/VB/Java Programmer **
 
I don't know for sure - this is just a stab in the dark, but perhaps you should try using the System.Convert.ToBase64String ( char[] ) function to return the encrypted string. You may be getting the error due to non-readable characters being passed back via soap.

...Just a guess, hope it help :)

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
Yep... that's exactly what the problem was.

Thanks.

Ladyhawk. [idea]
** ASP/VB/Java Programmer **
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top