Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4
-
None
-
None
Description
Axis generated stub does not handle correctly changes in wsdl if fields are added in a "method" result. I think it could handle it transparently.
Maybe you could add an option in wsdl2java letting us to choose if we want to be strict or not.
In my example, typeIban was added in wsdl after stub generation.
AxisFault
faultCode:
Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Invalid element in com.dexia.sofaxis.test.RibWSDTO - typeIban
faultActor:
faultNode:
faultDetail:
stackTrace:org.xml.sax.SAXException: Invalid element in com.dexia.sofaxis.test.RibWSDTO - typeIban
at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.dexia.sofaxis.test.ReferentielIbanBindingStub.rechercheRibsByIdsTiers(ReferentielIbanBindingStub.java:224)
at com.dexia.sofaxis.clientws.TestReferentielIban.main(TestReferentielIban.java:32)
{http://xml.apache.org/axis/}
hostname:PODJP