Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BPM Process is not started

Hi All,

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

(See: http://help.sap.com/saphelp_nw04/helpdata/en/82/f4993c03e0cd37e10000000a11405a/content.htm)

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.

Thanks ahead,

Yoav.

replied

HI Yoav,

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,

Regards,

Moorthy

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question