Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Client found response content type of 'text/plain' ?
Message
From
03/09/2006 19:33:46
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web Services
Title:
Client found response content type of 'text/plain' ?
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01150638
Message ID:
01150638
Views:
96
Hi friends
am call a 3rd party web service and when i call one of their methods i get above error
any ideas how to resolve this please ?
Thanks for ur help

full error text
Client found response content type of 'text/plain', but expected 'text/xml'.
The request failed with the error message:
--
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:submissionGateway/wsdl" xmlns:intf="urn:submissionGateway/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:sg="urn:submissionGateway" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:submissionGateway/wsdl">
    <wsdl:types>
        <schema targetNamespace="urn:submissionGateway/wsdl" xmlns="http://www.w3.org/2001/XMLSchema">
            <import namespace="urn:submissionGateway" schemaLocation="submissionGateway.xsd"/>
        </schema>
    </wsdl:types>
    <wsdl:message name="soapIn">
        <wsdl:part name="send" element="sg:send"/>
    </wsdl:message>
    <wsdl:message name="soapOut">
        <wsdl:part name="sendResponse" element="sg:sendResponse"/>
    </wsdl:message>
    <wsdl:message name="getVersionRequest">
   </wsdl:message>
    <wsdl:message name="getVersionResponse">
        <wsdl:part name="getVersionResponse" element="sg:getVersionResponse"/>
    </wsdl:message>
    <wsdl:message name="validateAccountRequest">
        <wsdl:part name="validateAccount" element="sg:validateAccount"/>
    </wsdl:message>
    <wsdl:message name="validateAccountResponse">
        <wsdl:part name="validateAccountResponse" element="sg:validateAccountResponse"/>
    </wsdl:message>
    <wsdl:portType name="SubmissionGateway">
        <wsdl:operation name="send">
            <wsdl:input message="impl:soapIn"/>
            <wsdl:output message="impl:soapOut"/>
        </wsdl:operation>
        <wsdl:operation name="getVersion">
            <wsdl:input message="impl:getVersionRequest"/>
            <wsdl:output message="impl:getVersionResponse"/>
        </wsdl:operation>
        <wsdl:operation name="validateAccount">
            <wsdl:input message="impl:validateAccountRequest"/>
            <wsdl:output message="impl:validateAccountResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SubmissionGatewaySoapBinding" type="impl:SubmissionGateway">
        <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="send">
            <wsdlsoap:operation soapAction="urn:#send"/>
            <wsdl:input>
                <wsdlsoap:body use="literal" namespace="urn:submissionGateway/wsdl"/>
            </wsdl:input>
            <wsdl:output>
                <wsdlsoap:body use="literal" namespace="urn:submissionGateway/wsdl"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getVersion">
            <wsdlsoap:operation soapAction="urn:#getVersion"/>
            <wsdl:input>
                <wsdlsoap:body use="literal" namespace="urn:submissionGateway/wsdl"/>
            </wsdl:input>
            <wsdl:output>
                <wsdlsoap:body use="literal" namespace="urn:submissionGateway/wsdl"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="validateAccount">
            <wsdlsoap:operation soapAction="urn:#validateAccount"/>
            <wsdl:input>
                <wsdlsoap:body use="literal" namespace="urn:submissionGateway/wsdl"/>
            </wsdl:input>
            <wsdl:output>
                <wsdlsoap:body use="literal" namespace="urn:submissionGateway/wsdl"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SubmissionGatewayService">
        <wsdl:port name="SubmissionGateway" binding="impl:SubmissionGatewaySoapBinding">
            <wsdlsoap:address location="http://hlk-dbtest:5099/SubmissionGateway"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>
--.
Next
Reply
Map
View

Click here to load this message in the networking platform