SOAP Code Example: Clearing or setting the method namespace prefix

The SOAP component will allow you to change the method's namespace prefix if necessary.

Date Entered: 07/17/2008    Last Updated: 07/17/2008

Some web services require that the method's namespace prefix be something besides the default value used by the component ("m"). To configure the component to use no namespace prefix for the method you can do:

C#
soap1.Config("MethodNamespacePrefix=");
And to set this to a different value you would just do:

C#
soap1.Config("MethodNamespacePrefix=new_value");

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.