Loading ...
Sorry, an error occurred while loading the content.

Empty SOAP Results structure - Why?

Expand Messages
  • captcuffs
    I am issuing a SOAP request and receiving a response but when SOAP::Lite returns the result structure, the structure is all empty. Issuing print(
    Message 1 of 1 , May 17, 2010
    • 0 Attachment
      I am issuing a SOAP request and receiving a response but when SOAP::Lite returns the result structure, the structure is all empty. Issuing

      print( Dumper($RESULT->result));

      Returns:

      $VAR1 = {
      'sources' => {
      'source' => ''
      },
      'notes' => '',
      'partlist' => {
      'part' => [
      {
      'location' => '',
      'fileinfo' => {
      'file' => ''
      },
      'notes' => '',
      'metadata' => {
      'item' => ''
      }
      },
      {
      'location' => '',
      'fileinfo' => {
      'file' => ''
      },
      'notes' => '',
      'metadata' => {
      'item' => ''
      }
      }
      ]
      },
      'metadata' => ''
      };

      The XML returned by turning SOAP::Lite->import(trace => 'debug') is listed below.

      Note I am setting the following option in the soap handle ;

      my $SOAPHANDLE = SOAP::Lite
      -> proxy("http://$CodexServer/codex/codex.wsdl")
      -> default_ns("http://codex.corp.adobe.com/codex/schemas")
      -> autotype(0)
      # -> outputxml('true')
      -> readable(1);


      Returned XML document ===>

      <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><GetBuildByIdResponse xmlns="http://codex.corp.adobe.com/codex/schemas"><build version="CS5" user="suitbldr" subproduct="Application" status="Available" product="Design Premium" platform="osx10" licensemodel="Universal" language="de_DE,es_ES,es_MX,fr_CA,fr_FR,it_IT,nl_NL,pt_BR,sv_SE" id="1493263" format="DVD Image Set" datemodified="2010/05/11:20:36:12" date="2010/05/11:20:31:38" compilertarget="None" certlevel="Not Tested" build="656.1.0"><sources><source server="yorktown.corp.adobe.com:1820" query="@212191" protocol="p4" path="//suites/dev/cs5/..." /></sources><notes /><metadata /><partlist><part version="CS5" user="suitbldr" subproduct="Application" revision="656.1.0" product="Design Premium" platform="osx10" partnumber="1" licensemodel="Universal" language="de_DE,es_ES,es_MX,fr_CA,fr_FR,it_IT,nl_NL,pt_BR,sv_SE" id="10126" format="DVD9 Image" datemodified="2010/05/11:20:36:07" date="2010/05/11:20:31:38" compilertarget="None" buildid="1493263"><location uri="ftp://sjstore.corp.adobe.com/builds01/designpremium/CS5/Application/osx10/ContinentalEurope/656.1.0/Universal/DVDImageSet/DISC1/" status="Available" server="sjstore.corp.adobe.com" query="" protocol="ftp" path="/builds01/designpremium/CS5/Application/osx10/ContinentalEurope/656.1.0/Universal/DVDImageSet/DISC1/" locationid="982334" /><notes /><metadata><item value="91013025" key="Disc Part Number" id="1358195" /></metadata><fileinfo><file size="7515236352" md5="60183fe177d4e43b881cc9adec2f571b" filename="MDIA_DesignPremium_CS5_D1_LS4.iso" /></fileinfo></part><part version="CS5" user="suitbldr" subproduct="Application" revision="656.1.0" product="Design Premium" platform="osx10" partnumber="2" licensemodel="Universal" language="de_DE,es_ES,es_MX,fr_CA,fr_FR,it_IT,nl_NL,pt_BR,sv_SE" id="10127" format="DVD9 Image" datemodified="2010/05/11:20:36:10" date="2010/05/11:20:31:38" compilertarget="None" buildid="1493263"><location uri="ftp://sjstore.corp.adobe.com/builds01/designpremium/CS5/Application/osx10/ContinentalEurope/656.1.0/Universal/DVDImageSet/DISC2/" status="Available" server="sjstore.corp.adobe.com" query="" protocol="ftp" path="/builds01/designpremium/CS5/Application/osx10/ContinentalEurope/656.1.0/Universal/DVDImageSet/DISC2/" locationid="982335" /><notes /><metadata><item value="91019932" key="Disc Part Number" id="1358196" /></metadata><fileinfo><file size="220502016" md5="d4942ea4ce6c3464b8cbd709843e2f76" filename="MDIA_DesignPremium_CS5_D2_LS4.iso" /></fileinfo></part></partlist></build><performancedata><response>71</response><meanresponse>169.521</meanresponse></performancedata></GetBuildByIdResponse></soapenv:Body></soapenv:Envelope>
    Your message has been successfully submitted and would be delivered to recipients shortly.