Re: Axis 1.x: Java2WSDL namespace options
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Thu, 10 Aug 2006 21:10:39 -0400
bruce_phipps@xxxxxxxxxxx wrote:
I am using the Java2WSDL tool on mypackage/HelloWorld.class
But I am unsure of how to use the options:
-n [target namespace of WSDL file] -- this seems to define the "folder"
where the WSDL file is exported.
-p [mapping from package to namespace]
Are these options required? Will they affect the required deployment
folders on Tomcat (do the namespaces entered here need to be duplicated
on deployment)?
They are not required.
It is usually a very good thing to do the mapping.
Example:
-N http://localhost:8080/axis/services/TestService=ws.stub
Untested because I always prefer to use the ant task:
<axis-wsdl2java output="${gensrc.dir}" url="${wsdl.url}">
<mapping namespace="http://localhost:8080/axis/services/TestService" package="ws.stub"/>
</axis-wsdl2java>
Arne
.
- Follow-Ups:
- Re: Axis 1.x: Java2WSDL namespace options
- From: bruce_phipps
- Re: Axis 1.x: Java2WSDL namespace options
- Prev by Date: Re: Trying to grab filenames in a directory
- Next by Date: Re: HELP, SOAP Axis -> .NET Service persistent connection?
- Previous by thread: Trying to grab filenames in a directory
- Next by thread: Re: Axis 1.x: Java2WSDL namespace options
- Index(es):
Relevant Pages
|