Re: Axis 1.x: Java2WSDL namespace options



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



.



Relevant Pages

  • Re: namespace question
    ... This brings up the question of standard terminology (e.g. for namespace). ... my take on 'namespace' is a name->value mapping. ... Then follows a discussion of various python mechanisms that do that (whether via ... model of namespaces and their access mechanisms, ...
    (comp.lang.python)
  • Re: namespace problem
    ... > Hang on - is Mapping a class as well as a namespace, ... Mapping is a namespace of b2b.Server.Business and Facility is a ... with using declarations it shouldn't be a problem - just ...
    (microsoft.public.dotnet.languages.csharp)
  • web reference transform map
    ... I'm trying to use an XML message that I get back from a SOAP call as the source ... schema in a mapping which seems to work fine until I try to compile at which ... namespace 'BiztalkProcess' ...
    (microsoft.public.biztalk.general)
  • Re: How to wrap ns0 and xmlns:ns0="http://xxx" to plain XML document
    ... Namespace is empty and "Value Mapping" functoid has 1 input ...
    (microsoft.public.biztalk.general)
  • Re: Xmas for cycling gadgit geeks
    ... They should add mapping and dump the other stuff ... that just about any bike comp can give in a smaller package, ...
    (rec.bicycles.misc)