Hi Sunil, I had a look at that posting, but I think this is not exactly what I need. I need the opposite: Not shortening the path but extending it. But it is not simply extending the path component by an additional string, because there must be some mechanism ("Magic") which maps the original java package to such a string that extends the path. My configuration in web.xml allows these additional strings because of the default pattern "/services/*", but how to tell the webservice itself that its path is different from the default? I mean, finally, the service is listed on the axis "Serives" page as a link. I want to achieve that this link already contains the somehow configured package in its path component. And I guess that this information must be contained in the deploy.wsdd file, but don't know how :-( Regards, Jan Kaiser Sunil Kothari wrote: 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=2Sunil 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. |
- Configure webservice path in URL (Axis) Jan Kaiser
- Re: Configure webservice path in URL (Axis) Patrick Cogan
- Re: Configure webservice path in URL (Axis) Jan Kaiser
- Re: Configure webservice path in URL (Axis) Patrick Cogan
- Re: Configure webservice path in URL (Axi... Jan Kaiser
- Re: Configure webservice path in URL (Axis) Sunil Kothari
- Axis 1.2 final Jan Kaiser
- Axis 1.2 final Patrick Cogan
- Re: Configure webservice path in URL (Axis) Abdullah Jibaly