Thread View: microsoft.public.dotnet.framework.webservices
1 messages
1 total messages
Started by Ale Cogn
Wed, 14 Sep 2022 07:48
SoapHttpClientProtocol.Invoke() InvalidOperationException “Response is not well-formed XML.“ InnerException is "Missing root el...
Author: Ale Cogn
Date: Wed, 14 Sep 2022 07:48
Date: Wed, 14 Sep 2022 07:48
31 lines
2680 bytes
2680 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads