Friday, October 03, 2008

"Internal SOAP Processing failure"

Do not run "Web publish wizard" before deploying the BizTalk-assembly it depends on.

Why? Because your assembly have not got a PublicToken yet and the wizard will create a web service wich invoke BizTalk with incorrect parameter.

This:
string bodyTypeAssemblyQualifiedName = "x.y.z, x.y, Version=1.0.0.0, Cult" +
"ure=neutral, PublicKeyToken=null";

Instead of:
string bodyTypeAssemblyQualifiedName = "x.y.z, x.y, Version=1.0.0.0, Cult" +"ure=neutral, PublicKeyToken=bc6f029b1f97f4c8";

There can be a lot of reasons you get the error, "Internal SOAP Processing failure", but in my case it was the reason above.

Since the defult receive pipeline is PassThrough you might miss import error descriptions. In my case switching to XmlReceive made me discover that the pipeline could not find the schema assembly. Then I realized the PublicToken was "null".

No comments: