I have to start a BPM process from ABAP report. I found an article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d75b45-7fef-2b10-bc8e-c6012e0a9457?QuickLink=index&overridelayout=true and have done everything it describes but the process doesn't start.
What I've done:
1) Created a service proxy in SE80.
2) Created a logical port in SOAMANAGER.
3) Write a code to start a WebService in ABAP Report.
But when I start a program nothing happens, no errors.
What analysis I did:
1) See logs and traces in SOAMANAGER - there is nothing appears after I start the report.
2) Tried to test connection to my WebService in SM59 - the connection works, but it use a POST method instead of GET:
Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
But I think it is OK and from the report it use a right method.
3) Tried to delete a logical port - the error of communication problem appears. So it means that all settings are right.
4) No logs in NWA logs
My thoughts - if there is not any errors and no result, it can be because the user authorization. E.g. it tried to start a process by a user who doesn't have SAP_BPM_SuperAdmin role. But I can't find a way how to check what really happens. So I want to ask for a help, colleagues:).
I assume the Process you are trying to consume runs on CE 7.1 Ehp1.
Did you try to test the Consumer Proxy directly without aditional Program ? This might reveal what's the issue.
If everything is OK the HTTP response from CE should be empty with status HTTP status 202 ( Accept ).
thank you for answer!
No, I'm starting a process at CE 7.2.
There weren't some configurations of BGRFC in our system (SAP's support guys helped). I've done that settings, but there is the other problem. My asynchronous webservice's queue is always in state "Executing", but in SOAMANAGER all calls are successfull. No need to tell, that process in CE portal doesn't appear. Now I'm fighting with that queue state...
I'm doing something similar. I have a BPM Process, with a web service interface to start it. The only difference I have a Webdynpro Java application to call the web service to trigger the process instead of ABAP. But same thing happens for me, I confirm the webservice is called successfully, but the process is not started. It only works if the user using the WDJava has BPM_Super_Admin role. But this is not acceptible because we can't give this to all users. I've tried BPEM_End_User role, but it doesn't trigger the process either.
Dear Kirill Zhuklinets,
Can you share your solution as i am facing the same error while trying to consume BPM webservice from SRM ECC
Error Message from SRM ECC :
Exception occurred in communication framework:Error in HTTP Framework:405Method Not Allowed
Log from BPM Web service
Error: process() [EXCEPTION] com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET. .... ....
Please share your solution..