Hi there,

I'm new in using axis2.
I created an aysnchronous bpel process and used wsdl2java to create the java
classes for a webservice.
The process just take an input string and adds some letter and writes it
into an result and shall return it
to the client. 
wsdl2java created the following files: MTestProcessStub.java,
MTestProcessCallbackHandler.java,
MTestProcessCallbackServiceCallbackHandler.java,
MTestProcessCallbackServiceStub.java.

in my client so start the process using 

MTestProcessStub stub = new MTestProcessStub ();
stub._getServiceClient().setOptions(options);
MTestProcessStub.MTestProcessProcessRequest request = new
MTestProcessStub.MTestProcessProcessRequest ();
request.setInput("async service");

stub.initiate(request, null, null);

for the callback i did the following in my client:
            MTestProcessCallbackServiceStub callbackstub = new
MTestProcessCallbackServiceStub();
            MTestProcessCallbackServiceStub.MTestProcessProcessResponse
response = new MTestProcessCallbackServiceStub.MTestProcessProcessResponse
();
            MTestProcessCallbackServiceStub.RelatesTo realtesto = new
MTestProcessCallbackServiceStub.RelatesTo();
            MTestProcessCallbackServiceStub.Relationship relationship = new
MTestProcessCallbackServiceStub.Relationship ();
            org.apache.axis2.databinding.types.URI cburi = new
org.apache.axis2.databinding.types.URI ();
            relationship.setAnyURI(cburi);
            realtesto.setRelatesTo(relationship);


            callbackstub.onResult(response,realtesto);



when i run it i get an exception:
Exception-Code:result cannot be null!! 

the oracle flow shows: the message ' skipped callback "onResult" on partner
"client" '

does anybody know what i've done wrong. 

by the way, this synchronous process works fine.


-- 
View this message in context: 
http://www.nabble.com/AXIS2-and-Oracle-BPEL-asynchronous-process---callback-exception-tp16893732p16893732.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to