.NET Framework Bookmark and Share   
 index > ASMX Web Services and XML Serialization > URGENT: SAP throws the "Deserialization failed" error in .NET
 

URGENT: SAP throws the "Deserialization failed" error in .NET

Hi All,
I am using ABAP generated WebService in .NET 1.1.
Steps i took:
1. Generate Web Service of a BAPI in ABAP and Test it there.
2. Take its URL and Added Web Reference in my PortalApplication in .NET 1.1
3. Deployed it successfully, but when i try to run the project i.e "Portal Application" it gives "Deserielization failed" Error.

its urgent Please Help!
Help will be highly appreciated.
Thanks in Advance
Roxy1980
Pal A

Hello,

I should be able to help you out with this, but I will need the following:

1. The WSDL document for the web services

2. The SOAP message sent to the the web service that resulted in the deserialization error.

You should be able to get the SOAP message by doing a simple network trace using a network tracing tool like Ethereal (http://www.ethereal.com).

Thanks.

Daniel Roth

Daniel Roth
Did you ever get this solved? I'm having the same issue.
Dave Warren
Pal A
If you solved "Deserialisation failed" error, would you mind sharing how you solved ? Thanks a lot.
MSAPXPert
MSAPXPert
Has anyone solved this issue? please, i'm in need for this, and very late too. if anyone found the reason for a "Deserialisation failed" please letme know.
Thanks
Blacklord81

I don't think there's a single root cause for this issue. In general terms, .NET will throw this error when the incoming XML document doesn't line up with the associated CLR type. Beyond that, it's hard to say what happened -- did someone change the SAP metadata out from underneath you in a way that invalidates your application? Does re-importing the SAP WSDL fix the issue?
-steve


Brain.Save() -- http://hyperthink.net/blog
Steve Maine

You can use google to search for other answers

Custom Search

More Threads

• Visual Web Developer
• mappoint webservice
• Urgent: how to Digitally sign data returned by Web Service in ASP.net?????
• Server Error in '/Shobha@Web' Application.
• error while attempting to insert new record in dataset through web service
• Web application 1.1 and web service 2.0
• .Net and Account Domain Migration
• New to ASP.Net
• suggest book on webservice which is hosted on windows form
• How to retrieve the URL of all the web services on local machine