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

AW: [soaplite] using data structures in PERL SOAP::Lite calling sequence

Expand Messages
  • Martin Busik
    Hi, ... You need to look for complexType , one possible way is: $proxy- call( qtype:findGtypeByGroupList , SOAP::Data- name( qtype:GtypeListCriteria )- value(
    Message 1 of 2 , Mar 27, 2010
    • 0 Attachment
      Hi,

      > I am new to SOAP::Lite within PERL and need this to access a
      > data repository. However, access to this repository is using
      > a function call (findGtypeByGroupList) that takes a data
      > structure as an argument.
      >
      > <soapenv:Body>
      > <gtype:findGtypeByGroupList>
      > <gtype:GtypeListCriteria>
      > <java:Gtype>
      > <java:Mtype>123</java:Mtype>
      > <java:AsOf>03-16-2010</java:AsOf>
      > </java:Gtype>
      > <java:Page>
      > <java:Start>0</java:Start>
      > <java:Limit>10000</java:Limit>
      > </java:Page>
      > <java:Audit>
      > <java:SysFrom>PV_Sys</java:SysFrom>
      > </java:Audit>
      > </gtype:GtypeListCriteria>
      > </gtype:findGtypeByGroupList>
      > </soapenv:Body>
      > </soapenv:Envelope>

      You need to look for "complexType", one possible way is:

      $proxy->call("qtype:findGtypeByGroupList",
      SOAP::Data->name("qtype:GtypeListCriteria")->value( \SOAP::Data->value(
      SOAP::Data->name("java:Gtype")->value( \SOAP::Data-value(
      SOAP::Data->name("java:Mtype")->value(123),
      SOAP::Data->name("java:AsOf")->value(03-16-2010)
      )
      )
      ...

      HTH,
      Martin
    Your message has been successfully submitted and would be delivered to recipients shortly.