Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to parse soap 1.1 message wcf client
    primarykey
    data
    text
    <p>Good day all, I am consuming soap 1.1 service built on Apache axis via WCF client. Issue is that both fault and normal response are not parsed by built in deserilizer of WCF and i am getting an exception related to XML parsing when calling a web operation via wcf client. When I inspect the message I got this:</p> <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" /&gt; &lt;soapenv:Body&gt; &lt;V2Response xmlns="urn:ETS"&gt; &lt;V2Return xsi:type="ns1:TResponse" xmlns:ns1="urn:ETS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;fulfilmentRef&gt;&lt;/fulfilmentRef&gt; &lt;paymentRef&gt;&lt;/paymentRef&gt; &lt;statusCode&gt;2013&lt;/statusCode&gt; &lt;statusDescription&gt;ePayments: Invalid client password specified in request.&lt;/statusDescription&gt; &lt;transactionId xsi:nil="true" /&gt; &lt;transactionTimeStamp&gt;2013-06-21T08:22:16.483Z&lt;/transactionTimeStamp&gt; &lt;/V2Return&gt; &lt;/V2Response&gt; &lt;/soapenv:Body&gt; &lt;/soapenv:Envelope&gt; </code></pre> <p>The exception which I am getting is:</p> <pre><code>&gt; The specified type was not recognized: name='TResponse', namespace='urn:ETS', at &lt;V2Return xmlns='urn:ETS'&gt; </code></pre> <p>I have a valid <code>TResponse</code> class in <code>Reference.cs</code>, please let me know if this can be handled by changing configurations, I was expecting WCF client to parse any soap message but it couldn't, I cannot change anything on server side, it is the 3rd party api.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload