Hello.
I'm using xfire 1.2.4. I'm generating classes using WsGenTask from a
wsdl which contains this type:

<xs:complexType name="SomeType">
<xs:sequence>
  <xs:element name="myNumber" type="xs:string" />
</xs:sequence>
<xs:attribute name="active" type="xs:string"></xs:attribute>
</xs:complexType>

After I deploy the generated service the wsdl has this type:

<xs:complexType name="SomeType">
 <xs:sequence>
  <xs:element minOccurs="0" name="active" nillable="true"
type="xs:string"></xs:element>
  <xs:element minOccurs="0" name="myNumber" nillable="true" type="xs:string" />
 </xs:sequence>
</xs:complexType>


The type 'SomeType' should have ATTRIBUTE 'active' not ELEMENT
'active'. Why did xfire change it? Is there a way to force it to be an
attribute?

br
Allor

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to