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

classes with dots in name

Expand Messages
  • Nick Potemkin
    Hello, All. I m newbie, so i ll ask stupid questions :) Now i have to write server to process a query from some client (i can t modify this query). Client send
    Message 1 of 2 , Jun 30, 2003
    • 0 Attachment
      Hello, All.

      I'm newbie, so i'll ask stupid questions :)

      Now i have to write server to process a query from some client (i can't
      modify this query).

      Client send me request like that
      <?xml version="1.0" encoding="utf-8" ?>
      <s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
      <s:Body><Registration xmlns='urn:Microsoft.Search'>.....

      So, How can i specify to dispatcher that Microsoft.Search class is "Microsoft"
      class in my system?
      Now i've only
      "Failed to access class (Microsoft.Search) at /usr/local/share/perl/5.6.1/SOAP/Lite.pm line 2100."

      I dont want to modify SOAP::Lite's source code yet :)


      --
      Nick Potemkin
      Eniro Rus-M
      http://www.eniro-m.ru
      ::: Yellow Pages Moscow
      http://www.yellowpages.ru
      phone: +7 (095) 799-55-55
      fax: +7 (095) 799-55-09
    • Tilman Koschnick
      Hallo Nick, try something like this: #!/usr/bin/perl use SOAP::Transport::HTTP; my $daemon = SOAP::Transport::HTTP::Daemon - new(LocalPort = xx )
      Message 2 of 2 , Jun 30, 2003
      • 0 Attachment
        Hallo Nick,

        try something like this:

        #!/usr/bin/perl

        use SOAP::Transport::HTTP;

        my $daemon = SOAP::Transport::HTTP::Daemon
        ->new(LocalPort => 'xx')
        ->dispatch_with({
        'urn:Microsoft.Search' => 'My::Module'
        })
        ->handle;

        Regards, Til



        Nick Potemkin wrote:
        > Hello, All.
        >
        > I'm newbie, so i'll ask stupid questions :)
        >
        > Now i have to write server to process a query from some client (i can't
        > modify this query).
        >
        > Client send me request like that
        > <?xml version="1.0" encoding="utf-8" ?>
        > <s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
        > <s:Body><Registration xmlns='urn:Microsoft.Search'>.....
        >
        > So, How can i specify to dispatcher that Microsoft.Search class is "Microsoft"
        > class in my system?
        > Now i've only
        > "Failed to access class (Microsoft.Search) at /usr/local/share/perl/5.6.1/SOAP/Lite.pm line 2100."
        >
        > I dont want to modify SOAP::Lite's source code yet :)
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.