470,848 Members | 1,763 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

webservice encrypting problem?

Hi all
I have a webservice that I send to it some data.
it works well.
but I try to encrypt data before sending with cryptography in .Net then
I get following error
"The request failed with HTTP status 400: Bad Request."

Soap protocol can't transfer enrypted data??

???
Jun 14 '06 #1
3 1107
Have you tried tracing your soap messages?
http://msdn2.microsoft.com/en-us/library/sd5sk0f5.aspx

I suspect that you may have some invalid xml characters in your message
after the encryption process.

"perspolis" wrote:
Hi all
I have a webservice that I send to it some data.
it works well.
but I try to encrypt data before sending with cryptography in .Net then
I get following error
"The request failed with HTTP status 400: Bad Request."

Soap protocol can't transfer enrypted data??

???

Jun 14 '06 #2
You know when you use Encryption it produce some invalid charachter..
then How can I use Encryption?
"Lapu-Lapu" <La******@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com...
Have you tried tracing your soap messages?
http://msdn2.microsoft.com/en-us/library/sd5sk0f5.aspx

I suspect that you may have some invalid xml characters in your message
after the encryption process.

"perspolis" wrote:
Hi all
I have a webservice that I send to it some data.
it works well.
but I try to encrypt data before sending with cryptography in .Net
then
I get following error
"The request failed with HTTP status 400: Bad Request."

Soap protocol can't transfer enrypted data??

???

Jun 15 '06 #3
After encryption you must use base64 Encoding to get rid of the unwanted
characters. And visa versa on the client.

Kay

"perspolis" <re*****@hotmail.com> skrev i melding
news:%2****************@TK2MSFTNGP05.phx.gbl...
You know when you use Encryption it produce some invalid charachter..
then How can I use Encryption?
"Lapu-Lapu" <La******@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com...
Have you tried tracing your soap messages?
http://msdn2.microsoft.com/en-us/library/sd5sk0f5.aspx

I suspect that you may have some invalid xml characters in your message
after the encryption process.

"perspolis" wrote:
Hi all
I have a webservice that I send to it some data.
it works well.
but I try to encrypt data before sending with cryptography in .Net
then
I get following error
"The request failed with HTTP status 400: Bad Request."

Soap protocol can't transfer enrypted data??

???


Jun 21 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Wencheng Magiya | last post: by
5 posts views Thread by AliR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.