Interview Questions

SOAP Toolkit FAQ - How do I get the Soap Toolkit to interoperate with Apache?

SOAP Interview Questions and Answers


(Continued from previous question...)

SOAP Toolkit FAQ - How do I get the Soap Toolkit to interoperate with Apache?

Before version 2.1, Apache required xsi:type attributes for all Soap parameters. Also, the Soap Toolkit does not normally send the xsi:type in Soap messages. Apache version 2.1 no longer requires xsi:type attributes if the types are defined in the deployment descriptors. However, Apache services don't yet use WSDL, so a WSDL file will have to be created for a Soap Toolkit client to talk to an Apache server. The RTM Soap Toolkit has been successfully tested with Apache 2.2.

Another trick that works sometimes is editing the WSDL file after it has been generated to change the types that Apache is having trouble with to "xsd:anyType". This will make the toolkit think the parameter is a variant, so it will include the type information that Apache is looking for

(Continued on next question...)

Other Interview Questions