axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jim (JIRA)" <>
Subject [jira] Updated: (AXIS-2226) bad online-generated wsdl for derivatives of simple types
Date Tue, 28 Mar 2006 02:27:22 GMT
     [ ]

jim updated AXIS-2226:


the following zip file contains a copy of complex WSDL which causes the ?WSDL GET to have
a fault when running a server implemented with the output of wsdl2java. It appears to be related
to this issue.

> bad online-generated wsdl for derivatives of simple types
> ---------------------------------------------------------
>          Key: AXIS-2226
>          URL:
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2.1
>  Environment: fedora core 2
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
>     Reporter: toby cabot
>  Attachments: axis-simpleType-patch.txt,
> I have a WSDL that includes types that are derived from string, e.g.:
>     <xsd:complexType name="ECTrigger">
>         <xsd:simpleContent>
>             <xsd:extension base="xsd:string"/>
>         </xsd:simpleContent>
>     </xsd:complexType>
> If I run this through wsdl2java and deploy it everything works fine, except that when
I try to use the online wsdl (i.e. from the *ServicePort?wsdl URL) it contains:
>    <complexType name="ECTrigger">
>     <simpleContent>
>      <extension>
>       <attribute name="_value" type="xsd:string"/>
>      </extension>
>     </simpleContent>
>    </complexType>
> which is invalid.
> It looks like the problem is in org.apache.axis.encoding.ser.SimpleSerializer#writeSchema().
 It's looking for a property descriptor name called "value" but the descriptor is called "_value".
 I'll attach a patch that fixes this.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message