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

Re: [soaplite] short syntax for autodispatch

Expand Messages
  • Paul Kulchenko
    Hi Frank-Peter, This may help: http://groups.yahoo.com/group/soaplite/message/1354 http://groups.yahoo.com/group/soaplite/message/838 Best wishes, Paul. ...
    Message 1 of 3 , Oct 16, 2002
    • 0 Attachment
      Hi Frank-Peter,

      This may help:

      http://groups.yahoo.com/group/soaplite/message/1354
      http://groups.yahoo.com/group/soaplite/message/838

      Best wishes, Paul.

      --- Frank-Peter Reich <fpreich@...> wrote:
      > Hello,
      > attention, this may be a newbie question!
      >
      > I try to use the famous short syntax for autodispatch
      > in a function, but there is a big problem for me with
      > the following code:
      >
      > call_soap_server('srssun7:');
      >
      > sub call_soap_server {
      > use SOAP::Lite +autodispatch =>
      > uri => 'urn',
      > proxy => "http://$_[0]:8086",
      > on_fault => sub { my($soap, $res) = @_;
      > die ref $res ? $res->faultdetail :
      > $soap->transport->status, "\n"
      > };
      > }
      > The result is:
      > 500 Can't connect to :8086 (Bad hostname '')
      > Any other try to use the host as variable fails.
      > Only the hardcoded line:
      > proxy => "http://srssun7:8086"
      > is working fine.
      > Do You have any suggestion ?
      > TIA
      >
      > fp$
      >
      >
      > =====
      > I'm currently dodging core dumps falling from the sky,
      > but I think I'm running in generally right direction...
      > -- Jarkko Hietaniemi
      >
      > __________________________________________________________________
      >
      > Gesendet von Yahoo! Mail - http://mail.yahoo.de
      > M�chten Sie mit einem Gru� antworten? http://grusskarten.yahoo.de
      >
      > ------------------------ Yahoo! Groups Sponsor
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >


      __________________________________________________
      Do you Yahoo!?
      Faith Hill - Exclusive Performances, Videos & More
      http://faith.yahoo.com
    • Frank-Peter Reich
      Hi Paul, First of all: You did a great job with SOAP::Lite; unbelievable the possibilities. And thank You for the hint. Now it works fine. Regards Frank-Peter
      Message 2 of 3 , Oct 17, 2002
      • 0 Attachment
        Hi Paul,

        First of all: You did a great job with SOAP::Lite;
        unbelievable the possibilities.
        And thank You for the hint. Now it works fine.

        Regards

        Frank-Peter

        --- Paul Kulchenko <paulclinger@...> schrieb: >
        Hi Frank-Peter,
        >
        > This may help:
        >
        > http://groups.yahoo.com/group/soaplite/message/1354
        > http://groups.yahoo.com/group/soaplite/message/838
        >
        > Best wishes, Paul.
        >
        > --- Frank-Peter Reich <fpreich@...> wrote:
        > > Hello,
        > > attention, this may be a newbie question!
        > >
        > > I try to use the famous short syntax for
        > autodispatch
        > > in a function, but there is a big problem for me
        > with
        > > the following code:
        > >
        > > call_soap_server('srssun7:');
        > >
        > > sub call_soap_server {
        > > use SOAP::Lite +autodispatch =>
        > > uri => 'urn',
        > > proxy => "http://$_[0]:8086",
        > > on_fault => sub { my($soap, $res) = @_;
        > > die ref $res ? $res->faultdetail :
        > > $soap->transport->status,
        > "\n"
        > > };
        > > }
        > > The result is:
        > > 500 Can't connect to :8086 (Bad hostname '')
        > > Any other try to use the host as variable fails.
        > > Only the hardcoded line:
        > > proxy => "http://srssun7:8086"
        > > is working fine.
        > > Do You have any suggestion ?
        > > TIA
        > >
        > > fp$
        > >
        > >
        > > =====
        > > I'm currently dodging core dumps falling from the
        > sky,
        > > but I think I'm running in generally right
        > direction...
        > > -- Jarkko Hietaniemi
        > >
        > >
        >
        __________________________________________________________________
        > >
        > > Gesendet von Yahoo! Mail - http://mail.yahoo.de
        > > Möchten Sie mit einem Gruß antworten?
        > http://grusskarten.yahoo.de
        > >
        > > ------------------------ Yahoo! Groups Sponsor
        > >
        > > To unsubscribe from this group, send an email to:
        > > soaplite-unsubscribe@yahoogroups.com
        > >
        > >
        > >
        > > Your use of Yahoo! Groups is subject to
        > > http://docs.yahoo.com/info/terms/
        > >
        > >
        >
        >
        > __________________________________________________
        > Do you Yahoo!?
        > Faith Hill - Exclusive Performances, Videos & More
        > http://faith.yahoo.com

        __________________________________________________________________

        Gesendet von Yahoo! Mail - http://mail.yahoo.de
        Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de
      Your message has been successfully submitted and would be delivered to recipients shortly.