@jws:target-namespace Tag

Specifies the XML namespace used for outgoing XML messages and generated WSDL files.

Syntax

@jws:target-namespace
	namespace="defaultXMLNamespace"

Attributes

namespace

Required. Specifies the default namespace used for outgoing XML messages and generated WSDL files.

Remarks

The following rules apply to this tag's use:

If no target namespace is specified (this tag is not present), the namespace used is http://www.openuri.org/.

Note: Before deploying web services, you should define a unique default namespace for your organization. If multiple organizations were to leave the default namespace as http://www.openuri.org/, it could result in namespace conflicts.

The @jws:target-namespace tag affects the behavior of the following XML generation actions:

Note that if @jws:target-namespace is not defined, the default value of http://www.openuri.org/ is used.

For more information on XML maps, see Why Use XML Maps?

For more information on WSDL files, see WSDL Files.

Related Topics

Introduction to XML