axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raj Sohal" <rso...@doradosoftware.com>
Subject RE: Axis 1.3 WS Deployment using API
Date Wed, 16 Nov 2005 18:49:54 GMT

Is there a way I can use the simple provider to refer to the Axis Server in
the AxisServlet and deploy the service.

Thanks,

Raj 
 


-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com] 
Sent: Wednesday, November 16, 2005 10:40 AM
To: axis-user@ws.apache.org
Subject: Re: Axis 1.3 WS Deployment using API

AxisServlet has an AxisServer just like you have in your code. so
those are 2 different things...

-- dims

On 11/16/05, Raj Sohal <rsohal@doradosoftware.com> wrote:
>
> Thanks for the response and giving me the starting point to work on
> deploying web services programmatically. I am using the SimpleProvider for
> deploying webservices at JBOSS startup. I don't get any exceptions when my
> mbean runs but I don't see my web service when open the Axis Servlet in
the
> browser. Here's the code snippet.
>
>       provider = new SimpleProvider();
>       server = new AxisServer(provider);
>       transport = new LocalTransport(server);
>       SOAPService _service = null;
>       if(isMsg)
>       {
>         _service = new SOAPService(new MsgProvider());
>         _service.setStyle(Style.MESSAGE);
>       }
>       else
>       {
>         _service = new SOAPService(new RPCProvider());
>         _service.setStyle(Style.RPC);
>       }
>       _service.setName(pServiceName);
>       _service.setOption(JavaProvider.OPTION_CLASSNAME, pClassName);
>       _service.setOption(JavaProvider.OPTION_ALLOWEDMETHODS,pMethodNames);
>
>       provider.deployService("login", _service);
>
> Thanks for the help,
>
> Raj
>
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:davanum@gmail.com]
> Sent: Tuesday, November 15, 2005 12:51 PM
> To: axis-user@ws.apache.org
> Subject: Re: Axis 1.3 WS Deployment using API
>
> plz take a look at the different providers:
>
(http://svn.apache.org/viewcvs.cgi/webservices/axis/trunk/java/src/org/apach
> e/axis/configuration/)
>
> also look at deployment package:
>
http://svn.apache.org/viewcvs.cgi/webservices/axis/trunk/java/src/org/apache
> /axis/deployment/
>
> Suppose you get interested in XMLStringProvider, search the test
> harness for XMLStringProvider usage :)
>
> thanks,
> dims
>
> On 11/15/05, Raj Sohal <rsohal@doradosoftware.com> wrote:
> >
> >
> >
> >
> >
> > Hi,
> >
> >
> >
> > Does anyone have any information or examples of how to programmatically
> > deploy web services using axis API. Most of the examples I have seen use
> the
> > AdminClient and WSDD file for deployment. I was hoping if there's a
> > deployment option without creating the WSDD XML file.
> >
> >
> >
> > I really appreciate any help in this subject. Thanks in advance.
> >
> >
> >
> > Raj
> >
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
>


--
Davanum Srinivas : http://wso2.com/blogs/


Mime
View raw message