Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Missing Namespace with the SOAP msg sent by C#

Hi All,

The wsdl file is generated by SAP XI. I used the XMLSpy to test it and get successful response.

Then I used wsdl.exe of .net 2.0 sdk to generate the C# proxy class, and use csc.exe to compile it to a dll, and then refer it in the project. After sent the soap message by C#, the XI shows the message is wrong, then I compare this soap envelop body with the one I sent by the XMLSpy as follow:


<MT_PP_014_PrdOrderGoodsRcv xmlns="">





<m:MT_PP_014_PrdOrderGoodsRcv xmlns:m="">




so it is the namespace, according the xml generated by C#, the MT_PP_014_PrdOrderGoodsRcv element isn't inlucded in the namespace, which cause the error.

Anyone know how to fix it?

Thanks and B'Rgds,

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question