WebSphere Message Brokers
File: ad64230_
Writer: Kate Hostler Task topic This build: July 31, 2007 21:27:06
Creating an application using the Configure New Web Service Usage wizard
Use this topic to generate a message flow using the Configure New
Web Service usage wizard.
This task topic describes how to create
a new application using the Configure New Web Service Usage wizard.
Open a message set project containing a WSDL file.
Select a WSDL file from either the message set or the ImportFiles folder
and drag and drop the WSDL file onto the Message Flow Editor canvas. WSDL validation occurs and if any of the following errors occurs, a
message appears in a message box:
WSDL file does not come either from a message set or ImportFiles folder
of the message set project.
For a multiple-file WSDL the process also checks
that either, imports inside the main WSDL have been properly imported into
the message set, or imports are available in the ImportFiles folder.
The message set that contains the WSDL file does not support any one of
the SOAP, XMLNSC, XMLNS, or MRM domains.
However, if the message set that
contains the WSDL file does not support only the SOAP domain, you are given
an option to generate a flow based on the HTTP nodes, and the process continues.
In Web service usage, select Expose
message flow as a web service or Invoke web service from
message flow.
Select the Port type you are going to use. You must specify port type and, by default, the initially selected port
type is the first one that has at least one http binding associated with it.
You
receive an error message in the following circumstances:
Selected port type does not contain at least one operation.
No SOAP bindings (with HTTP transport) in the WSDL document are associated
with the port type.
Select the Binding you are going to use. You receive an error message in the following circumstances:
Selected binding has no operations associated with it.
Selected binding has no ports associated with it.
The Service Port box lists all the WSDL ports
that point to a selected binding.
Select the Binding operations that you require. By default, only those operations implemented by the binding you choose
are selected.
If you select one of the operations that is not implemented
by the selected binding, you receive a warning message, but you can continue.
Select HTTP nodes if you have imported the
WSDL file from a message set and do not want the default value of SOAP
nodes. If you select HTTP nodes you
see a message explaining the advantages of using the SOAP nodes. However,
if the message set does not support the SOAP domain you receive an error message.
Note,
that if you import the WSDL file from the ImportFiles folder,
you cannot select SOAP nodes.
All the file names
that are about to be generated, together with their location are listed on
this page.
A Details pane appears if there are any
warnings about the subflow that is generated.
Click Finish to exit the wizard and create
the message flow. See Web service provider message flow generated for details
about the message flow generated by the wizard if you selected Expose
message flow as a web service as the initial step.
See Web service consumer message flow generated for details about the message flow generated
by the wizard if you selected Invoke web service from message flow as
the initial step.