Skip to main content

Namespaces for the Types

Namespaces for the Types

The SOAP Wizard automatically assigns the message types to namespaces as follows:

Namespaces for Types Used By Web Clients and Web Services
Item Value Given by SOAP Wizard
TYPENAMESPACE (class parameter) The SOAP Wizard sets this parameter if all methods refer to types in the same namespace.
RESPONSETYPENAMESPACE (class parameter) The SOAP Wizard sets this parameter if the WSDL uses document-style binding and the response messages use types in a different namespace than the request messages. This parameter applies to all methods in the class. Note that all response types are assumed to be in the same namespace as each other.
SoapTypeNameSpace (method keyword) Value of the targetNamespace attribute of the <s:schema> element. The SOAP Wizard sets this keyword per method if methods use types from different namespaces.

This keyword does not override the RESPONSETYPENAMESPACE parameter.

FeedbackOpens in a new tab