The possibility to send test messages to the Integration Engine is widely known. If you try this on the Adapter Engine you will get an error:
So how can we send test messages also to the Adapter Engine to be processed by "any arbitrary Integrated Configuration"? There are a lot of threads on SCN claiming that this is not possible for the AE. Well, it is.
Here is how you do it:
First you have to do a little preparation (you need to do that just once):
You need a SOAP sender channel that is configured to use the XI protocol. I recommend you create yourself a particular channel that is intended just for sending test messages. It doesn't matter which component the channel belongs to.
You also need an Integrated Configuration or Sender Agreement that references the channel. You can choose any (dummy) Interface and Namespace. (If you use an Integrated Configuration then you must, of course, also set Receiver, Receiver Interface and Receiver Channel. You can also use dummies here.)
Et voillá, we are ready to send our test messages:
- go to: Runtime Workbench -> Component Monitoring -> Adapter Engine -> Test Message
(if you are working on 7.30/7.31 single stack then you can reach Runtime Workbench at
http://<host>:<port>/rwb/index.jsp)
- use the url
http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
- for <party>, <service> and <channel> put the values of your SOAP "dummy channel"
(not the sender channel of the ICO you actually want to test)
- make sure you set both colons in <party>:<service>:<channel>, it is mandatory even if you don't have a party
- set the payload and header values for the interface you want to test, put username and password
- press "Send Message" :-)
So far,
Karsten Möhwald