473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 1162
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
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.