Re: Schemas of nested classes

2011-09-01 Thread Amila Suriarachchi
you can do something like this, This is my first service, which says hello http://www.w3.org/ns/wsdl/in-out"; class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> org.apache.axis2.sample.pojo.service.POJOService you can

Re: Schemas of nested classes

2011-09-01 Thread Evan Patton
Thanks Amila, I am using Axis2 and my services.xml file currently specifies a targetNamespace on the tag as well as a nested schemaNamespace attribute tag. However, these only seem to apply for the class named in field. How would I specify that there is a mapping for the entire package? I've

Re: Schemas of nested classes

2011-09-01 Thread Amila Suriarachchi
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 wrote: > Hello all, > > I'm generating a web service from a POJO, and in some cases return a nested > class. In the XML

Schemas of nested classes

2011-08-29 Thread Evan Patton
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