PDA

View Full Version : SOAP SAXException


code
05-19-2006, 02:13 PM
I'm trying to replace a PHP application that interacts with SalesForce. The LZX code is very simple:

<canvas debug="true">
<soap name="SalesForce" wsdl="http://na1.salesforce.com/soap/wsdl.jsp">

<handler name="onload">
Debug.inspect(this.proxy);
</handler>
</soap>
</canvas>

When I run the code, I get the following error message:

SalesForce load error: data source error for soap://soap: SAXException: The declaration for the entity "HTML.Version" must end with '>'.

I'm not exactly sure I understand the error. If I change the wsdl location to, say, Google's API it loads fine so I know there must be an issue with SalesForce's wsdl file ... of course, I don't know what that problem might be. I could really use some help getting started with this project and would be eternally grateful for any pointers.

code
05-19-2006, 05:10 PM
I found the answer, SalesForce requires you to login to view the WSDL. I downloaded the WSDL to a file and that fixed the problem.