General information
Category:
Internet applications
I'm having a problem consuming a WebService,
If use the FFC soap class I get:
"WSDLReader:XML Parser failed at linenumber 2,lineposition 3, reason is: A document must contain exaclty one root element"
If I use wwSoap I Get:
"Only one top level element is allowed in an XML document"
So conclusion would be that the WDSL file is incorrectly formatted. Only I can open the WDSL doc, it is fine! Internet explorer shows the XML correctly formatted. This is a B2B interface and the source company can open and make function calls no problem from a java based script.
The URL call has a username and password (http:\\username:password@....) , could that be the problem? in wwSoap I take these out and put them in the wwHTTP object but I still get the error.
Anyone got ANY ideas?
Gary.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only