ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiang Liu" <S3075...@student.rmit.edu.au>
Subject [Ode]Missing Schema types and failure of invocation
Date Sat, 03 Feb 2007 06:28:43 GMT
Hi all
i have following files:
Weather.wsdl (outside service include partner link "partner role" defined)
Process.wsdl (BPEL process' wsdl include partner link "my role" defined)
Process.bpel (import both wsdls)
deploy.xml

I have my message schema types defined in Process.wsdl. The process deployment is successful
but when i display the exposed service's WSDL, the schema types are missed. Its like:

...
<wsdl:types/>
...

I have tried to mix the schema definition and generate client by WSDL2Java, but the client
side exception is:

===================
...
E:\Weather_process_client\client\build\classes>java -Djava.
ext.dirs=c:\Jar_lib weatherprocess.org.Client
org.apache.axis2.AxisFault: An exception occured when invoking ODE.
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOp
eration.java:271)
        at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxi
sOperation.java:202)
        at weatherprocess.org.Weather_ProcessStub.getResult(Weather_ProcessStub.j
ava:144)
        at weatherprocess.org.Client.main(Client.java:16)

At Tomcat server side, there is a NullPointerException:
...
2421452  TRACE  [http-8080-Processor25] openjpa.jdbc.JDBC - <t 3453776, conn 1518
9709> [0 ms] close
java.lang.NullPointerException
        at org.apache.ode.bpel.engine.BpelProcess$PartnerLinkMyRoleImpl.invokeMyR
ole(BpelProcess.java:429)
        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:
201)
        at org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.invoke(MyRoleMess
ageExchangeImpl.java:114)
        at org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:
118)
        at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEM
essageReceiver.java:78)
        at org.apache.ode.axis2.hooks.ODEMessageReceiver.receive(ODEMessageReceiv
er.java:53)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequ
est(HTTPTransportUtils.java:319)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:24
7)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
cationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
lterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
lve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
lve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
va:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
va:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
e.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.pr
ocessConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
nt.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
owerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
ol.java:684)
        at java.lang.Thread.run(Thread.java:595)
ERROR - ODEService.onAxisMessageExchange(137) | Rolling back ODE MEX {MyRoleMex#-
8tg008o6aoxocprvr9k9xw [Client -8tg008o6aoxocprvr9k9xx] calling {http://org.weath
erprocess}WeatherProcess.getResult(...)}
DEBUG - ODEService.onAxisMessageExchange(164) | Handling response for MEX {MyRole
Mex#-8tg008o6aoxocprvr9k9xw [Client -8tg008o6aoxocprvr9k9xx] calling {http://org.
weatherprocess}WeatherProcess.getResult(...)}
WARN - ODEService.onResponse(242) | Received ODE message exchange in unexpected s
tate: REQUEST


Could anyone tell me that the failure of the process invocation is because the missing schema
type definitions? And what modification i have to make? provide an extra xsd file?

Cheers!! 
------------------------------
Jiang Liu
Student Number: 3075163
CS/Yallara Name: ljiang
RMIT, Melbourne

Mime
View raw message