Sam, update the bpel-test module and try again. A listener must be
registered on the store to notify the engine of new deployments and this was
missing. I've just committed the change.

Matthieu

On 11/30/06, Alex Boisvert <[EMAIL PROTECTED]> wrote:

Nothing wrong with DOMUtils.stringToDom()... the NPE is caused by a null
response message which indicates the process didn't <reply> on the
MessageExchange.    So I would debug the process execution behind the
MessageExchange to find out why no response is being sent back.

alex


On 11/30/06, sam tam <[EMAIL PROTECTED]> wrote:
>
> I was running ode-test module
>
> I changed BpelTest.java for testign only HelloWorld2
>
> I gave the depDir path in the call to the method go().
>
> I invoked the method setUp()
>
> Then in the method go:
>
> I printed the values of the various steps in that method
>
> Console ::
>
>
> Server.Start - success
> MEX = {MyRoleMex#0 [Client ] calling {
> http://ode/bpel/unit-test.wsd}HelloService.hello(...)}
> Input String = <message><TestPart>SAM</TestPart></message>
> Input Element = [message: null]
> Input Request= [EMAIL PROTECTED]
> Before Invoking ODE with the Input request
> After Invoking ODE
>
> java.lang.NullPointerException: null message!
>     at org.apache.ode.bpel.engine.MessageImpl.<init>(MessageImpl.java
:40)
>     at org.apache.ode.bpel.engine.MessageExchangeImpl.getResponse(
> MessageExchangeImpl.java:112)
>     at org.apache.ode.test.BPELTest1.go(BPELTest.java:135)
>     at org.apache.ode.test.BPELTest.main(BPELTest.java:49)
>
>
> I get elem=null  after Element elem = DOMUtils.stringToDOM(in);  //
where
> in=<message><TestPart>SAM</TestPart></message>
>
> Is stringToDom not working ??
>
> I tried adding the ode-utils and all necessary jars but still am stuck
> here..
>
> Can anyone plz shed some light on this !!
>
> Thanx in advance ..
>
>
> Sam...Tam
>
>


Reply via email to