So I've been trying to figure this one out. I've come across a lot of talk about BOM (byte order marks) causing this issue. Anyone come across this? I obviously am not writing anything that has to do with how the data is passed. Even if I knew where I could interrupt the process before the data was sent I'd rather not have to. Is there a way to force the character encoding in Java at the CF server level so I can see if this is the problem?
-----Original Message----- From: Jeff Langevin [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 3:58 PM To: cf-talk Subject: RE: Third-party web services and soap Okay so you obviously were correct that I can instantiate locally. <cfscript> KinteraWS = createObject("webservice", "URL to KinteraConnect.wsdl"); LoginRequest = createObject("java","com.kintera.schema.API.LoginRequest"); LoginRequest.setLoginName("foo"); LoginRequest.setPassword("bar"); KinteraWS.login(LoginRequest); </cfscript> I can cfdump the objects and see their methods. The KinteraWS has a login method that displays like this in the cfdump: login(com.kintera.schema.API.LoginRequest) So I instantiated a LoginRequest object using the code above and added the username and password. However, when I call KinteraWS.login(LoginRequest); I get the following error. Any idea as to what I'm missing here in my syntax? Cannot perform web service invocation login. The fault returned when invoking the web service operation is: AxisFault faultCode: {http://www.w3.org/2003/05/soap-envelope}Server.userException faultSubcode: faultString: org.xml.sax.SAXParseException: Content is not allowed in prolog. faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(... '' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315918 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

