Bug in xmllib.apl 5.1

forum.gupta.bugreport (2005-2010)
tk

Bug in xmllib.apl 5.1

Post by tk » 11 Oct 2007, 17:44

 Posted by:  tk 

I have an application in TD4.1, that uses "XMLDocument.loadFromString" from
"xmllib.apl". In V4.2 all works fine, but in TD5.1 the same method, with the
same parameters always returns FALSE.

tk

Jean-Marc Gemperle

Re: Bug in xmllib.apl 5.1

Post by Jean-Marc Gemperle » 19 Oct 2007, 13:36

 Posted by:  Jean-Marc Gemperle 

Yes unfortuantely this is a known bug... I've seen the issue when working
with previous HTTREQUESTER Web Service sample.I've try using the
setFeature() for the XML without success...

Jean-Marc

This is a WEB service invokation via HTTPREQUESTER that works fine in TD 4.2
as long the web service endpoint is up and running...but in this case in TD
5.1 the XML representing the SOAP envolope fail to load while this was
working fine in TD 4.2. I'm not sure if I do something wrong...

Here is the XML

Set sEndPoint="http://www.webservicex.net/uklocation.asmx?wsdl"
Set sSOAPEnvolope = '



'||df1||'



'
If NOT oSOAPEnvolope.loadFromString( sSOAPEnvolope )
Call oSOAPEnvolope.getLastError( nError, mlSOAPMsg )

GIVES ERROR

String: "Error in: SQLWIN_STRING
line number: 2
column: 1
Invalid document structure"

tk

Re: Bug in xmllib.apl 5.1

Post by tk » 02 Nov 2007, 10:12

 Posted by:  tk 

Hi Jean-Marc,

your XML is well-formed and I can't see any error too ^^

thomas

Return to “gupta.bugreport”

Who is online

Users browsing this forum: [Ccbot] and 1 guest