cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DI Server Issue: Invalid XML Error

Former Member
0 Likes
1,094

I am getting this error message back from the DI Server:

27/11/2010 16:27:43 Request

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="LoginService"><SOAP-ENV:Body><ns1:Login><ns1:DatabaseServer>(local)</ns1:DatabaseServer><ns1:DatabaseName>SBODemoUS</ns1:DatabaseName><ns1:DatabaseType>dst_MSSQL2008</ns1:DatabaseType><ns1:CompanyUsername>manager</ns1:CompanyUsername><ns1:CompanyPassword>1111</ns1:CompanyPassword><ns1:Language>ln_English</ns1:Language><ns1:LicenseServer>localhost:30000</ns1:LicenseServer></ns1:Login></SOAP-ENV:Body></SOAP-ENV:Envelope>

27/11/2010 16:27:43 Response (Fault)

<?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Sender</env:Value></env:Code><env:Reason><env:Text xml:lang="en">Invalid XML</env:Text></env:Reason><env:Detail><ErrorList><Error>System Id = 48139752, Line Number = 2, Column Number = 1, Description = Invalid document structure</Error></ErrorList></env:Detail></env:Fault></env:Body></env:Envelope>

I am using PHP to send a soap request in 1.2 format. I am using B1 8.8 on MSSQL2008R2 / Server 2007.

I know I am close, I have looked at the example schema and can't see what I am missing. Even if I include the DatabaseUser and Database Password entities, this does not work.

Thanks in advance.

View Entire Topic
Former Member
0 Likes

The error is Invalid document structure. That means PHP generated request has wrong format. Try some other formats to test.

Thanks,

Gordon

Former Member
0 Likes

Thanks Gordon; I have tried all of PHP SOAP's encoding types and I am still havign trouble. I am tryign to narrow down in this is a possible WSDL error, etc.

Am I missing anything completely obvious in my request? Has anyone done a PHP/DI server implementation that can point me in the right direction?

Thanks