You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by haipeng du <ha...@gmail.com> on 2010/10/05 18:15:21 UTC
how could I put all schema to the same namespace
I create webserice with axis2 and generate wsdl from url
http://myserver/services/myservice?wsdl. But for pojo objects in different
package, it generates different schema namespace. I know from java2wsdl
command, I can map all package to same namespace. How could I do from
service.xml? I give element <schema namespace="mynamespace" /> in
service.xml. But it just put my service class to that namespace and not for
my pojo models.
Thanks a lot.
--
Haipeng Du
Salt Lake City
[Urgent] how could I put all schema to the same namespace
Posted by haipeng du <ha...@gmail.com>.
Please help me on these.
Thanks.
On Tue, Oct 5, 2010 at 10:15 AM, haipeng du <ha...@gmail.com> wrote:
> I create webserice with axis2 and generate wsdl from url
> http://myserver/services/myservice?wsdl. But for pojo objects in different
> package, it generates different schema namespace. I know from java2wsdl
> command, I can map all package to same namespace. How could I do from
> service.xml? I give element <schema namespace="mynamespace" /> in
> service.xml. But it just put my service class to that namespace and not for
> my pojo models.
> Thanks a lot.
>
> --
> Haipeng Du
> Salt Lake City
>
--
Haipeng Du
Salt Lake City