You should be able to use any SOAP client library to invoke your Axis2 service.

What language would you like to use?
.NET: add a WebReference to your client class and point to the service WSDL
JavaScript: try the WSO2 Mashup tool
Java: pick your poison:
- JAX-WS reference implementation (from Glassfish)
- JAX-RPC reference implementation (from JWSDP)
- SpringWS
- JBoss WS
- WebSphere
- WebLogic
- etc, etc

In all cases, that the WSDL and compile it using the included WSDL
compilation tool (e.g., wsdl2java), generate a client stub, and invoke
it.

Anne

On Thu, May 8, 2008 at 4:09 AM, Narula, Manish <[EMAIL PROTECTED]> wrote:
> I am using the RPCServiceClient which is an implementation of axis2. Is
> there any other way out where I can invoke the service independent of axis2.
>
>
>
>
>
> RPCServiceClient serviceClient = new RPCServiceClient();
>
>
>
>         Options options = serviceClient.getOptions();
>
>
>
>         EndpointReference targetEPR
>
>                 = new EndpointReference(
>
>
> "http://localhost:8888/axis2/services/WeatherSpringService";);
>
>
>
>         options.setTo(targetEPR);
>
>
>
> Regards,
>
> Manish Narula
>
> ________________________________
>
> From: keith chapman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 08, 2008 1:21 PM
> To: [email protected]
> Subject: Re: How to write a non axis2 client
>
>
>
> If you like to try and invoke this service using JavaScript you can try out
> the WSO2 Mashup Server [1] which is released under Apache License. It can
> generate a JavaScript stub for you or you can invoke your service directly
> using a built in JavaScript Object which is called WSRequest.
>
> [1] http://wso2.org/projects/mashup
>
> Thanks,
> Keith.
>
> On Thu, May 8, 2008 at 12:25 PM, Narula, Manish <[EMAIL PROTECTED]>
> wrote:
>
> Hi,
>
> I used a sample given by axis2 to write a webservice called pojospringguide.
> The aar file is deployed, now I want to invoke the web service using non
> axis2 client.
>
>
>
> Regards,
>
> Manish Narula
>
>
>
> ________________________________
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, notify the sender immediately by
> return email and delete the message and any attachments from your system.
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>
> ________________________________
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, notify the sender immediately by
> return email and delete the message and any attachments from your system.

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

Reply via email to