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 Muzaffer Ozakca <mo...@indiana.edu> on 2006/11/01 20:50:25 UTC

Java2WSDL problem(?)

I'm not sure if this is about something I'm missing but here it is:

See the pieces below. The first element, I marked with x, imgLarge is of 
type xsd:anyType while others are correct types. What do you think 
causes that?

Generated WSDL===========

    <complexType name="ImageItem">
     <complexContent>
      <extension base="impl:DLPItem">
       <sequence>
x       <element name="imgLarge" nillable="true" type="xsd:anyType"/>
        <element name="imgScreen" nillable="true" type="impl:DLPImage"/>
        <element name="imgThumb" nillable="true" type="impl:DLPImage"/>
        <element name="memberOf" nillable="true" type="impl:ItemId"/>
       </sequence>
      </extension>
     </complexContent>
    </complexType>

Java Code I wrote===========
public class ImageItem extends DLPItem {
    private DLPImage imgThumb = null;
    private DLPImage imgScreen = null;
    private DLPImage imgLarge = null;
    private ItemId memberOf = null;

	/* Setters and getters here */
}

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Java2WSDL problem(?)

Posted by Muzaffer Ozakca <mo...@indiana.edu>.
However, there's no reason for me not to use Axis2. I guess, Axis1 came 
up before Axis2 in my google query. :)

I'll try Axis2. Thanks!

Muzaffer Ozakca wrote:
> Hi,
> 
> Sorry I should have included these in the first posting. I have Axis 1.4 
> Final that was released in April 2006. I'm using WinXP Pro, Tomcat 
> 5.0.28 and JDK 1.5.
> 
> Thanks,
> 
> 
> Deepal Jayasinghe wrote:
>> Hi Muzaffer;
>> is this Axis2 or Axis 1.x ?
>>
>> Thanks
>> Deepal
>>
>>> I'm not sure if this is about something I'm missing but here it is:
>>>
>>> See the pieces below. The first element, I marked with x, imgLarge is
>>> of type xsd:anyType while others are correct types. What do you think
>>> causes that?
>>>
>>> Generated WSDL===========
>>>
>>>    <complexType name="ImageItem">
>>>     <complexContent>
>>>      <extension base="impl:DLPItem">
>>>       <sequence>
>>> x       <element name="imgLarge" nillable="true" type="xsd:anyType"/>
>>>        <element name="imgScreen" nillable="true" type="impl:DLPImage"/>
>>>        <element name="imgThumb" nillable="true" type="impl:DLPImage"/>
>>>        <element name="memberOf" nillable="true" type="impl:ItemId"/>
>>>       </sequence>
>>>      </extension>
>>>     </complexContent>
>>>    </complexType>
>>>
>>> Java Code I wrote===========
>>> public class ImageItem extends DLPItem {
>>>    private DLPImage imgThumb = null;
>>>    private DLPImage imgScreen = null;
>>>    private DLPImage imgLarge = null;
>>>    private ItemId memberOf = null;
>>>
>>>     /* Setters and getters here */
>>> }
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Java2WSDL problem(?)

Posted by Muzaffer Ozakca <mo...@indiana.edu>.
Hi,

Sorry I should have included these in the first posting. I have Axis 1.4 
Final that was released in April 2006. I'm using WinXP Pro, Tomcat 
5.0.28 and JDK 1.5.

Thanks,


Deepal Jayasinghe wrote:
> Hi Muzaffer;
> is this Axis2 or Axis 1.x ?
> 
> Thanks
> Deepal
> 
>> I'm not sure if this is about something I'm missing but here it is:
>>
>> See the pieces below. The first element, I marked with x, imgLarge is
>> of type xsd:anyType while others are correct types. What do you think
>> causes that?
>>
>> Generated WSDL===========
>>
>>    <complexType name="ImageItem">
>>     <complexContent>
>>      <extension base="impl:DLPItem">
>>       <sequence>
>> x       <element name="imgLarge" nillable="true" type="xsd:anyType"/>
>>        <element name="imgScreen" nillable="true" type="impl:DLPImage"/>
>>        <element name="imgThumb" nillable="true" type="impl:DLPImage"/>
>>        <element name="memberOf" nillable="true" type="impl:ItemId"/>
>>       </sequence>
>>      </extension>
>>     </complexContent>
>>    </complexType>
>>
>> Java Code I wrote===========
>> public class ImageItem extends DLPItem {
>>    private DLPImage imgThumb = null;
>>    private DLPImage imgScreen = null;
>>    private DLPImage imgLarge = null;
>>    private ItemId memberOf = null;
>>
>>     /* Setters and getters here */
>> }
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Java2WSDL problem(?)

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Muzaffer;
is this Axis2 or Axis 1.x ?

Thanks
Deepal

> I'm not sure if this is about something I'm missing but here it is:
>
> See the pieces below. The first element, I marked with x, imgLarge is
> of type xsd:anyType while others are correct types. What do you think
> causes that?
>
> Generated WSDL===========
>
>    <complexType name="ImageItem">
>     <complexContent>
>      <extension base="impl:DLPItem">
>       <sequence>
> x       <element name="imgLarge" nillable="true" type="xsd:anyType"/>
>        <element name="imgScreen" nillable="true" type="impl:DLPImage"/>
>        <element name="imgThumb" nillable="true" type="impl:DLPImage"/>
>        <element name="memberOf" nillable="true" type="impl:ItemId"/>
>       </sequence>
>      </extension>
>     </complexContent>
>    </complexType>
>
> Java Code I wrote===========
> public class ImageItem extends DLPItem {
>    private DLPImage imgThumb = null;
>    private DLPImage imgScreen = null;
>    private DLPImage imgLarge = null;
>    private ItemId memberOf = null;
>
>     /* Setters and getters here */
> }
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org