cancel
Showing results for 
Search instead for 
Did you mean: 

How to use ABAP Webservice to Trigger the start of BPMN

Former Member
0 Kudos

Hello,

My scenario is that i define a webservice in the SAP ECC system and import it in the process composer as the service interface. As to the start event, i set the above service interface and operation as the trigger service.

After then, i call this webservice in the user exit of a T-Code. However, the BPMN is not started by this webservice call.

Anyone can explain on this and tell me how to use the ABAP webservice as the starting event service interface?

Thanks in advance

Erick

Accepted Solutions (1)

Accepted Solutions (1)

martin_moeller
Contributor
0 Kudos

Hi Erick,

Just to be on the same page: You tried to call the web service (which runs on the Jave / BPM system) from your specific piece of ABAP code, right?

Did you already test via ws navigator (http://your_host:port/wsnavigator) if the invocation of the service works successfully?

Best regards,

Martin

Former Member
0 Kudos

Hello Martin,

Thanks for your reply.

Actually the webservice is defined in SAP ECC side and i want to use it in the BPM as the start event service interface.

So far, can't figure out a way to do this.

/Regards,

Erick

martin_moeller
Contributor
0 Kudos

Hi Erick,

When you develop a process model and use some arbitrary service interface in the message start event then this will be exposed on the Java / BPM system you deploed the process definition on.

That allows you to start the process via this web service once you know its endpoint.

So in case you want to start your process from the ABAP side you would need to call this endpoint on the Java side out of your ABAP system.

Simply calling the web service / code on your ABAP system and hoping that this will also invoke the Java stack won't work I AFAIK.

Best regards,

Martin

martin_moeller
Contributor
0 Kudos

< double post >

Former Member
0 Kudos

Hi Martin,

Thanks so much for your response. I will test it on system and will update it again once it is done.

/Regards,

Erick

martin_moeller
Contributor
0 Kudos

You're welcome. Let us (the forum) know about your progress

Former Member
0 Kudos

Hello,

I have pass through this scenario by reference the endpoint which was published on the service registery on BPM side.

/BR,

Erick

Answers (0)