BPM Process is not started
I defined an Integration Process which is triggered by an Asynchronous message
(Receive step with "start process" checked).
The trigerring message is sent through the HTTP Adapter
and routed in the XI to the Integration Process I defined.
The java code I use to send this message is attached:
URL url = new URL("http://sapxi:8000/sap/xi/adapter_plain?" + "namespace=<my_namespace>&" + "interface=<my async interface>&" + "service=<the portal business system>&" + "qos=EO"); URLConnection urlConn = url.openConnection(); urlConn.setDoInput (false); urlConn.setDoOutput (true); urlConn.setUseCaches (false); urlConn.setRequestProperty("Content-Type", "text/xml"); DataOutputStream printout = new DataOutputStream(urlConn.getOutputStream()); String content = getXMLInput(); printout.writeBytes(content); printout.flush(); printout.close();
Alas, According to SXMB_MONI_BPE, the integration process doesn't start.
Also, There is no record of the sent HTTP message in SXMB_MONI.
I used the same code with slight changes with a synchronous HTTP message
and a S/A-Bridge Process.
The changes were:
1. no "qos=EO", which is for asynchrounous message.
2. urlConn.setDoInput (true);
3. urlConn.getInputStream() to get the http response.
This way worked: S/A-Bridge Process was started, and I saw the message in SXMB_MONI.
I couldn't find why it doesn't work in the first scenario.
Any help will be appreciated.
Can you try with following client html code -
/message/266750#266750 [original link is broken]
Save this code with .html extension give the necessary parameters ..
Hope this helps,