ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert" <boisv...@intalio.com>
Subject Re: calling external web service function fails, when using string array as input to function.
Date Wed, 14 Nov 2007 12:36:48 GMT
Hi Nilesh,

I would recommend using an XML editor to load the XML document that you are
sending from Ode and perform validation against your schema(s).   This will
help you narrow down where the mismatch(es) is (are).

alex

On 11/14/07, nileshlr <nileshlr@rediff.com> wrote:
>
>
> Hi Alex,
> Thanks for reply.I did the changes you suggested but getting same
> error.Here
> I am attaching log:
>
> DEBUG - GeronimoLog.debug(66) | Axis2 sending message to
> http://localhost:8080/ematrix/services/JpoCbpEngineeringCBPWorkflow using
> MEX {PartnerRoleMex#hqejbhcnphr2qu7o05xwgr [PID
> {http://eclipse.org/bpel/sample}ECRProcess-212] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3b0d43.setAttribute(...)}
> 17:22:51,455 DEBUG [ExternalService] Axis2 sending message to
> http://localhost:8080/ematrix/services/JpoCbpEngineeringCBPWorkflow using
> MEX {PartnerRoleMex#hqejbhcnphr2qu7o05xwgr [PID
> {http://eclipse.org/bpel/sample}ECRProcess-212] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3b0d43.setAttribute(...)}
> DEBUG - GeronimoLog.debug(66) | Message: <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><axis2ns8:setAttribute
> xmlns:axis2ns8="http://engineering.cbp.jpo"
> xmlns:tns1="http://engineering.cbp.jpo">
>                    <tns1:in0 xmlns:ns1="http://client.engineering.cbp.jpo"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xsi:type="xsd:string">60000.336.28909.27891</tns1:in0>
>                    <tns1:in1><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">Instance
> ID</tns1:item><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">Process Instance
> ID</tns1:item></tns1:in1>
>                    <tns1:in2><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">50911</tns1:item><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">{
> http://eclipse.org/bpel/sample}ECRProcess-212</tns1:item></tns1:in2>
>                 </axis2ns8:setAttribute></soapenv:Body></soapenv:Envelope>
> 17:22:51,455 DEBUG [ExternalService] Message: <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><axis2ns8:setAttribute
> xmlns:axis2ns8="http://engineering.cbp.jpo"
> xmlns:tns1="http://engineering.cbp.jpo">
>                    <tns1:in0 xmlns:ns1="http://client.engineering.cbp.jpo"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xsi:type="xsd:string">60000.336.28909.27891</tns1:in0>
>                    <tns1:in1><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">Instance
> ID</tns1:item><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">Process Instance
> ID</tns1:item></tns1:in1>
>                    <tns1:in2><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">50911</tns1:item><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">{
> http://eclipse.org/bpel/sample}ECRProcess-212</tns1:item></tns1:in2>
>                 </axis2ns8:setAttribute></soapenv:Body></soapenv:Envelope>
> DEBUG - GeronimoLog.debug(66) | replyAsync mex=hqejbhcnphr2qu7o05xwgr
> 17:22:51,455 DEBUG [PartnerRoleMessageExchangeImpl] replyAsync
> mex=hqejbhcnphr2qu7o05xwgr
> DEBUG - GeronimoLog.debug(66) | Setting execution state on instance 50911
> 17:22:51,455 DEBUG [BpelRuntimeContextImpl] Setting execution state on
> instance 50911
> DEBUG - GeronimoLog.debug(66) | Thread[pool-2-thread-276,5,main]:
> unlock(iid=50911)
> 17:22:51,502 DEBUG [InstanceLockManager] Thread[pool-2-thread-276,5,main]:
> unlock(iid=50911)
> DEBUG - GeronimoLog.debug(66) | Sending stateful TO epr in message header
> using session null
> 17:22:51,518 DEBUG [SessionOutHandler] Sending stateful TO epr in message
> header using session null
> DEBUG - GeronimoLog.debug(66) | Sending a message containing wsa endpoints
> in headers for session passing.
> 17:22:51,518 DEBUG [SessionOutHandler] Sending a message containing wsa
> endpoints in headers for session passing.
> DEBUG - GeronimoLog.debug(66) | <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Header><addr:To
> xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:8080/ematrix/services/JpoCbpEngineeringCBPWorkflow
> </addr:To><addr:Action
> xmlns:addr="http://www.w3.org/2005/08/addressing
> "></addr:Action><addr:ReplyTo
> xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address>
> http://www.w3.org/2005/08/addressing/anonymous
> </addr:Address></addr:ReplyTo><addr:MessageID
> xmlns:addr="http://www.w3.org/2005/08/addressing
> ">uuid:hqejbhcnphr2qu7o05xwgs</addr:MessageID></soapenv:Header><soapenv:Body><axis2ns8:setAttribute
> xmlns:axis2ns8="http://engineering.cbp.jpo"
> xmlns:tns1="http://engineering.cbp.jpo">
>                    <tns1:in0 xmlns:ns1="http://client.engineering.cbp.jpo"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xsi:type="xsd:string">60000.336.28909.27891</tns1:in0>
>                    <tns1:in1><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">Instance
> ID</tns1:item><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">Process Instance
> ID</tns1:item></tns1:in1>
>                    <tns1:in2><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">50911</tns1:item><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">{
> http://eclipse.org/bpel/sample}ECRProcess-212</tns1:item></tns1:in2>
>                 </axis2ns8:setAttribute></soapenv:Body></soapenv:Envelope>
> 17:22:51,518 DEBUG [SessionOutHandler] <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Header><addr:To
> xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:8080/ematrix/services/JpoCbpEngineeringCBPWorkflow
> </addr:To><addr:Action
> xmlns:addr="http://www.w3.org/2005/08/addressing
> "></addr:Action><addr:ReplyTo
> xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address>
> http://www.w3.org/2005/08/addressing/anonymous
> </addr:Address></addr:ReplyTo><addr:MessageID
> xmlns:addr="http://www.w3.org/2005/08/addressing
> ">uuid:hqejbhcnphr2qu7o05xwgs</addr:MessageID></soapenv:Header><soapenv:Body><axis2ns8:setAttribute
> xmlns:axis2ns8="http://engineering.cbp.jpo"
> xmlns:tns1="http://engineering.cbp.jpo">
>                    <tns1:in0 xmlns:ns1="http://client.engineering.cbp.jpo"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xsi:type="xsd:string">60000.336.28909.27891</tns1:in0>
>                    <tns1:in1><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">Instance
> ID</tns1:item><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">Process Instance
> ID</tns1:item></tns1:in1>
>                    <tns1:in2><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">50911</tns1:item><tns1:item
> xmlns:tns1="http://client.engineering.cbp.jpo">{
> http://eclipse.org/bpel/sample}ECRProcess-212</tns1:item></tns1:in2>
>                 </axis2ns8:setAttribute></soapenv:Body></soapenv:Envelope>
> ERROR - GeronimoLog.error(108) | Error sending message
> (mex={PartnerRoleMex#hqejbhcnphr2qu7o05xwgr [PID
> {http://eclipse.org/bpel/sample}ECRProcess-212] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3b0d43.setAttribute(...)}):
> org.xml.sax.SAXException: Invalid element in
> jpo.cbp.engineering.ArrayOfItems - item
> org.apache.axis2.AxisFault: org.xml.sax.SAXException: Invalid element in
> jpo.cbp.engineering.ArrayOfItems - item
>         at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java
> :486)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> OutInAxisOperation.java:343)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.send(
> OutInAxisOperation.java:389)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> OutInAxisOperation.java:211)
>         at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>         at org.apache.ode.axis2.ExternalService$1$1.call(
> ExternalService.java:150)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java
> :269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> :675)
>         at java.lang.Thread.run(Thread.java:595)
> 17:22:51,534 ERROR [ExternalService] Error sending message
> (mex={PartnerRoleMex#hqejbhcnphr2qu7o05xwgr [PID
> {http://eclipse.org/bpel/sample}ECRProcess-212] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3b0d43.setAttribute(...)}):
> org.xml.sax.SAXException: Invalid element in
> jpo.cbp.engineering.ArrayOfItems - item
> org.apache.axis2.AxisFault: org.xml.sax.SAXException: Invalid element in
> jpo.cbp.engineering.ArrayOfItems - item
>         at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java
> :486)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> OutInAxisOperation.java:343)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.send(
> OutInAxisOperation.java:389)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> OutInAxisOperation.java:211)
>         at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>         at org.apache.ode.axis2.ExternalService$1$1.call(
> ExternalService.java:150)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java
> :269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> :675)
>         at java.lang.Thread.run(Thread.java:595)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message