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

how to stop SOAP::Lite from exiting application

Expand Messages
  • marc_dumontier
    Hi, I have the followign code my $service = SOAP::Lite - service( http://soap21.bind.ca/bind.wsdl ) - proxy( http://soap.bind.ca/services/BINDSOAP ,
    Message 1 of 1 , Apr 20 8:36 AM
    • 0 Attachment
      Hi,

      I have the followign code

      my $service = SOAP::Lite
      -> service('http://soap21.bind.ca/bind.wsdl')
      -> proxy('http://soap.bind.ca/services/BINDSOAP',
      cookie_jar => HTTP::Cookies->new(ignore_discard => 1));

      soap21.bind.ca is a non-valid hostname..when i run this code i get the
      following output

      [mrdumont@blueprint-14 perl]$ ./bindsoap.pl
      Service description 'http://soap21.bind.ca/bind.wsdl' can't be loaded:
      500 Can't connect to soap21.bind.ca:80 (Bad hostname 'soap21.bind.ca')


      I was wondering if there's a way to get this to return to me, so i can
      deal with it instead of killing the client.

      thanks,
      Marc
    Your message has been successfully submitted and would be delivered to recipients shortly.