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:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 12:51 PM
To: [email protected]
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 <[EMAIL PROTECTED]> 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/