Look in the Open BlueDragon Release Notes for the version you are using and 
make sure you see the following entry:

- fixed reference to OpenBlueDragon.jar for Web services handling

If you don't see this entry then you need to download a newer version of OpenBD 
that contains this fix.

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