Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Not well-formed (invalid token)

17 views
Skip to first unread message

nancy

unread,
Jul 24, 2010, 8:27:54 AM7/24/10
to
Hello,

I got this error

XML Parsing Error at 1:1. Error 4: Not well-formed (invalid toke)

[0] => POST /Inventario.asmx HTTP/1.1
[1] => Host: 192.160.0.100:81
[2] => Content-Length: 479
[3] => Content-Type: text/xml; charset=utf-8
[4] => Connection: close
[5] => SOAPAction: "http://tempuri.org/GetTopSellersFromCategory"

[6] => <soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetTopSellersFromCategory xmlns="http://tempuri.org/">
<ASIN>AMB000E43GP8</ASIN>
<NroArticulos>5</NroArticulos>
<CategoriaTraetelo>53</CategoriaTraetelo>
<UsarSemilla>false</UsarSemilla>
</GetTopSellersFromCategory>
</soap:Body>
</soap:Envelope>
)

in node 6 doesn´t appear this line

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

I think that the problem is < before ?xml

I tested with <?xml but it doesn't work

and my result is

Array ( [0] => POST /Inventario.asmx HTTP/1.1 [1] => Host:
192.160.0.100:81 [2] => Content-Length: 479 [3] => Content-Type:
text/xml;
charset=utf-8 [4] => Connection: close [5] => SOAPAction:
"http://tempuri.org/GetTopSellersFromCategory" [6] =>
AMB000E43GP8
5 53 false )

Node 6 is incomplete
Please! help me!

Thank you
0 new messages