I have a .NET web service that defines a complex type in the wsdl. One
element of this wsdl does not define a type, but expects different
simple data types to be handled polymorphically .
<s:complexTyp e name="ItemValue ">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Diagnosti cInfo"
type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Value" />
<s:element minOccurs="0" maxOccurs="1" name="Quality"
type="s0:OPCQua lity" />
</s:sequence>
</s:complexType>
The generated java class for this complex type defines the Value
attribute as a
javax.xml.soap. SOAPElement.
What I can't find is how do I create a SOAPElement to represent a
simple data type, eg. xsd:int
Any help appreciatted, Andy
element of this wsdl does not define a type, but expects different
simple data types to be handled polymorphically .
<s:complexTyp e name="ItemValue ">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Diagnosti cInfo"
type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Value" />
<s:element minOccurs="0" maxOccurs="1" name="Quality"
type="s0:OPCQua lity" />
</s:sequence>
</s:complexType>
The generated java class for this complex type defines the Value
attribute as a
javax.xml.soap. SOAPElement.
What I can't find is how do I create a SOAPElement to represent a
simple data type, eg. xsd:int
Any help appreciatted, Andy
Comment