Server was unable to read request
Jeg ved ikke ret meget om XML, men skal bruge det ifm. noget kommunikation til et andet system. Den kode jeg sender afsted ser således ud :<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://wwww.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PersonSoegning xmlns="http://xxx.dk/webservice">
<userid>APOLLON1</userid>
<password>87208700</password>
<xmldom>
<Person_search>
<Person>
<Name>test testensen</Name>
<Address>
<Postal_address>testvej 2</Postal_address>
<Post_code>8600</Post_code>
</Address>
</Person>
</Person_search>
</xmldom>
</PersonSoegning>
</soap:Body>
</soap:Envelope>
og svaret jeg får tilbage er flg.:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Server was unable to read request. --> There is an error in XML document (3, 7). --> 'Element' is an invalid node type. Line 3, position 7.</faultstring>
<detail/>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Jeg ved ikke hvad der er galt, men jeg har fået at vide at det kunne være HTML encoding'en.
Er der nogen der har en løsning på dette problem ?
