• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Incompatible webservice?

New Here ,
Jun 09, 2008 Jun 09, 2008

Copy link to clipboard

Copied

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?


TOPICS
Advanced techniques

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 09, 2008 Jun 09, 2008

Copy link to clipboard

Copied

> 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 10, 2008 Jun 10, 2008

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 10, 2008 Jun 10, 2008

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation