-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Amila,
Please fix the typo in "addAnnonymousOperations"... thanks, dims [EMAIL PROTECTED] wrote: | Author: amilas | Date: Tue Mar 11 05:59:20 2008 | New Revision: 635908 | | URL: http://svn.apache.org/viewvc?rev=635908&view=rev | Log: | Added an method to add the annonymous client side operations | | Modified: | webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/Stub.java | | Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/Stub.java | URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/Stub.java?rev=635908&r1=635907&r2=635908&view=diff | ============================================================================== | --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/Stub.java (original) | +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/Stub.java Tue Mar 11 05:59:20 2008 | @@ -27,8 +27,7 @@ | import org.apache.axis2.wsdl.WSDLConstants; | import org.apache.axis2.addressing.EndpointReference; | import org.apache.axis2.context.MessageContext; | -import org.apache.axis2.description.AxisService; | -import org.apache.axis2.description.WSDL2Constants; | +import org.apache.axis2.description.*; | import org.apache.axis2.i18n.Messages; | import org.apache.axis2.transport.http.HTTPConstants; | import org.apache.commons.httpclient.Header; | @@ -216,6 +215,18 @@ | protected void addHeader(OMElement omElementToadd, | SOAPEnvelope envelop){ | addHeader(omElementToadd,envelop,false); | + } | + | + protected void addAnnonymousOperations(){ | + RobustOutOnlyAxisOperation robustoutoonlyOperation = | + new RobustOutOnlyAxisOperation(ServiceClient.ANON_ROBUST_OUT_ONLY_OP); | + _service.addOperation(robustoutoonlyOperation); | + | + OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP); | + _service.addOperation(outOnlyOperation); | + | + OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP); | + _service.addOperation(outInOperation); | } | | } | | | | --------------------------------------------------------------------- | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iD8DBQFH1oKkgNg6eWEDv1kRAv7+AJ9Ihn02YUgZnFREo8e+R4ndoIl4xQCeIsFw nEueLb6VuvjFOb/F0oxNXcg= =mSYD -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
