cancel
Showing results for 
Search instead for 
Did you mean: 

Start BPM from web dynpro error

Former Member
0 Kudos

Dear All ,

I 'm start bpm from web dynpro to use web service, like this [it|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/15395] [original link is broken] [original link is broken] [original link is broken]; , but I'm met this error:

Web service returned error. Fault Code: "( http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "Process start has been triggered." 

I can say the task in UWL, but I can't understand why throw this error.

Best Regards.

Jiandong

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Since you call the Web Service to trigger the process asynchronously, this is the fault code returned by the trigger. There is no harm in it and this is the way it works.

Hope this helps!!

Cheers,

Arafat

Former Member
0 Kudos

Dear Arafat,

Is it possible that not appear this fault code ?

Best Regards

Jiandong

Former Member
0 Kudos

Hi,

Dont print it in the catch block :)... you may try removing the Response attribute from your SI.

Regards,

Arafat

Former Member
0 Kudos

Dear Arafat,

I' m new to BPM, how can I removing the Response attribute from my SI ?

Thank you very match.

Jiandong

Former Member
0 Kudos

Hi,

You need to remove the Response element from your ws.

Be sure not only to remove the output operation via the "Design"-View with NWDS embedded WSDL Editor.

Also have a look at the source of your WSDL and remove:

  1. All <xsd:element>-tags/blocks within <wsdl:types> that have been assigned to your output/response operation

  2. The <wsdl:message> that stay in context to your response

  3. All <wsdl:output>-tags within <wsdl:portType> -> <wsdl:operation>

  4. The <wsdl:output>-block within <wsdl:binding> - > <wsdl:operation>

See a minimal example WSDL attached that just has an input-operation with one field named "NewValue" of type string:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/NewWSDLFile/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NewWSDLFile" targetNamespace="http://www.example.org/NewWSDLFile/">

<wsdl:types>

<xsd:schema targetNamespace="http://www.example.org/NewWSDLFile/">

<xsd:element name="NewOperation">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="NewValue" type="xsd:string"/>

</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="NewWSDLFile">

<wsdl:operation name="NewOperation">

<wsdl:input message="tns:NewOperationRequest"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="NewWSDLFileSOAP" type="tns:NewWSDLFile">

<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="NewOperation">

<soap:operation soapAction="http://www.example.org/NewWSDLFile/NewOperation"/>

<wsdl:input>

<soap:body use="literal"/>

</wsdl:input>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="NewWSDLFile">

<wsdl:port binding="tns:NewWSDLFileSOAP" name="NewWSDLFileSOAP">

<soap:address location="http://www.example.org/"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Hope this helps!!

Cheers,

Arafat

Former Member
0 Kudos

Dear Arafat,

Thank you for your help, I resolved it.

Best Regards.

Jiandong

Answers (1)

Answers (1)

Former Member
0 Kudos

My system is CE Ehp1 SP3