472,962 Members | 2,396 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,962 software developers and data experts.

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 1152
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Wencheng Magiya | last post by:
Hi all, My WebService connects to a database server, client application connects to the WebService. There is a backup method in WebService backups database and sends compressed data back to the...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
5
by: AliR | last post by:
Hi Everyone, I have a Visual C++ MFC program, and I am trying to use a webservice written in C#. When I add the webservice to my project using Add Web Reference the sproxy compiler complains...
1
by: WebServiceSecurity | last post by:
The issue involves the following technologies: - 1. .NET 2.0 Framework 2. WSE2.0 (WS-Security) 3. X.509 certificates 4. BEA Weblogic 8.1.5
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.