Hi all,
Is there anyone who succeed in generated wsdl "any"
type?
My WSDL schemas is for example:
<complexType name
='test'>
<sequence> <any /> </sequence> </complexType> The object returned in the "any" type is an XML
tree (with a root element named "Data")
AXIS cannot read the response, i get the following
exception:
get the following exception on the client
side:
org.xml.sax.SAXException: Invalid element
in Test - Data
at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:208) at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:831) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:199) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:589) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:224) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:248) at org.apache.axis.client.Call.invoke(Call.java:1701) at org.apache.axis.client.Call.invoke(Call.java:1608) at org.apache.axis.client.Call.invoke(Call.java:1169) at TestCfg.main(TestCfg.java:29) My question is the follow:
1) Is Axis able to deserialize this
Object?
2) Do we need to implement client
Deserializer?
3) Do i forget something in my WSDL for "any"
type?
All example are welcome ( WSDL + CLient
side)?
Thanks in advance !!!
Regards,
Jean Marc
|