If you import a source or target definition from a WSDL but do not create XML views, you can define the views and ports and the relationship among the views in the WSDL workspace. If you create XML views during the import process, you can edit the XML views, ports, and relationships in the WSDL workspace.
If you import a source or target definition from a WSDL but do not create XML views, you can use the WSDL workspace to create views, modify components, add columns, and maintain view relationships in the workspace. When you update a source or target definition, the Designer propagates the changes to any mapping that includes the source or target.
To view or edit a source or target definition in the WSDL workspace, right-click the title of the source definition in the Source Analyzer or the target definition in the Target Designer. Then select the last item in the menu labeled WSDL Workspace.
The WSDL workspace is equivalent to the XML Editor. You use the WSDL workspace the same way you use the XML workspace. However, the WSDL workspace performs validation on changes to the views specific to web service source and target definitions.
Use the following rules and guidelines when you add or edit XML views in web service source or target definitions:
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 a output message. It cannot define views for an output or fault message.
A target definition must define views for an input or fault message. It cannot define views for an output message.
You can define elements with the type anytype or any. 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 can define new ports as pass-through ports in the envelope view.
You cannot preview data for the XML views in a web service source or feature definition.