You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Vinodh Kumar G <gv...@gmail.com> on 2007/10/30 03:24:12 UTC
Query in xsdconfig - java name
Hi,
A part of wsdl file is pasted at the end of this mail.
I am able to create a short java name (as GIURes) for the element
"GeneralInformationUpdateResponse" by using the xsdconfig. The xsdconfig
file, which I used is:
<xb:config xmlns:pol="http://openuri.org/easypoLocal"
xmlns:xb="http://www.bea.com/2002/09/xbean/config">
<xb:qname name="pol:GeneralInformationUpdateResponse"
javaname="GIURes"/>
</xb:config>
Question:
1) I want to create a short java name (as GIURs) for the element
"GeneralInformationUpdateRs" which is of complex type within the element
"GeneralInformationUpdateResponse". How to achieve it by using xsdconfig? I
tried with different options but none of them worked out.
Part of wsdl file:
<xsd:element name="GeneralInformationUpdateResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="GeneralInformationUpdateRs">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" name="ResponseBody">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0"
name="GeneralInformation">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0"
name="NextInformationDate">
<xsd:simpleType>
<xsd:restriction
base="xsd:string">
<xsd:minLength
value="10"/>
<xsd:maxLength
value="10"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Regards,
Vinodh Kumar. G