[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: Query in xsdconfig - java name
From: "Vinodh Kumar G" <gvinu2003 () gmail ! com>
Date: 2007-10-30 2:24:12
Message-ID: 186468530710291924t7b877c99r595d4fd14202252f () mail ! gmail ! com
[Download RAW message or body]
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
[Attachment #3 (text/html)]
Hi,<br><br>A part of wsdl file is pasted at the end of this mail.<br>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: <br><br> <xb:config xmlns:pol="<a \
href="http://openuri.org/easypoLocal">http://openuri.org/easypoLocal</a>" \
<br> xmlns:xb="<a \
href="http://www.bea.com/2002/09/xbean/config">http://www.bea.com/2002/09/xbean/config
</a>"><br> <br> \
<xb:qname name="pol:GeneralInformationUpdateResponse" \
javaname="GIURes"/><br> \
</xb:config><br> <br>Question:<br>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. <br><br>Part of wsdl file:<br><xsd:element \
name="GeneralInformationUpdateResponse"><br> \
<xsd:complexType><br> \
<xsd:sequence><br> \
<xsd:element name="GeneralInformationUpdateRs"> \
<br> \
<xsd:complexType><br> \
<xsd:sequence><br> \
\
<xsd:element minOccurs="0" \
name="ResponseBody"><br> \
\
<xsd:complexType> <br> \
\
<xsd:sequence><br> \
\
\
<xsd:element minOccurs="0" \
name="GeneralInformation"><br> \
\
\
<xsd:complexType> <br> \
\
\
<xsd:sequence><br> \
\
\
<xsd:element minOccurs="0" \
name="NextInformationDate"><br> \
\
\
<xsd:simpleType> \
<br> \
\
\
<xsd:restriction \
base="xsd:string"><br> \
\
\
\
<xsd:minLength value="10"/><br> \
\
\
\
<xsd:maxLength value="10"/><br> \
\
\
\
</xsd:restriction><br> \
\
\
\
</xsd:simpleType> <br> \
\
\
</xsd:element><br> \
\
\
</xsd:sequence><br> \
\
\
</xsd:complexType><br> \
\
</xsd:element> <br> \
\
\
</xsd:sequence><br> \
\
</xsd:complexType><br> \
\
</xsd:element><br> \
</xsd:sequence><br> \
\
</xsd:complexType> <br> \
</xsd:element><br> \
</xsd:sequence><br> \
</xsd:complexType><br></xsd:element><br><br>Regards,<br>Vinodh \
Kumar. G
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic