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 Xavier Toth <tx...@gmail.com> on 2005/12/19 23:28:50 UTC

[1.3] java2wsdl not generating complex type

As an argument to a service method I had been using an array of objects of
type X. The wsdl was generated and everything was good. I decided to extend
X so I created the type Y and changed my service to accept an array of
objects of type Y. Now java2wsdl fails to generated the schema for the type
Y. I've even made Y a straight extension on X that is no additional member
data in case that might be causing a problem but no luck. I also tried
putting X and Y in the same package.

Re: [1.3] java2wsdl not generating complex type

Posted by Xavier Toth <tx...@gmail.com>.
:( I forgot to have a default constructor and because I'm using Maven 2 ant
plugin to run java2wsdl I wasn't seeing the error message.

On 12/21/05, Mahesh Seshan <ma...@gmail.com> wrote:
>
> If this is a problem with Axis 1.3, in you interface, make sure you
> reference X (array of X is not sufficient).
>
> -Mahesh
>
> On 12/19/05, Xavier Toth <tx...@gmail.com> wrote:
> > As an argument to a service method I had been using an array of objects
> of
> > type X. The wsdl was generated and everything was good. I decided to
> extend
> > X so I created the type Y and changed my service to accept an array of
> > objects of type Y. Now java2wsdl fails to generated the schema for the
> type
> > Y. I've even made Y a straight extension on X that is no additional
> member
> > data in case that might be causing a problem but no luck. I also tried
> > putting X and Y in the same package.
> >
>

Re: [1.3] java2wsdl not generating complex type

Posted by Mahesh Seshan <ma...@gmail.com>.
If this is a problem with Axis 1.3, in you interface, make sure you
reference X (array of X is not sufficient).

-Mahesh

On 12/19/05, Xavier Toth <tx...@gmail.com> wrote:
> As an argument to a service method I had been using an array of objects of
> type X. The wsdl was generated and everything was good. I decided to extend
> X so I created the type Y and changed my service to accept an array of
> objects of type Y. Now java2wsdl fails to generated the schema for the type
> Y. I've even made Y a straight extension on X that is no additional member
> data in case that might be causing a problem but no luck. I also tried
> putting X and Y in the same package.
>