-
Support Request
-
Resolution: Resolved Locally
-
Low
-
None
-
3.6.1
-
None
-
None
-
your test instance
running against http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
using latest out-of-the-box visual studio 2005.
Created a c# console project, added a web reference to http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
then executed this code:
#com.atlassian.jira.JiraSoapServiceService svc = new com.atlassian.jira.JiraSoapServiceService();
#Console.WriteLine(svc.login("soaptester", "soaptester"));
blew up with:
Client found response content type of 'text/plain; charset=UTF-8', but expected 'text/xml'.
The request failed with the error message:
–
<?xml version="1.0" encoding="utf-8"?><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"><soapenv:Body><ns1:loginResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://soap.rpc.jira.atlassian.com"><loginReturn xsi:type="xsd:string">0UR3Aa1083</loginReturn></ns1:loginResponse></soapenv:Body></soapenv:Envelope>
--.
suggests the repsonse mime type is set to 'text/plain; charset=UTF-8' which aint valid.
- is related to
-
JRASERVER-11515 SOAP Response Content Type is 'text/plain' instead of 'text/xml'
- Closed