Do you use Axis1.x or Axis2. if you use Axis2 you can add the package namespace mapping at the services.xml file.
thanks, Amila. On Tue, Aug 30, 2011 at 2:54 AM, Evan Patton <pat...@rpi.edu> wrote: > Hello all, > > I'm generating a web service from a POJO, and in some cases return a nested > class. In the XML schema generated by Axis, the types representing the > inputs and outputs of the web service are declared in one target namespace > (i.e. where it will be deployed), whereas the nested class is defined in a > different schema with a target namespace equivalent to "http://"+(the > package name with .edu at the end)+"/xsd", rather than being placed in the > target namespace of its containing class. Is there any way to tell Apache > Axis what the namespace should be, either at compile time or through > introspection? The package name does not exist as a DNS name so it doesn't > make sense to use it as part of an http address. > > Thanks, > Evan -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/