> 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(... ''

I can only guess that there's something in the XML being passed
around. Can you use a packet sniffer or recording proxy to examine the
traffic? Can you use something else beside CF to attempt to connect to
the web service, then record that traffic also, then compare the two?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:315930
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to