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

How to send a request over port 443?

Expand Messages
  • jsamuelian
    I need to send a request over 443 with SSL. How do I do that? I don t see anything in any of the SOAP::Lite docs, or this group. My code is as follows, which
    Message 1 of 1 , Feb 16, 2006
      I need to send a request over 443 with SSL. How do I do that? I don't
      see anything in any of the SOAP::Lite docs, or this group.

      My code is as follows, which works, but via port 80. I've tried
      sticking a ":443" on the end of the whatever's, that doesn't do it.

      my $strURI = 'https://whatever/Authenticate';
      my $strProxy = 'http://whatever/WebService/Authentication.asmx';
      my $server = SOAP::Lite
      ->on_action(sub{return $strURI;})
      ->uri($strURI)
      ->proxy($strProxy);
      my $returned = $server
      ->call(SOAP::Data->name('Authenticate')->attr({xmlns
      => 'https://whatever'}) =>
      SOAP::Data->name('strUsername')->value("my_id")->type(''),
      SOAP::Data->name('strPassword')->value("my_pwd")->type('')
      )->result;


      Thanks VERY much, Jim
    Your message has been successfully submitted and would be delivered to recipients shortly.