cancel
Showing results for 
Search instead for 
Did you mean: 

How to start BPM process WSDL from WDA

Former Member
0 Kudos

Hello,

I need to start BPM Process from SRM ECC with WDA; i have been through this link ;

http://forums.sdn.sap.com/thread.jspa?threadID=1643425

also followed the pdf named 'Triggering NetWeaver BPM Process from ABAP' provided from SAP but still stuck on some issues;

- I have a WSDL in order to start BPM process and works fine as i successfully call it from EP Java AS with WDJ..

- What i need to do is to trigg it from SRM Screens so i need to call this WSD from ECC, so;

When i try to create a consumer proxy using external wsdl option, after putting in WSDL Url it throws an error;

Exception occurred in communication framework:Error in HTTP Framework:405 Method Not Allowed http://xxx.local:50000/bpm/de
mosapcom/dccategoryappbpm/StartCatAppSI
Exception of class CX_SLIB_HTTP_FAIL

And this is error from BPM Logs for the same action;

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. 
at com.sap.engine.services.webservices.espbase.server.additions.SOAPHTTPTransportBinding.getAction(SOAPHTTPTransportBinding.java:581) 
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.overwriteConfiguration(RuntimeProcessingEnvironment.java:894) 
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:469)

Also i found this link : http://wiki.sdn.sap.com/wiki/display/TechTSG/(WSR)Problems-P06/

But no help so far,

So, is there anyone faced similar or the same issue? Any suggestion will be appreciated.

Regards,

Yasin

Accepted Solutions (0)

Answers (1)

Answers (1)

SB9
Active Participant
0 Kudos

What is the WSDL URL that you are using ? Can you paste it here so that I can have a look !

Former Member
0 Kudos

Hi soujanya,

BPM server is not open to the internet but only intranet, so i will copy the WSDL code for you,

will be glad if you can help;

- <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.koczer.com/StartCatAppSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="StartCatAppSI" targetNamespace="http://www.koczer.com/StartCatAppSI/">
- <wsdl:types>
- <xsd:schema targetNamespace="http://www.koczer.com/StartCatAppSI/">
- <xsd:complexType name="DetailsType">
- <xsd:sequence>
  <xsd:element name="Category_ID" type="xsd:int" /> 
  <xsd:element name="Category_Text" type="xsd:string" /> 
  <xsd:element name="User" type="xsd:string" /> 
  <xsd:element name="Manager" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
- <xsd:element name="NewOperation">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element name="Details" type="tns:DetailsType" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:schema>
  </wsdl:types>
- <wsdl:message name="NewOperationRequest">
  <wsdl:part element="tns:NewOperation" name="parameters" /> 
  </wsdl:message>
- <wsdl:portType name="StartCatAppSI">
- <wsdl:operation name="NewOperation">
  <wsdl:input message="tns:NewOperationRequest" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="StartCatAppSISOAP" type="tns:StartCatAppSI">
  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
- <wsdl:operation name="NewOperation">
  <soap:operation soapAction="http://www.koczer.com/StartCatAppSI/NewOperation" /> 
- <wsdl:input>
  <soap:body use="literal" /> 
  </wsdl:input>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="StartCatAppSI">
- <wsdl:port binding="tns:StartCatAppSISOAP" name="StartCatAppSISOAP">
  <soap:address location="http://zerbpmts.koczer.local:50000/bpm/demosapcom/dccategoryappbpm/StartCatAppSI" /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

Former Member
0 Kudos

Hi Yasinbeder,

Please try to follow the step mentioned in the below step-by-step tutorial :

[Link-1|http://www.netweavercentral.com/index.php/2011/consume-a-web-service-in-abap/]

or

[Link-2|http://www.sapdev.co.uk/sap-webapps/sap-webservices/ws_abapproxy.htm]

regards,

Nishant Singh

Former Member
0 Kudos

Thanks Nishant,