Information générale
Catégorie:
Applications Internet
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement