users@glassfish.java.net

BPEL question

From: <glassfish_at_javadesktop.org>
Date: Mon, 16 Jul 2007 11:54:35 PDT

Hello there! I'm deploying a bpel process to the open-esb (sorry asking here, open esb forums seems to be abandoned).

After running a test I get this message on the log:

[#|2007-07-16T15:39:09.180-0300|SEVERE|sun-appserver9.1|sun-http-binding.com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=91;_ThreadName=pool-6-thread-3;_RequestID=65cb89e8-3f2e-4753-a65a-53f32e05de2a;|Exception in setting reply status.
Attempt to perform operation inconsistent with exchange pattern. Pattern(http://www.w3.org/2004/08/wsdl/in-out) SOURCE-State(4). at com.sun.jbi.messaging.MessageExchangeProxy.setStatus(MessageExchangeProxy.java:226) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyInbound(OutboundMessageProcessor.java:202) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:160) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:57) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)

So, problem setting up the reply status, well, could not find why. here's my WSDL that wraps my bpel process:

<types>
<xsd:schema targetNamespace="http://acme.com/services/CreditoFinanceiroService">
     <xsd:import namespace="http://credito.acme.com/xsd/TaxaFinanciamento" schemaLocation="TaxaFinanciamento.xsd"/>
    <xsd:element name="taxaJuros">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="nome" type="xsd:string"/>
                <xsd:element name="cpf" type="xsd:string"/>
                <xsd:element name="valor" type="xsd:double"/>
                <xsd:element name="parcelas" type="xsd:int"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xsd:schema>
</types>

<message name="obterTaxaJurosRequest">
    <part name="parameters" element="tns:taxaJuros"/>
</message>

<message name="obterTaxaJurosResponse">
    <part name="parameters" element="ns:taxaFinanciamento"/>
</message>

<portType name="CreditoFinanceiroServicePortType">
    <operation name="obterTaxaJuros">
        <input message="tns:obterTaxaJurosRequest"></input>
        <output message="tns:obterTaxaJurosResponse"></output>
    </operation>
</portType>
<binding name="CreditoFinanceiroServicePortBinding" type="tns:CreditoFinanceiroServicePortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
    <operation name="obterTaxaJuros">
        <input>
            <soap:body use="literal"></soap:body>
        </input>
        <output>
            <soap:body use="literal"></soap:body>
        </output>
    </operation>
</binding>

<service name="CreditoFinanceiroService">
    <port name="CreditoFinanceiroPort" binding="tns:CreditoFinanceiroServicePortBinding">
        <soap:address location="http://localhost:18181/CreditoFinanceiroService"/>
    </port>
</service>
<plnk:partnerLinkType name="CreditoFinanceiroServiceLinkType">
        <plnk:role name="myRole" portType="ns:CreditoFinanceiroServicePortType"/>
    </plnk:partnerLinkType>
</definitions>


Any ideas?

Regards
[Message sent by forum member 'viniciuscarvalho' (viniciuscarvalho)]

http://forums.java.net/jive/thread.jspa?messageID=226813