Article View: microsoft.public.dotnet.framework.webservices
Article #1SoapHttpClientProtocol.Invoke() InvalidOperationException “Response is not well-formed XML.“ InnerException is "Missing root el...
From: 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
Technical Details
Message-ID:
<40688885-8cca-496c-b41b-48eb2dd3dba0n@googlegroups.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <40688885-8cca-496c-b41b-48eb2dd3dba0n@googlegroups.com>
Subject: SoapHttpClientProtocol.Invoke() InvalidOperationException “Response is not well-formed XML.“ InnerException is "Missing root element."
Date: Wed, 14 Sep 2022 07:48:36 +0000
From: Ale Cogn <newalecogn@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
X-Received: by 2002:a05:620a:15e7:b0:6cb:e3bc:5844 with SMTP id p7-20020a05620a15e700b006cbe3bc5844mr19111793qkm.774.1663141716758;
Wed, 14 Sep 2022 00:48:36 -0700 (PDT)
X-Received: by 2002:a05:620a:4407:b0:6cb:e0a6:87f2 with SMTP id
v7-20020a05620a440700b006cbe0a687f2mr19736225qkp.724.1663141716504; Wed, 14
Sep 2022 00:48:36 -0700 (PDT)
Newsgroups: microsoft.public.dotnet.framework.webservices
Injection-Info: google-groups.googlegroups.com; posting-host=128.116.236.179; posting-account=movmlwoAAADFd0Df6yFpsAFbs2VZpYGl
NNTP-Posting-Host: 128.116.236.179
User-Agent: G2/1.0
MIME-Version: 1.0
Injection-Date: Wed, 14 Sep 2022 07:48:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2298