PDA

View Full Version : علت این خطا چیست ؟



clover
دوشنبه 18 آبان 1388, 16:28 عصر
موقع استفاده از یک وب سرویس با این خطا مواجه میشم ، علت از کجاست ؟

The content type application/xml of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<?xml version ='1.0' encoding ='UTF-8' ?>
<definitions name='IranMC'
targetNamespace='http://30ds.com/Webservice/IranMC'
xmlns:tns='http://30ds.com/Webservice/IranMC'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns='http://schemas.xmlsoap.org/wsdl/'>

<message name='GetSendPriceRequest'>
<part name='ProductSumPrice' type='xsd:string'/>
<part name='ProductSumWeight' type='xsd:string'/>
<part name='OstanId' type='xsd:int'/>
<part name='ShahrId' type='xsd:int'/>
<part name='SendType' type='xsd:int'/>
</message>
<message name='GetSendPriceResponse'>
<part name='Result' type='xsd:string'/>
</message>

<message name='RegisterOrderRequest'>
<part name='Name' type='xsd:string'/>
<part name='LastName' type='xsd:string'/>
<part name='Company' type='xsd:string'/>
<part name='JobTel' type='xsd:string'/>
<part name='HomeTel' type'.