axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitor Manuel Alves Rodrigues (JIRA)" <>
Subject [jira] Created: (AXIS2-4704) Complex types still don't appear...
Date Wed, 05 May 2010 15:40:03 GMT
Complex types still don't appear...

                 Key: AXIS2-4704
             Project: Axis2
          Issue Type: Bug
    Affects Versions: 1.6
         Environment: WSO2/WSAS 3.2.0
            Reporter: Vitor Manuel Alves Rodrigues
            Priority: Blocker
             Fix For: 1.6


First of all, i thought the new WSAS release would correct the bad wsdl generation but it
didn't. I think is because the axis2-1.6 version that they use is still not-up-to-date.

I will explain my problem.... I have to enter in Production this Friday (May 7) and i'm considering
going to another server. My boss is telling me "Leave them leave them and let's go to Metro"
but i say "This is the best one". But with cases like this my mind is getting bended....

Now for the wsdl:

It all started with this issue:

Amila corrected the and i "downloaded" the axis2-SNAPSHOT. With
java2wsdl inside the SNAPSHOT, and the build.xml pointing to that jar, i created my wsdl perfectly(so
i think). 

Here is an example:
<xs:complexType name="Entity_EntityPersonWithContactType">
<xs:element maxOccurs="unbounded" minOccurs="0" name="digitalAddress" nillable="true" type="ax21:DigitalAddress_DigitalAddressType"/>
<xs:element minOccurs="0" name="entity" nillable="true" type="ax21:Entity_EntityPersonType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="phoneNumber" nillable="true" type="ax21:PhoneNumber_PhoneNumberType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="postalAddress" nillable="true" type="ax21:PostalAddress_PostalAddressType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="postalAddressPhoneNumber" nillable="true"

With the WSAS creating the wsdl, it generates wrong the wsdl:
<xs:complexType name="Entity_EntityPersonWithContactType">
<xs:element maxOccurs="unbounded" minOccurs="0" name="digitalAddress" nillable="true"/>
<xs:element minOccurs="0" name="entity" nillable="true"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="phoneNumber" nillable="true"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="postalAddress" nillable="true"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="postalAddressPhoneNumber" nillable="true"/>

Now when i deploy my custom wsdl, the response isn't getting mapped correctly:

Here is another example:

<name>Agricultura, produção animal, caça, floresta e pesca</name>

In the default wsdl by the WSAS, it creates it correctly:

<ns:return xsi:type="ns:IdNameReturnType">
<ns:name>Agricultura, produção animal, caça, floresta e pesca</ns:name>

Can anybody think of what is going wrong? When what should i do to overcome this? How can
i make the WSAS use the last revision(not at revision91something) of axis2(at revision 94something)?

-> I put my custom wsdl, services.xml in the META-INF dir and then aar on that and then
put the aar in the new folder of the WSAS (..axis2services).


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message