Hi, Personally, most of my experience is wsdl2java. I would create a wsdl with lots of different ports and then get wsdl2java to generate the java code in the port and package structure you want, I think it is easier and more configurable this way.
Looking at the java2wsdl reference doc it seems to be possible to do it the java2wsdl way, have a look at http://docs.pushtotest.com/axisdocs/reference.html Regards, Patrick On Mon, 24 Jan 2005 17:51:49 +0100, Jan Kaiser <[EMAIL PROTECTED]> wrote: > 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. > > > > > > > >> > >> >