Products | Versions |
---|---|
TIBCO BusinessConnect SOAP Protocol | - |
Not Applicable | - |
Resolution:
Symptoms:
=========
Here is the error thrown when trying to import:
[...]
Unable to import binding 'Service1Soap_Service1Soap' from namespace 'http://tempuri.org/'. Unable to import operation 'HelloWorld'. Part 'head' from message 'Service1Soap_Service1Soap_HelloWorld_requestHeader' in namespace 'http://tempuri.org/' is missing the element attribute. The element attribute is required for headers when Use=Literal.
[...]
Root cause:
===========
Microsoft Visual Studio requires a schema for the Header definition.
Resolutions:
=========
- Using the BC configuration GUI, make sure you have defined the Header Root Element Name and uploaded the proper schema;
- Generate the WSDL file
- Import the WSDL into M. Visual Studio