how to do SOAP with PERL

XMLWordPrintable

    • Type: Support Request
    • Resolution: Answered
    • Priority: Medium
    • None
    • Affects Version/s: 3.4.2
    • Component/s: None

      Hi,

      I'd like to know how to do updateIssue with SOAP in a perl script.

      I included my script.
      I do get the summary printed of issue SANDBOX-29.
      But updateIssue does not work.

      I get the following error output:

      SOAPAction: "http://ctx008.nl.int.atosorigin.com:7778/jira/rpc/soap/jirasoapservice-v2?wsdl#updateIssue"

      <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp3:updateIssue xmlns:namesp3="http://ctx008.nl.int.atosorigin.com:7778/jira/rpc/soap/jirasoapservice-v2?wsdl"><c-gensym13 xsi:type="xsd:string">l75aaYXaVB</c-gensym13><c-gensym15 xsi:type="xsd:string">SANDBOX-29</c-gensym15><c-gensym17 xsi:type="xsd:string">summary</c-gensym17><c-gensym19 xsi:type="xsd:string">kiekeboe</c-gensym19></namesp3:updateIssue></SOAP-ENV:Body></SOAP-ENV:Envelope>
      SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x2118c80)
      SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Server Error
      Cache-Control: private
      Connection: Close
      Date: Thu, 02 Feb 2006 16:32:24 GMT
      Server: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
      Content-Type: text/xml; charset=utf-8
      Client-Date: Thu, 02 Feb 2006 16:32:33 GMT
      Client-Peer: 161.90.90.78:7778
      Client-Response-Num: 1
      Client-Transfer-Encoding: chunked
      Set-Cookie: JSESSIONID=a15a5a4e1e623e4191a3745d43a5a304b557abd72c85; Path=/jira

      <?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><soapenv:Fault><faultcode>Server.userException</faultcode><faultstring>No such operation 'updateIssue'</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">ctx008</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
      SOAP::Deserializer::deserialize: ()
      SOAP::Parser::decode: ()

      Can you help me with it?

      And is the an interface description of all SOAP services like updateIssue?

      Thanx,

      Jaap-Jan.

        1. soap.pl
          0.6 kB
          ATOS Origin SDMC OM Beheer

            Assignee:
            Unassigned
            Reporter:
            ATOS Origin SDMC OM Beheer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: