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

Interop problems???

Expand Messages
  • colinfaulkingham
    I have a soap lite cgi- server at http://demo.indoff.com/DGWS/SOAP/GroupServices.plex When I run a SOAP::Lite client it works fine! #!perl use SOAP::Lite
    Message 1 of 3 , May 1, 2002
    • 0 Attachment
      I have a soap lite cgi- server at
      http://demo.indoff.com/DGWS/SOAP/GroupServices.plex When I run a
      SOAP::Lite client it works fine!

      #!perl
      use SOAP::Lite +trace;
      $result=SOAP::Lite->uri('GroupServices')->proxy
      ('http://demo.indoff.com/DGWS/SOAP/GroupServices.plex')->GetGroups
      (0,1,'cfaulkingham','blah0101')->result ."\n\n";

      You can run this exact script above and it works as expected! When I
      run a client from "Radio Userland" it does not work. So I asked if I
      was doing something wrong on the Radio-dev list and the answer I got
      form a Radio Developer was that the server was not sending the proper
      CRLF CRLF but only LF. This in fact was the reason why after
      debuging in Radio! Is their anything I can do about this. Does
      SOAP::Transport have any way of controlling this?

      You can read his response here:
      http://groups.yahoo.com/group/radio-dev/message/5965

      I tried the SOAP server with both PerlEx IIS 5.0 and Apache 1.3
      mod_perl same result. This is driving me nuts anyone's help would be
      appreciated.

      This is what the SOAP::Transport part of the script looks like.
      #!perl
      use SOAP::Transport::HTTP;
      SOAP::Transport::HTTP::CGI
      -> dispatch_to('GroupServices')
      -> handle;

      package GroupServices;

      sub{}'s...

      Colin Faulkingham
    • Paul Kulchenko
      Hi, Colin! ... Could you get a copy of what actually was returned? I don t see where it could happen, CGI server uses - headers_as_string() method to get
      Message 2 of 3 , May 1, 2002
      • 0 Attachment
        Hi, Colin!

        > form a Radio Developer was that the server was not sending the
        > proper
        > CRLF CRLF but only LF. This in fact was the reason why after
        > debuging in Radio! Is their anything I can do about this. Does
        Could you get a copy of what actually was returned? I don't see where
        it could happen, CGI server uses ->headers_as_string() method to get
        headers and uses "\015\012" as a separator between headers and
        content. binmode() is used to disable crlf conversion. CGI version
        has been tested with many different implementations and this problem
        wasn't detected there. Any ideas? If you can send request and
        response message (debug output from SOAP::Lite client) that would
        definitely help. Thanks.

        Best wishes, Paul.

        --- colinfaulkingham <cfaulkingham@...> wrote:
        > I have a soap lite cgi- server at
        > http://demo.indoff.com/DGWS/SOAP/GroupServices.plex When I run a
        > SOAP::Lite client it works fine!
        >
        > #!perl
        > use SOAP::Lite +trace;
        > $result=SOAP::Lite->uri('GroupServices')->proxy
        > ('http://demo.indoff.com/DGWS/SOAP/GroupServices.plex')->GetGroups
        > (0,1,'cfaulkingham','blah0101')->result ."

        ";
        >
        > You can run this exact script above and it works as expected! When
        > I
        > run a client from "Radio Userland" it does not work. So I asked if
        > I
        > was doing something wrong on the Radio-dev list and the answer I
        > got
        > form a Radio Developer was that the server was not sending the
        > proper
        > CRLF CRLF but only LF. This in fact was the reason why after
        > debuging in Radio! Is their anything I can do about this. Does
        > SOAP::Transport have any way of controlling this?
        >
        > You can read his response here:
        > http://groups.yahoo.com/group/radio-dev/message/5965
        >
        > I tried the SOAP server with both PerlEx IIS 5.0 and Apache 1.3
        > mod_perl same result. This is driving me nuts anyone's help would
        > be
        > appreciated.
        >
        > This is what the SOAP::Transport part of the script looks like.
        > #!perl
        > use SOAP::Transport::HTTP;
        > SOAP::Transport::HTTP::CGI
        > -> dispatch_to('GroupServices')
        > -> handle;
        >
        > package GroupServices;
        >
        > sub{}'s...
        >
        > Colin Faulkingham
        >
        >
        >
        >
        > ------------------------ 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!?
        Yahoo! Health - your guide to health and wellness
        http://health.yahoo.com
      • Paul Kulchenko
        Hi, Colin! You need to upgrade your server. v0.51 you re using didn t have binmode() call, so your crlf s were translated to lf s. Upgrade should fix the
        Message 3 of 3 , May 1, 2002
        • 0 Attachment
          Hi, Colin!

          You need to upgrade your server. v0.51 you're using didn't have
          binmode() call, so your crlf's were translated to lf's. Upgrade
          should fix the problem. Let me know if it doesn't help.

          Best wishes, Paul.

          --- colinfaulkingham <cfaulkingham@...> wrote:
          > Paul,
          >
          > Here is the dump from running from a SOAP::Lite client. You can
          > also
          > test this mehtod yourself by running the small perl client below.'
          >
          > #!perl
          > use SOAP::Lite +trace;
          > $result=SOAP::Lite->uri('GroupServices')->proxy
          > ('http://demo.indoff.com/DGWS/SOAP/GroupServices.plex')->GetGroups
          > (0,1,'cfaulkingham','blah0101')->result;
          >
          > Thanks,
          > Colin
          >
          > ###START DUMP
          >
          > Calling the Soap Server to GetGroups
          > SOAP::Transport::new: ()
          > SOAP::Serializer::new: ()
          > SOAP::Deserializer::new: ()
          > SOAP::Parser::new: ()
          > SOAP::Lite::new: ()
          > SOAP::Transport::HTTP::Client::new: ()
          > SOAP::Lite::call: ()
          > SOAP::Serializer::envelope: ()
          > SOAP::Serializer::envelope: GetGroups 0 20 cfaulkingham blah0101
          > SOAP::Data::new: ()
          > SOAP::Data::new: ()
          > SOAP::Data::new: ()
          > SOAP::Data::new: ()
          > SOAP::Data::new: ()
          > SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH
          > (0x258eed4)
          > SOAP::Transport::HTTP::Client::send_receive: POST
          > http://demo.indoff.com/DGWS/SOAP/GroupServices.plex
          > Accept: text/xml
          > Accept: multipart/*
          > Content-Length: 658
          > Content-Type: text/xml; charset=utf-8
          > SOAPAction: "GroupServices#GetGroups"
          >
          > <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
          > xmlns:SOAP-
          > ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:
          > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
          > xmlns:SOAP-
          > ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs
          > i="http://www.w3.org/1999/XMLSchema-instance"
          > xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-
          > ENV:Body><namesp1:GetGroups
          > xmlns:namesp1="GroupServices"><c-gensym3 xsi:type="xsd:int">0</c-
          > gensym3><c-gensym5 xsi:type="xsd:int">20</c-gensym5><c-gensy
          > m7 xsi:type="xsd:string">cfaulkingham</c-gensym7><c-gensym9
          > xsi:type="xsd:string">blah0101</c-gensym9></namesp1:GetGroups></S
          > OAP-ENV:Body></SOAP-ENV:Envelope>
          > SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH
          > (0x2483914)
          > SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 100 Continue
          > Date: Wed, 01 May 2002 20:49:36 GMT
          > Server: Microsoft-IIS/5.0
          > Client-Date: Wed, 01 May 2002 20:49:36 GMT
          > Client-Peer: 192.9.200.169:80
          >
          > HTTP/1.1 200 OK
          > Content-Length: 1776
          > Content-Type: text/xml; charset=utf-8
          > SOAPServer: SOAP::Lite/Perl/0.51
          >
          > <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
          > xmlns:namesp3="http://xml.apache.org/xml-soap"
          > xmlns:SOAP-ENC="http:
          > //schemas.xmlsoap.org/soap/encoding/" SOAP-
          > ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
          > xmlns:SOAP-ENV="http
          > ://schemas.xmlsoap.org/soap/envelope/"
          > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
          > xmlns:xsd="http://www.w3.org/199
          > 9/XMLSchema"><SOAP-ENV:Body><namesp4:GetGroupsResponse
          > xmlns:namesp4="GroupServices"><SOAP-ENC:Array
          > SOAP-ENC:arrayType="name
          > sp3:SOAPStruct[3]" xsi:type="SOAP-ENC:Array"><item
          > xsi:type="namesp3:SOAPStruct"><Description
          > xsi:type="xsd:string">Discussio
          > n Group Web Service development news!Get the lastest info about
          > DGWS
          > and it's development!</Description><Owner xsi:type="xsd:
          > string">cfaulkingham</Owner><GroupKey
          > xsi:type="xsd:string">0O18P4J8v7eW753ac3De</GroupKey><Name
          > xsi:type="xsd:string">DGWS -
          > Development News!</Name><CreatedOn
          > xsi:type="xsd:int">20020426211053</CreatedOn></item><item
          > xsi:type="namesp3:SOAPStruct"><
          > Description xsi:type="xsd:string">Discussion Group Web Service
          > general discussion!</Description><Owner xsi:type="xsd:string">
          > cfaulkingham</Owner><GroupKey
          > xsi:type="xsd:string">5I93O4Z1a1cZ228zi8Ni</GroupKey><Name
          > xsi:type="xsd:string">DGWS - General
          > Discussion!</Name><CreatedOn
          > xsi:type="xsd:int">20020427181103</CreatedOn></item><item
          > xsi:type="namesp3:SOAPStruct"><Descri
          > ption xsi:type="xsd:string">Discussion Group Web Service general
          > discussion!</Description><Owner xsi:type="xsd:string">cfaulk
          > ingham</Owner><GroupKey
          > xsi:type="xsd:string">5K67K8B2y0bQ408hp2Oy</GroupKey><Name
          > xsi:type="xsd:string">DGWS - General News!
          > </Name><CreatedOn
          > xsi:type="xsd:int">20020429213200</CreatedOn></item></SOAP-
          > ENC:Array></namesp4:GetGroupsResponse></SOAP-ENV
          > :Body></SOAP-ENV:Envelope>
          > SOAP::Deserializer::deserialize: ()
          > SOAP::Parser::decode: ()
          > 100 Continue at group_t.pl line 10
          > SOAP::Lite::DESTROY: ()
          > SOAP::Transport::DESTROY: ()
          > SOAP::Transport::HTTP::Client::DESTROY: ()
          > SOAP::Deserializer::DESTROY: ()
          > SOAP::Serializer::DESTROY: ()
          > SOAP::Data::DESTROY: ()
          > SOAP::Data::DESTROY: ()
          > SOAP::Data::DESTROY: ()
          > SOAP::Data::DESTROY: ()
          > SOAP::Data::DESTROY: ()
          > SOAP::Parser::DESTROY: ()
          >
          > ##END DUMP
          >
          >


          __________________________________________________
          Do You Yahoo!?
          Yahoo! Health - your guide to health and wellness
          http://health.yahoo.com
        Your message has been successfully submitted and would be delivered to recipients shortly.