Nilesh, What I suggest is to install and use SoapUI to interactively figure out the message format you neeed to send to your service. Once you have a request/response that works as expected in SoapUI, then copy the request into an Ode message (using assignments) and try that. If the same request doesn't work in Ode, then please file a bug including the working request/response SOAP messages and your complete BPEL/WSDL test case files.
thanks, alex On 11/29/07, nileshlr <[EMAIL PROTECTED]> wrote: > > > Hi Alex, > I restarted all the exercise again,Now I am facing another error I am > giving > the error log : > > > >> DEBUG - GeronimoLog.debug(66) | Axis2 sending message to > >> http://localhost:8080/ematrix/services/JpoCbpEngineeringCBPWorkflowusing > >> MEX {PartnerRoleMex#hqejbhcnphr2qu7o05xwgr [PID > >> {http://eclipse.org/bpel/sample}ECRProcess-212] calling > >> [EMAIL PROTECTED](...)} > >> 17:22:51,455 DEBUG [ExternalService] Axis2 sending message to > >> http://localhost:8080/ematrix/services/JpoCbpEngineeringCBPWorkflowusing > >> MEX {PartnerRoleMex#hqejbhcnphr2qu7o05xwgr [PID > >> {http://eclipse.org/bpel/sample}ECRProcess-212] calling > >> [EMAIL PROTECTED](...)} > >> 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 > >> [EMAIL PROTECTED](...)}): > >> 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 > >> [EMAIL PROTECTED](...)}): > >> 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) > >> > > > > > > -- > View this message in context: > http://www.nabble.com/calling-external-web-service-function-fails%2C-when-using-string-array-as-input-to-function.-tf4770975.html#a14026937 > Sent from the Apache Ode User mailing list archive at Nabble.com. > >
