Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10743

Visual studio 2005 c# client breaks on calling jira soap service

    XMLWordPrintable

Details

    • Support Request
    • Resolution: Resolved Locally
    • Low
    • None
    • 3.6.1
    • None
    • None
    • your test instance

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              0e408036d1cc Alex Fishlock
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: