Hopefully you were just missing that fix I described in my previous email. If 
not then note that you can also call this web service by using the cfhttp tag 
with a url that looks like this:

http://ws.fraudlabs.com/ip2locationwebservice.asmx/IP2Location?IP=<an ip 
address>&LICENSE=<my_license>

Paul

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of john
Sent: Wednesday, September 17, 2008 11:02 AM
To: Open BlueDragon
Subject: [OpenBD] Consuming web services : error on compilation with some (dot 
net ?) services



Hello,

With some web services (always with  *.asmx), I have a compilation
error when I create the object in OpenBD.
I think it is a cast problem.
Maybe with a more recent of Axis, this problem disappear ?
Do you have an idea or suggestions ?



ie (conf : Vista + JDK 6 + Tomcat 6) :

<cfset test = CreateObject("webservice","http://ws.fraudlabs.com/
ip2locationwebservice.asmx?wsdl") />


Result :

Unrecognized error code: Failed to compile web service generated
client classes for http://ws.fraudlabs.com/ip2locationwebservice.asmx?wsdl.
The compiler error messages follow: Note: sun.tools.javac.Main has
been deprecated. C:\Users\john\workspace\myproject\WEB-INF\bluedragon
\work\temp\ws\302\gLbJzNie4Sv0IEotAWNCgQ_61_61\com\fraudlabs\ws
\IP2LOCATION.java:10: Interface
com.naryx.tagfusion.cfm.xml.ws.encoding.ser.IComplexObject of class
com.fraudlabs.ws.IP2LOCATION not found. public class IP2LOCATION
implements java.io.Serializable,
com.naryx.tagfusion.cfm.xml.ws.encoding.ser.IComplexObject { ^ C:\Users
\john\workspace\myproject\WEB-INF\bluedragon\work\temp\ws
\302\gLbJzNie4Sv0IEotAWNCgQ_61_61\com\fraudlabs\ws
\Ip2LocationWebServiceSoapStub.java:167: Invalid cast from
java.lang.Object to com.fraudlabs.ws.IP2LOCATION. return
(com.fraudlabs.ws.IP2LOCATION) _resp; ^ C:\Users\john\workspace
\myproject\WEB-INF\bluedragon\work\temp\ws
\302\gLbJzNie4Sv0IEotAWNCgQ_61_61\com\fraudlabs\ws
\Ip2LocationWebServiceSoapStub.java:169: Invalid cast from
java.lang.Object to com.fraudlabs.ws.IP2LOCATION. return
(com.fraudlabs.ws.IP2LOCATION)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.fraudlabs.ws.IP2LOCATION.class); ^ 3 errors, 1 warning



--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to