Hi Jan, This comes from my earlier postings. Might be of help. Have a look http://marc.theaimsgroup.com/?l=axis-user&m=110379579215406&w=2
Sunil Kothari ----- Original Message ----- From: "Jan Kaiser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 24, 2005 10:21 PM Subject: Re: Configure webservice path in URL (Axis) > Hi, > > I try it a bit more detailed: > > I generate a lot of Java code which resides in several Java Packages eg. > package1.Service1, package2.Service1 etc. > > After that step I would like to generate wsdl (With Java2WSDL, of > course) that contains information about the final > path (URL) with which the User can reach Service1. And I would like to > get a servive url like > > http://host:port/axis/services/package1/Service1 > > But may be this kind of information has nothing to do with the wsdl. I > just dont know. What I want to achieve is, that once I deploy the > compiled classes with the deploy.wsdd and the AdminClient application, > the URL of a service is as above. > > Can you please provide me the required steps how to achieve this. > > What I currently get is http://host:port/axis/services/Service1 and I > would like to "insert" the string package1 into that > url : http://host:port/axis/services/package1/Service1 > > How exactly is this possible? Any commandline arguments to Java2WSDL or > to WSDL2Java? Is this possible at all? > > Thanks & Regards > > Jan Kaiser > > > > > Patrick Cogan wrote: > > >Hi, > > > >Not quite sure what you mean as namespaces are to do with the wsdl > >schema and the wsdl file itself. > > > >If I read you right the you need to change the ports in the service > >part of the wsdl to the number and give them whatever name you want > >and ultimately as many operations (services) as you want under each > >port. > > > >Regards, > > > >Patrick. > > > > > > > >> > >> >