Hi Denis.

I use a fresh instance of BPS and it works. The problem consists in that the asynchronous process can be testing before the deployment of the process that calls it. For example, in the LoanService, if the LoanProcess isn´t deploy, there is no LoanServiceCallback, and give the error "The action cannot be process at the receiver". Previously, I undeploy the LoanProcess, for that reason it show the error.



El 07/03/2012 11:42:AM, Denis Weerasiri escribió:


On Mon, Mar 5, 2012 at 9:29 PM, Leslier López Nicot <[email protected] <mailto:[email protected]>> wrote:

    Hi all.

    I design an asynchrony process but when I create the instance it
    give me the error

    [2012-03-05 10:26:54,188] ERROR - AxisEngine - *The [action]
    cannot be processed at the receiver.*


    I check with the SOAP Message Tracer and the error look like this

        <soapenv:Envelope
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
        <http://schemas.xmlsoap.org/soap/envelope/>>

        <soapenv:Header
        xmlns:wsa="http://www.w3.org/2005/08/addressing";
        <http://www.w3.org/2005/08/addressing>>

        <wsa:To>http://www.w3.org/2005/08/addressing/none</wsa:To>

        <wsa:ReplyTo>

        <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>

        </wsa:ReplyTo>

        
<wsa:MessageID>urn:uuid:6c19a348-6242-4e5e-95ec-55f2814ff269</wsa:MessageID>

        <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>

        
<wsa:RelatesTo>urn:uuid:3ea8b265-cbf4-4916-8941-f1b7400df230</wsa:RelatesTo>

        *<wsa:FaultDetail>*

        *<wsa:ProblemAction>*

        *<wsa:Action>http://asincrono.cdae.uci.cu/onResult</wsa:Action>*

        *</wsa:ProblemAction>*

        *</wsa:FaultDetail>*

        </soapenv:Header>

        <soapenv:Body>

        <soapenv:Fault
        xmlns:wsa="http://www.w3.org/2005/08/addressing";
        <http://www.w3.org/2005/08/addressing>>

        *<faultcode>wsa:ActionNotSupported</faultcode>*

        *<faultstring>The [action] cannot be processed at the
        receiver.</faultstring>*

        <detail />

        </soapenv:Fault>

        </soapenv:Body>

        </soapenv:Envelope>

    Also I try the example DILoanService that is in the BPS and It
    give me the same error

    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
    <http://schemas.xmlsoap.org/soap/envelope/>>

    <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";
    <http://www.w3.org/2005/08/addressing>>

    <wsa:To>http://www.w3.org/2005/08/addressing/none</wsa:To>

    <wsa:ReplyTo>

    <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>

    </wsa:ReplyTo>

    <wsa:MessageID>urn:uuid:36ee82d2-5102-42e1-aec8-5465c8ab146c</wsa:MessageID>

    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>

    <wsa:RelatesTo>urn:uuid:4e49f62c-e995-452e-a0c5-d7f0eff963b5</wsa:RelatesTo>

    ***<wsa:FaultDetail>*

    *<wsa:ProblemAction>*

    
*<wsa:Action>http://wso2.org/bps/samples/LoanService/onLoanOffer</wsa:Action>*

    *</wsa:ProblemAction>*

    *</wsa:FaultDetail>*

Hi,

This is not normal and the reason is http://www.w3.org/Submission/ws-addressing/#_Toc77464332 .

Looking at the WSDL for the DIoanService process, this action is set when invoking "onLoadOffer" operation.

<binding name="LoanServiceCallbackBinding" type="tns:LoanServiceCallbackPortType"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="onLoanOffer">
<soap:operation soapAction="http://wso2.org/bps/samples/LoanService/onLoanOffer"/>
<input name="input">
<soap:body use="literal"/>
</input>
</operation>
</binding>
When I invoke the DILoanService process the request message with the SOAP header is as follows with correct Action header.

<s:Header>
<wsa:To>http://10.216.173.156:9763/services/DILoanService.DILoanServicehttpLoanServiceBindingEndpoint/</wsa:To>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID>http://identifiers.wso2.com/messageid/1331137907925/6480025625</wsa:MessageID>
<wsa:Action>http://wso2.org/bps/samples/LoanService/getLoanOffer</wsa:Action>
</s:Header>

 Do you get these error in a fresh BPS instance?

    </soapenv:Header>

    <soapenv:Body>

    <soapenv:Fault xmlns:wsa="http://www.w3.org/2005/08/addressing";
    <http://www.w3.org/2005/08/addressing>>

    *<faultcode>wsa:ActionNotSupported</faultcode>*

    *<faultstring>The [action] cannot be processed at the
    receiver.</faultstring>*

    <detail />

    </soapenv:Fault>

    </soapenv:Body>

    </soapenv:Envelope>

    Is this normal?


    <http://www.antiterroristas.cu/>


    _______________________________________________
    Carbon-dev mailing list
    [email protected] <mailto:[email protected]>
    http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




--
Thanks,
Denis
----------------------------------------------------------
*Denis Weerasiri*
Software Engineer
Integration Technologies Team, WSO2 Inc.; http://wso2.com <http://wso2.com/>,
/email: denis <http://goog_277208233/>//[AT] wso2.com <http://wso2.com/>/
/phone: +94117639629
/
/site: //https://sites.google.com/site/ddweerasiri//
/blog: //http://ddweerasiri.blogspot.com/ <http://ddweerasiri.blogspot.com/>/
twitter: //http://twitter.com/ddweerasiri//
linked-in: //http://lk.linkedin.com/in/ddweerasiri/



_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to