When the method name is wrong, I get the next exception:
The endpoint reference (EPR) for the Operation not found and the WSA Action
Example:
OMNamespace omNs = fac.createOMNamespace("http://foo.com/types", "qk");
OMElement method = fac.createOMElement("my_faulty_method_Name ", omNs);
OMElement result = sender.sendReceive(method);
Thank you
Sharon whipple
-----Original Message-----
From: Chathura Herath [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 12:15 AM
To: [email protected]
Subject: wsdl2jave -transportFormat REST
HI guys,
I am using REST API with data binding in Axis2. Each time i code
generate i need to go change stub to make it REST enabled. How about
putting the option for wsdl2java to generate Restful clients,
something like
-transportformat REST --> changes apply for POST for clientside only
-transportformat json --> changes apply for GET and POST for
clientside and (may be serverside if we still wanna add the message
formatters manually)
and of course the default
-transportformat SOAP.--> changes apply to server and client for POST
but already done:-)
Very trivial changes at least in the REST case. I am having bit of a
trouble in json de-serialization so i ll have to differ it.
I could fix it if there is no objection.
--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]