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.





Reply via email to