Use the following rules and guidelines when you add or edit XML views to web service source or target definitions in the WSDL workspace:
The source and target definitions for a web service mapping must contain an envelope view equivalent to the SOAP:envelope for the web service request, response, and fault messages.
A source definition must define views for an input message. It cannot define views for an output or fault message.
The name for the root group and the primary key of the root group for a source or target definition must use the following naming convention, where <
NameString
> can be any alphanumeric string:
The root group must be named Message or X_<
NameString
>_Envelope.
The primary key for the root group must be named PK_Message or PK_<
NameString
>_Envelope.
The <
NameString
> for the root group and its primary key must be the same.
A target definition must define views for an output or fault message. It cannot define views for an input message.
You can define elements with the type anyType or any. You can create a string port for an element of type anyType or map it to an element of type complexType.
The envelope view in a target definition must contain a view root and a view row as the envelope node.
You cannot change the type definition of the soap:Body and soap:Header elements in the source or target definition.
You can set the default namespace and change the prefix for the namespaces defined in the views of the source or target definition. You cannot change the namespaces. You cannot use any of the following strings as a namespace prefix: