Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

XML declaration allowed only at the start of the document #15

Closed
brandonros opened this issue Nov 9, 2016 · 3 comments
Closed

XML declaration allowed only at the start of the document #15

brandonros opened this issue Nov 9, 2016 · 3 comments

Comments

@brandonros
Copy link

This page contains the following errors:

error on line 14 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

Trying to access the WSDL in the browser. Maybe that's a bad idea?

Running QBWC says "No data exchange required" which seems positive, but I see no logged events on the server output either.

@MattMorgis
Copy link
Member

Hi @brandonros, not sure why you'd want to access in a browser, what are you trying to accomplish by doing that?

Are you running this from the command line or including it in an express.js application?

If you have granted access to your QBWC application and correctly set your environment variables, you should see the No data exchange required and this line in the QBWC log file:

Received from authenticate() following parameters:<authRet[0]="some-generic-guid">  
<authRet[1]="NONE"><authRet[2]=""><authRet[3]="">

I'm still pecking away at this module to get it to 1.0.0. Once I complete #12, I'll be at that point (hopefully within the next day or two). Basically what is happening is your QBWC is correctly connecting to your SOAP service, but it's not sending any qbXML commands to run, it's simply saying there is nothing in the queue. #12 will give you the ability to pass in qbXML commands and handle responses.

I also have no logging configured yet in this. Issue #16 speaks to that, and will give you the ability to set different logging levels as needed.

Let me know if you have any other issues or questions?

@MattMorgis
Copy link
Member

Hi @brandonros,

I finished #12 and updated the README with an example qbXMLHandler class that can send and receive the qbXML requests and responses.

Let me know if you have any questions or issues going forward, but I have now fully integrated this with one of my websites. I'll leave this open for another day or two and close it if I don't hear from ya.

Cheers 🍻

@MattMorgis
Copy link
Member

I'm going to close this since it's been about 2 weeks since I've last heard from you. Please open up another issue if you have any other questions!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants