Re: WebService Axis Issues
Adrian, did you ever solve this issue? I'm seeing a similar problem. From what I can tell it's an unresolved bug in Apache Axis: http://issues.apache.org/jira/browse/AXIS-2758 -Rob I get the same on CF8 and on Railo I get: org.xml.sax.SAXException: Deserializing parameter 'GetVersionInfoResponse': could not find deserializer for type {urn:IWS}GetVersionInfoResponseType Sorry that's not much help. Adrian ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326652 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
WebService Axis Issues
I am working with a webservice and the issues I am having with it are not what you would call typical. When I make the call to the webservice I get the following error. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Invalid element in IWS_pkg.GetVersionInfoResponseType - Version faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in IWS_pkg.GetVersionInfoResponseType - Version 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:2448) at org.apache.axis.client.Call.invoke(Call.java:2347) at org.apache.axis.c... '' The method on the webservice is fairly simple. It simply returns a soap response. This is the soap request that is generated (using eclipse wtp) - soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:q0=urn:IWS xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; - soapenv:Body q0:GetVersionInfo / /soapenv:Body /soapenv:Envelope This is the soap response that is returned (again using eclipse wtp) - SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; - SOAP-ENV:Body - GetVersionInfoResponse xmlns=urn:IWS VersionIntelius WebServices v1.0.1/Version /GetVersionInfoResponse /SOAP-ENV:Body /SOAP-ENV:Envelope Here is the coldfusion code I am working with: cfset ws = createObject(webservice,https://api.intelius.com/iws-all.php?wsdl;) cfset test = ws.GetVersionInfo() cfdump var=#test#/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325297 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: WebService Axis Issues
I get the same on CF8 and on Railo I get: org.xml.sax.SAXException: Deserializing parameter 'GetVersionInfoResponse': could not find deserializer for type {urn:IWS}GetVersionInfoResponseType Sorry that's not much help. Adrian -Original Message- From: Jeremy Rottman [mailto:rottm...@gmail.com] Sent: 07 August 2009 23:09 To: cf-talk Subject: WebService Axis Issues I am working with a webservice and the issues I am having with it are not what you would call typical. When I make the call to the webservice I get the following error. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Invalid element in IWS_pkg.GetVersionInfoResponseType - Version faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in IWS_pkg.GetVersionInfoResponseType - Version at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserial izer.java:258) at org.apache.axis.encoding.DeserializationContext.startElement(Deserializ ationContext.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:2448) at org.apache.axis.client.Call.invoke(Call.java:2347) at org.apache.axis.c... '' The method on the webservice is fairly simple. It simply returns a soap response. This is the soap request that is generated (using eclipse wtp) - soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:q0=urn:IWS xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; - soapenv:Body q0:GetVersionInfo / /soapenv:Body /soapenv:Envelope This is the soap response that is returned (again using eclipse wtp) - SOAP-ENV:Envelope xmlns:SOAP- ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:SOAP- ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; - SOAP-ENV:Body - GetVersionInfoResponse xmlns=urn:IWS VersionIntelius WebServices v1.0.1/Version /GetVersionInfoResponse /SOAP-ENV:Body /SOAP-ENV:Envelope Here is the coldfusion code I am working with: cfset ws = createObject(webservice,https://api.intelius.com/iws- all.php?wsdl) cfset test = ws.GetVersionInfo() cfdump var=#test#/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325298 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4