Hi,

I presume that you have given a repository location when creating a server.
If not the following code might help you. The repository location will be
/opt/repo. Create two folders called services, modules within the repo. Drop
in your services to /ope/repo/services and drop in your modules to
/opt/repo/modules. Hope this answers your problem.

       String AXIS2_SERVER_PATH = "/opt/repo/";
       String AXIS2_XML = "/opt/repo/conf/axis2.xml";
       ConfigurationContext configContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem
(AXIS2_SERVER_PATH,AXIS2_XML);
       SimpleHTTPServer server = new SimpleHTTPServer
(configContext,8888);
       server.start();

Thanks,
Keith.

On 7/3/07, Naga Srinivas <[EMAIL PROTECTED]> wrote:

Hi,
  I am new to Axis2, i am trying to develop a webservice using it. I am
not using any servlet containers like tomcat, just i want to run an Axis
soap server as a standalone server, and i want to create create stubs and
skeletons of my service and i would deploy my skeletons on to this server
and by using stubs i want to communicate with the server. In this process i
would be able to create stubs, skeletons and also able to run Axis as a
standalone server, but my problem is with deployment, i am not able to
deploy my service to Axis server. Can any one help me?.
Regards,
Naga.




--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Reply via email to