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

SoapHttpClientProtocol.Invoke() InvalidOperationException “Response is not well-formed XML.“ InnerException is "Missing root element."

7 views
Skip to first unread message

Ale Cogn

unread,
Sep 14, 2022, 3:48:37 AM9/14/22
to
Buongiorno,

il metodo SoapHttpClientProtocol.Invoke() va in eccezione, nonostante la richiesta sia corretta (è formulata sempre allo stesso modo da anni) e la risposta sembra corretta (va in errore da poco):

<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<AssociateProductResponse
xmlns="http://tempuri.org/">
<AssociateProductResult>
<ItemId>1999999</ItemId>
<SizeScaleId>0</SizeScaleId>
<Success>false</Success>
<ErrorMessages>
<string>Desc</string>
</ErrorMessages>
<Barcodes/>
</AssociateProductResult>
</AssociateProductResponse>
</soap:Body>
</soap:Envelope>

cosa non va nella risposta che ricevo?
cos'altro può essere?

grazie

0 new messages