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

6392AW: [soaplite] Problem with request [2 Attachments]

Expand Messages
  • Martin Busik
    Nov 15, 2009
    • 0 Attachment
      Hi Paolo,

      > Is there someone that could provide me some sample code for
      > this request ?

      my $proxy = SOAP::Lite->proxy('http:/192.168.1.1/:20000'); # Endpoint,
      defined in your wsdl

      my $TNS_NS = "http://www.gruppounieuro.com/wsdl";
      my $TEMPURI_NS = "http://tempuri.org";

      $proxy->serializer->register_ns($TNS_NS);
      $proxy->serializer->register_ns($TEMPURI_NS);

      my $tnsprefix = $proxy->serializer->find_prefix($TNS_NS);
      my $tempuriprefix = $proxy->serializer->find_prefix($TEMPURI_NS);

      my $response = $proxy->call(
      "$tnsprefix:S_IntCli",

      SOAP::Data->name('Cogn')->value('ANITA')->type("$tempuriprefix:scastring.wit
      hnull"),

      SOAP::Data->name('Nome')->value('CALLIKU')->type("$tempuriprefix:scastring.w
      ithnull"),

      SOAP::Data->name('Cap')->value('17055')->type("$tempuriprefix:scastring.with
      null"),

      SOAP::Data->name('P_iva')->value('')->type("$tempuriprefix:scastring.withnul
      l"),
      );

      Cheers,
      Martin
    • Show all 5 messages in this topic