ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Richter <matthi...@gmail.com>
Subject Re: Service not found at EPR
Date Mon, 15 Sep 2008 19:54:48 GMT
Still getting (now different) exceptions.


I used the HelloWorld example via SOAP Client and via sendsoap.


SOAP client resulted in following output in catalina.out (sendsoap  
output below)

DEBUG - GeronimoLog.debug(66) | The system is checking for the  
operation using the following WSAAction:
DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP  
message body's first child's local name : hello
DEBUG - GeronimoLog.debug(66) | Found operation  
org.apache.axis2.description.InOutAxisOperation@ff7c7a
DEBUG - GeronimoLog.debug(66) | Received request message for  
helloWorld.{http://ode/bpel/unit-test.wsdl}hello
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:  
name=hello
style=REQUEST_RESPONSE,1
Input: name=TestIn
Message: name={http://ode/bpel/unit-test.wsdl}HelloMessage
Part: name=TestPart
typeName={http://www.w3.org/2001/XMLSchema}string
Output: name=TestOut
Message: name={http://ode/bpel/unit-test.wsdl}HelloMessage
Part: name=TestPart
typeName={http://www.w3.org/2001/XMLSchema}string from service {http://ode/bpel/unit-test.wsdl

}HelloService
ERROR - GeronimoLog.error(108) | Call to {http://ode/bpel/unit- 
test.wsdl}HelloService.hello caused an exception.
org.apache.ode.axis2.OdeFault: SOAP body does not contain required  
part: TestPart.
	at  
org 
.apache 
.ode 
.axis2 
.soapbinding 
.SoapMessageConverter.extractSoapBodyParts(SoapMessageConverter.java: 
370)
	at  
org 
.apache 
.ode 
.axis2 
.soapbinding 
.SoapMessageConverter.parseSoapRequest(SoapMessageConverter.java:306)
	at  
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java: 
103)
	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:100)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
	at  
org 
.apache 
.axis2 
.transport 
.http 
.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at  
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	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: 
191)
	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: 
845)
	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(Thread.java:613)
Caused by: java.lang.IllegalArgumentException: SOAP body does not  
contain required part: TestPart.
	at  
org 
.apache 
.ode 
.utils 
.wsdl.Messages.msgSOAPBodyDoesNotContainRequiredPart(Messages.java:146)
	... 23 more
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr3lfckbfmujd
ERROR - GeronimoLog.error(108) | Call to {http://ode/bpel/unit- 
test.wsdl}HelloService.hello caused an exception.
org.apache.ode.axis2.OdeFault: Call to {http://ode/bpel/unit- 
test.wsdl}HelloService.hello caused an exception.
	at  
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java: 
132)
	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:100)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
	at  
org 
.apache 
.axis2 
.transport 
.http 
.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at  
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	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: 
191)
	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: 
845)
	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(Thread.java:613)
Caused by: org.apache.ode.axis2.OdeFault: SOAP body does not contain  
required part: TestPart.
	at  
org 
.apache 
.ode 
.axis2 
.soapbinding 
.SoapMessageConverter.extractSoapBodyParts(SoapMessageConverter.java: 
370)
	at  
org 
.apache 
.ode 
.axis2 
.soapbinding 
.SoapMessageConverter.parseSoapRequest(SoapMessageConverter.java:306)
	at  
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java: 
103)
	... 20 more
Caused by: java.lang.IllegalArgumentException: SOAP body does not  
contain required part: TestPart.
	at  
org 
.apache 
.ode 
.utils 
.wsdl.Messages.msgSOAPBodyDoesNotContainRequiredPart(Messages.java:146)
	... 23 more




HelloWorld example via sendsoap:

DEBUG - GeronimoLog.debug(66) | Checking for Service using target  
endpoint address : http://localhost:8080/ode/services/helloWorld
WARN - GeronimoLog.warn(92) | No service has been found!
ERROR - GeronimoLog.error(108) | The service cannot be found for the  
endpoint reference (EPR) http://localhost:8080/ode/services/helloWorld
org.apache.axis2.AxisFault: The service cannot be found for the  
endpoint reference (EPR) http://localhost:8080/ode/services/helloWorld
	at  
org 
.apache 
.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:65)
	at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
	at  
org 
.apache 
.axis2 
.transport 
.http 
.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at  
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	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: 
191)
	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: 
845)
	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(Thread.java:613)



Any ideas about it...?

--Matthias





Am 15.09.2008 um 19:52 schrieb Matthieu Riou:

> Could you do an update on trunk and try again?
>
> Thanks,
> Matthieu
>
> On Mon, Sep 15, 2008 at 10:24 AM, Matthieu Riou <matthieu@offthelip.org 
> >wrote:
>
>> On Mon, Sep 15, 2008 at 8:02 AM, Matthias Richter <matthiasr@gmail.com 
>> >wrote:
>>
>>> I'm sorry Matthieu, I don't know what you mean with clean Axis  
>>> instance? I
>>> have deployed a axis instance in Tomcat besides ode though,  
>>> running some web
>>> services there.
>>>
>>> By the way: it is just happening when running ode built out of  
>>> trunk, the
>>> 1.2 doesn't show this behavior...
>>>
>>
>> Sorry actually I misunderstood your original e-mail, read it too  
>> early I
>> guess :) I thought you had problems when invoking a service from your
>> process, not directly your process.
>>
>> Anyway, I can reproduce your problem with the examples. Seems to be a
>> consequence of the Axis2 upgrade (and maybe a build issue as well):  
>> the
>> Axis2 configuration we use is overwritten during the build by the  
>> blank
>> Axis2 configuration. I'm having a look and will let you know when  
>> it's
>> fixed.
>>
>> Matthieu
>>
>>
>>>
>>>
>>> -- Matthias
>>>
>>>
>>> Am 15.09.2008 um 16:46 schrieb Matthieu Riou:
>>>
>>>
>>> On Mon, Sep 15, 2008 at 5:49 AM, Matthias Richter <matthiasr@gmail.com
>>>>> wrote:
>>>>
>>>> Hi,
>>>>>
>>>>> I'm using a simple SOAP Client to test my process deployed in ODE
>>>>> locally.
>>>>> The WSDL ist located at
>>>>> http://localhost:8080/ode/services/SynchronousSample?wsdl and a  
>>>>> client
>>>>> can
>>>>> be generated (the SOAP adress is correct, too).
>>>>>
>>>>> When invoking the process, I get an exception in Tomcat though:
>>>>>
>>>>> [ERROR] The service cannot be found for the endpoint reference  
>>>>> (EPR)
>>>>> http://localhost/ode/processes/SynchronousSample
>>>>> org.apache.axis2.AxisFault: The service cannot be found for the  
>>>>> endpoint
>>>>> reference (EPR) http://localhost/ode/processes/SynchronousSample
>>>>>     at
>>>>>
>>>>> org 
>>>>> .apache 
>>>>> .axis2 
>>>>> .engine.DispatchPhase.checkPostConditions(DispatchPhase.java:65)
>>>>>     at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
>>>>>     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java: 
>>>>> 264)
>>>>>     at  
>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
>>>>>     at
>>>>>
>>>>> org 
>>>>> .apache 
>>>>> .axis2 
>>>>> .transport 
>>>>> .http 
>>>>> .HTTPTransportUtils 
>>>>> .processHTTPPostRequest(HTTPTransportUtils.java:275)
>>>>>     at
>>>>> org 
>>>>> .apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java: 
>>>>> 133)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
>>>>> 637)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java: 
>>>>> 717)
>>>>>     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:191)
>>>>>     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:845)
>>>>>     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(Thread.java:613)
>>>>>
>>>>>
>>>>> Please notice that in the exception stack trace the local port  
>>>>> (8080) is
>>>>> missing. Is that a configuration problem? Problem is showing up  
>>>>> with the
>>>>> ODE
>>>>> examples as well.
>>>>>
>>>>>
>>>> Have you tired using a clean Axis2 instance instead of reusing  
>>>> the ODE
>>>> one?
>>>> The problem is probably that we have to customize the Axis2  
>>>> configuration
>>>> quite a bit for ODE (i.e. /processes/ instead of /services/) and  
>>>> that
>>>> usually doesn't play nice with other, more neutral services.
>>>>
>>>> Matthieu
>>>>
>>>>
>>>>
>>>>> Thanks for your help
>>>>>
>>>>> --Matthias
>>>>>
>>>>>
>>>>>
>>>
>>


Mime
View raw message