ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ratha <rat...@wso2.com>
Subject Re: SOAP body does not contain expected part wrapper!
Date Mon, 27 Oct 2008 09:15:07 GMT
My WSDL file is as follows,


 <binding name="LoanprocessBinding" type="tns:loanServicePT">
        <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="request">
            <soap:operation soapAction="http://loanprocess/request"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>
<service name="LoanProcessService">
        <documentation>Loan Process Service</documentation>
        <port binding="tns:LoanprocessBinding" name="SOAPPort2">
            <soap:address 
location="http://localhost:8080/ode/processes/LoanService"/>
        </port>
    </service>

Thanks,
Ratha.

ratha wrote:
> -Hi all, <#>
> When i invoke a sample loan service i'm getting such an error($ 
> Subject). My process was compiled and deployed without any error.
> Can somebody explain me why this occurs?
>
> Regards,
> Ratha.
> _*
> SOAP Input*_
>
> - <#> <soapenv:Envelope 
> xmlns:soapenv="*http://schemas.xmlsoap.org/soap/envelope/*" 
> xmlns:ns0="*http://loanprocess*" 
> xmlns:xsd="*http://www.w3.org/2001/XMLSchema*" 
> xmlns:xsi="*http://www.w3.org/2001/XMLSchema-instance*">
> - <#> <soapenv:Body>
> - <#> <ns0:request>
>  <Firstname>Sam</Firstname>
>  <Lastname >Shan</Lastname>
>  <Amount>5000</Amount>
>  </ns0:request>
>  </soapenv:Body>
>  </soapenv:Envelope>
>
>
> _*SOAP Output*_
> <soapenv:Envelope 
> xmlns:soapenv="*http://schemas.xmlsoap.org/soap/envelope/*">
> - <#> <soapenv:Body>
> - <#> <soapenv:Fault xmlns:java="*java:package org.apache.ode.axis2*">
>  <faultcode>java:org.apache.ode.axis2.OdeFault</faultcode>
>  <faultstring>An exception occured while invoking ODE.</faultstring>
> - <#> <detail>
>  <Exception>org.apache.ode.axis2.OdeFault: An exception occured while 
> invoking ODE. at 
> org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:134) 
> at 
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:67)

> at 
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:50)

> at 
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)

> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145) at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)

> at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120) 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) 
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
> at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) 
> at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
> at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

> at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 
> at java.lang.Thread.run(Unknown Source) Caused by: 
> org.apache.ode.axis2.OdeFault: SOAP body does not contain expected 
> part wrapper: service {http://loanprocess}LoanProcessService port 
> SOAPPort2 wrapper request at 
> org.apache.ode.axis2.util.SoapMessageConverter.extractSoapBodyParts(SoapMessageConverter.java:361)

> at 
> org.apache.ode.axis2.util.SoapMessageConverter.parseSoapRequest(SoapMessageConverter.java:306)

> at 
> org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:109) 
> ... 20 more Caused by: java.lang.IllegalArgumentException: SOAP body 
> does not contain expected part wrapper: service 
> {http://loanprocess}LoanProcessService port SOAPPort2 wrapper request 
> at 
> org.apache.ode.utils.wsdl.Messages.msgSoapBodyDoesNotContainExpectedPartWrapper(Messages.java:147)

> ... 23 more</Exception>
>  </detail>
>  </soapenv:Fault>
>  </soapenv:Body>
>  </soapenv:Envelope>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.175 / Virus Database: 270.8.3/1748 - Release Date: 10/26/2008 7:53 PM
>
>   


Mime
View raw message