Hi all, I'm trying to connect to a SOAP webservice through either <cfinvoke> or createObject() with no luck whatsoever.
1. The webservice is hosted on some other server through php, I should be able to connect to it using my username and password and run functions on it. 2. The webservice works if I try it with php, or using: http://www.bindingpoint.com/quicktryv2.aspx 3. Other webservices I can get to work on my server. It's just this particular one with this server. I tried to translate the provided php code into CF but keep getting the same error. I even tried the most basic one-line: <cfscript> myObj = createObject( 'webservice', 'http://url/To/Webservice.php?wsdl' ); </cfscript> The error I get goes like this and is the same for both cfinvoke and createObject: --------------------------------------------------- coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 2 syntax errors in "C:/CFusionMX7/stubs/WS-1930889944/com/prenames/webservices/soap/SearchResults.java": 10. public class SearchResults extends java.lang.Object[] implements java.io.Serializable { <> *** Syntax: { expected instead of this token 10. public class SearchResults extends java.lang.Object[] implements java.io.Serializable { <-------> *** Syntax: misplaced construct(s) .. --------------------------------------------------- I'm guessing there is some kind of incompatibility with the Java version of the provided webservice and that of CF. But that's just guessing... I have tried different approaches (using <cfinvoke> with <cfinvokearguments>, with passing in the username and password in different ways, using array's using plain text, all to no avail. It just keeps erroring out on line 1. the one with either the createObject or the <cfinvoke> on it.) Any Ideas? Thanks guys, Mingo. My specs: Windows 2003, IIS, CFMX7 (7.0.2, Apache Axis 1.2.1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260316 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

