Board index » delphi » XML document must have a top level element
Mark Weston
![]() Delphi Developer |
XML document must have a top level element2008-01-17 06:09:27 AM delphi48 I'm hoping someone has some insight they can offer on a bizarre situation I am facing. I have a Delphi Win32 ISAPI Web Service compiled in October last year that when hosted in IIS on my local PC can be successfully called by both Delphi and Java clients. Today, I simply recompile with no changes to the source code and no updates to Delphi. Now, only the Delphi client can call the web service. The Java client gets a SOAP fault "XML document must have a top level element". In addition, the response has extra text at the beginning that last year's version does not "--MIME_boundaryB0R9532143182121 Content-Type: text/xml nContent-ID: <www.borland.com/rootpart.xml> Content-Location: www.borland.com/rootpart.xml Content-Length: 479" So I guess something has changed but I don't know what could be causing Delphi to emit different binary code. The PCs at work have updates pushed to them automatically, but Delphi is not subject to these. I'm at a loss. Any and all suggestions gratefully received! Thanks in advance. Mark |