About this task
A number of editors are available in the
Test Client for creating a test message.
The most appropriate editor to use depends upon the type of test message
you want to send to your message flow.
- If the input node that you want to send the message to for the
test expects an XML message, and the message flow is associated with
a message definition, the Edit as XML structure editor
is available.
- If you want to send an XML message, but do not have a message
definition defined, or you want to create a test message that is not
in XML format, you can use the Edit as text editor.
- If you want to use an existing test message from a workspace resource
or file system file, you can use the Import from external
file editor.
- Alternatively you can import an existing test message into the Edit
as text editor, or take the generated source from the Edit
as XML structure editor and paste it into the Edit
as text editor.
The Test Client provides
limited support for the generation of XSD and WSDL test messages.
If the Test Client cannot generate
the test message automatically, you can create the test message by
using either the Edit as text or Import from external file method described
in this topic.
Select from the following options
to create and edit a test message:
What to do next
Ensure that
you have selected the correct input node to send the test message
to in your message flow. Click Send Message to
send your test message to the selected input node. If this is the
first time you have sent a message using this Test Client file, the Deployment
Location wizard opens. See Selecting the deployment location for the message flow.