Hi,
first of all thanks for the job you do developing Apache ODE, that's a
really great product.
But, trying to make a very simple service invocation this error is raised by
Apache ODE :
"ERROR - GeronimoLog.error(108) | Unable to process response: SOAP body does
not contain expected part wrapper: service {http://services}prefixer port
prefixerOperations wrapper prefixResponse
org.apache.ode.axis2.OdeFault: SOAP body does not contain expected part
wrapper: service {http://services}prefixer port prefixerOperations wrapper
prefixResponse
at
org.apache.ode.axis2.util.SoapMessageConverter.extractSoapBodyParts(SoapMessageConverter.java:361)
at
org.apache.ode.axis2.util.SoapMessageConverter.parseSoapResponse(SoapMessageConverter.java:325)
at
org.apache.ode.axis2.SoapExternalService$4.call(SoapExternalService.java:356)
at
org.apache.ode.axis2.SoapExternalService$4.call(SoapExternalService.java:329)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
at
org.apache.ode.scheduler.simple.SimpleScheduler$1.call(SimpleScheduler.java:155)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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)
Caused by: java.lang.IllegalArgumentException: SOAP body does not contain
expected part wrapper: service {http://services}prefixer port
prefixerOperations wrapper prefixResponse
at
org.apache.ode.utils.wsdl.Messages.msgSoapBodyDoesNotContainExpectedPartWrapper(Messages.java:147)
... 11 more"
The process is deployed without any errors.
It uses "literal" and not "encoded" following this thread advices :
http://markmail.org/message/57a56b562eazgxul#query:SOAP%20body%20does%20not%20contain%20%22expected%20part%20wrapper%22+page:1+mid:ntmxs2ghfihqr24k+state:results
Moreover the invocation "works" :
when calling the process via
"http://localhost:8080/ode/processes/framer/frames?innerString=foo&outerString=bar",
the result of the invocation of the "prefixService" by Apache ODE returns :
"<?xml version='1.0' encoding='utf-8'?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:prefixResponse><resultString>barfoo</resultString></SOAP-ENV:prefixResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
so the result "foobar" is good.
But how to make Apache ODE aware of this result ?
Thanks by advance for your help.
All the documents used for this process are in the attached "documents.txt"
file.
http://www.nabble.com/file/p19024188/documents.txt documents.txt
--
View this message in context:
http://www.nabble.com/Strange-error-%3A-SOAP-body-does-not-contain-expected-part-wrapper%3A-service-tp19024188p19024188.html
Sent from the Apache Ode User mailing list archive at Nabble.com.