Skip to main content
Participant
June 10, 2008
Question

Incompatible webservice?

  • June 10, 2008
  • 1 reply
  • 1316 views
I can't seem to get this webservice to work( http://www.maxmind.com/app/minfraud_soap_wsdl5 ), after working out the issue with omit on the optional parameters it is returning the following error:

Cannot perform web service invocation minfraud_soap.
The fault returned when invoking the web service operation is:

AxisFault
faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.IllegalArgumentException: argument type mismatch
faultActor:
faultNode:
faultDetail:
{ http://xml.apache.org/axis/}stackTrace:java.lang.IllegalArgumentException: argument type mismatch
at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157)
at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
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.Ca... ''

Any ideas?


This topic has been closed for replies.

1 reply

Inspiring
June 10, 2008
> Any ideas?

Well... yes:

> faultString: java.lang.IllegalArgumentException: argument type mismatch

That'd be it.

Check the data types of the arguments you're passing to the web service
match the data types it's expecting.

--
Adam
Participant
June 10, 2008
According to the wsdl all the inputs are strings, I am passing it strings, I even tried javacast on the values that were numeric to ensure it wasn't interpreting them as int or something, no luck.
June 10, 2008
It works fine for me using the code below. I am using CF8.0. I was able to cfdump the webservice and then its return value. Since I did not have a license I just use the getErr method and it returns the error, "License Key Required - visit http://www.maxmind.com/app/ccv2r_signup for free signup."

Give us details on your version and code.