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

RE: [soaplite] Re: problems with stand alone dll

Expand Messages
  • Paul Kulchenko
    Hi, Geoff! Yes, you re right. I got there. Here is what your server returns: HTTP/0.9 200 OK Client-Date: Fri, 22 Jun 2001 13:33:22 GMT Client-Peer:
    Message 1 of 6 , Jun 22, 2001
    • 0 Attachment
      Hi, Geoff!

      Yes, you're right. I got there. Here is what your server returns:

      HTTP/0.9 200 OK
      Client-Date: Fri, 22 Jun 2001 13:33:22 GMT
      Client-Peer: 24.10.146.179:80

      Status: 200 OK

      Content-Length: 512
      Content-Type: text/xml
      SOAPServer: SOAP::Lite/Perl/0.50


      <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><namesp2:echoResponse
      xmlns:namesp2="urn:Test"><s-gensym10
      xsi:type="xsd:string">bob</s-gensym10></namesp2:echoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

      Do you see empty line BEFORE and AFTER 'Status: 200 OK'? Parser
      thinks that everything BEFORE Status is header and everything else is
      content, tries to parse it and since it doesn't look like XML it goes
      thru MIME parser which you don't have. Perl version work fine,
      because you have MIME parser installed in your distribution, but it
      is not included in standalone COM version. The best way to go is to
      fix CGI server where you host (it seems to be old), but it might be
      out of your control. You may try to switch it into NPH
      (non-parsed-headers) if possible. CGI SOAP server will output all
      required headers, so server shouldn't add headers as in this case.

      You may also fix it on client side if make MIME::Parser available or
      include it in COM module (you can compile it yourself, all required
      modules are included, as well as description and batch files, but
      you'll need to have ActiveState PDK, which is commercial product).

      Let me know which way you want to go.

      Best wishes, Paul.

      --- geoff greenberg <geoff@...> wrote:
      > Right you should get a 404. It is a virtual host. You would need
      > to have a
      > hosts file with an entry for "24.10.146.179 l-one.jobplanet.fel" to
      > access
      > the soap method or you need to pass the Host header explicitly.
      >
      > Thanks.
      > geoff
      >
      > -----Original Message-----
      > From: Paul Kulchenko [mailto:paulclinger@...]
      > Sent: Thursday, June 21, 2001 11:18 PM
      > To: geoff@...
      > Subject: Re: [soaplite] Re: problems with stand alone dll
      >
      >
      > Hi, Geoff!
      >
      > Are you sure about proxy? I got 404 Not Found:
      >
      > POST http://24.10.146.179/soap/test.pl
      > Accept: text/xml
      > Accept: multipart/*
      > Content-Type: text/xml; charset=utf-8
      > SOAPAction: "urn:Test#echo"
      >
      > <?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:xsi="http://www.w3.org/1999/XMLSchema-instance"
      > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      >
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><namesp1:echo
      > xmlns:namesp1="urn:Test"><c-gensym3
      >
      xsi:type="xsd:string">bob</c-gensym3></namesp1:echo></SOAP-ENV:Body></SOAP-E
      > NV:Envelope>
      >
      > HTTP/1.1 404 Not Found
      > Connection: close
      > Date: Fri, 22 Jun 2001 06:15:43 GMT
      > Server: Apache
      > Content-Type: text/html; charset=ISO-8859-1
      > Client-Date: Fri, 22 Jun 2001 05:17:44 GMT
      > Client-Peer: 24.10.146.179:80
      > Title: File Not Found
      >
      > <HTML>
      > <HEAD>
      > <TITLE>File Not Found</TITLE>
      > </HEAD>
      > <BODY BGCOLOR="#ffffff" BACKGROUND="/jp_img/jp_background.gif"
      > LINK="#000000" ALINK="#000000" VLINK="#000000">
      > <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="720"
      > ALIGN="center">
      > <TR><!-- row 1 -->
      > <TD><IMG SRC="/jp_img/shim.gif" WIDTH="286" HEIGHT="1"
      > BORDER="0"></TD>
      > <TD><IMG SRC="/jp_img/shim.gif" WIDTH="135" HEIGHT="1"
      > BORDER="0"></TD>
      > <TD><IMG SRC="/jp_img/shim.gif" WIDTH="299" HEIGHT="1"
      > BORDER="0"></TD>
      > </TR>
      > <TR><!-- row 2 -->
      > <TD ALIGN=LEFT><img src="/jp_img/jp_banner.gif" width=274
      > height=72
      > alt="" border="0"></TD>
      > <TD><IMG SRC="/jp_img/shim.gif" WIDTH="135" HEIGHT="1"
      > border="0"></TD>
      > <TD ALIGN=RIGHT><IMG SRC="/jp_img/shim.gif" WIDTH="299"
      > HEIGHT="1"
      > BORDER="0"></TD>
      > </TR>
      > <TR><!-- row 3 -->
      > <TD COLSPAN=3 ALIGN=CENTER> </TD>
      > </TR>
      > <TR><!-- row 4 -->
      > <TD><IMG SRC="/jp_img/shim.gif" WIDTH="286" HEIGHT="3"
      > BORDER="0"></TD>
      > <TD><IMG SRC="/jp_img/shim.gif" WIDTH="135" HEIGHT="3"
      > BORDER="0"></TD>
      > <TD><IMG SRC="/jp_img/shim.gif" WIDTH="299" HEIGHT="3"
      > BORDER="0"></TD>
      > </TR>
      > <TR><!-- row 5 -->
      > <TD COLSPAN=3 ALIGN=CENTER> </TD>
      > </TR>
      > <TR><!-- row 6 -->
      > <TD COLSPAN=3><IMG SRC="/jp_img/shim.gif" WIDTH="1" HEIGHT="14"
      > BORDER="0"></TD>
      > </TR>
      > </TABLE>
      > <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="720"
      > ALIGN="center">
      > <TR>
      > <TD VALIGN="TOP"></TD>
      > <TD BGCOLOR="#999966"><IMG SRC="/jp_img/shim.gif" WIDTH="1"
      > HEIGHT="20" BORDER="0"></TD>
      > <TD VALIGN="TOP" COLSPAN=2></TD>
      > </TR>
      > <TR>
      > <TD VALIGN="TOP"><IMG SRC="/jp_img/shim.gif" WIDTH="1" HEIGHT="1"
      > BORDER="0"></TD>
      > <TD BGCOLOR="#999966"><IMG SRC="/jp_img/shim.gif" WIDTH="1"
      > HEIGHT="1" BORDER="0"></TD>
      > <TD VALIGN="TOP" COLSPAN=2 BGCOLOR="#999966"><IMG
      > SRC="/jp_img/shim.gif" WIDTH="598" HEIGHT="1" BORDER="0"></TD>
      > </TR>
      > <TR>
      > <TD VALIGN="TOP"><IMG SRC="/jp_img/shim.gif" WIDTH="140"
      > HEIGHT="1"
      > BORDER="0"></TD>
      > <TD BGCOLOR="#999966"><IMG SRC="/jp_img/shim.gif" WIDTH="1"
      > HEIGHT="10" BORDER="0"></TD>
      > <TD VALIGN="TOP"><IMG SRC="/jp_img/shim.gif" WIDTH="5" HEIGHT="1"
      > BORDER="0"></TD>
      > <TD WIDTH="544"><P><BR><FONT COLOR="993300" SIZE=+1
      > FACE="Sans-Serif, Geneva, Arial Narrow">File Not Found</FONT>
      > <p><FONT FACE="Sans-Serif, Geneva, Arial Narrow">The file you
      > requested cannot be found.</FONT><br>
      > <br>
      > </TD>
      > </TR>
      > <TR>
      > <TD VALIGN="TOP" ALIGN=RIGHT> </TD>
      > <TD BGCOLOR="#999966"><IMG SRC="/jp_img/shim.gif" WIDTH="1"
      > BORDER="0"></TD>
      > <TD VALIGN="TOP" COLSPAN=2></TD>
      > </TR>
      > </TABLE>
      > <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="720"
      > ALIGN="CENTER">
      > <TR><!-- row 1 -->
      > <TD BGCOLOR="#999966"><IMG SRC="/jp_img/shim.gif" WIDTH="720"
      > HEIGHT="1" BORDER="0"></TD>
      > </TR>
      > </TABLE>
      > </body>
      > </html>
      >
      > Best wishes, Paul.
      >
      > --- geoff greenberg <geoff@...> wrote:
      > > I accidently replied to the list rather than you in particular.
      > > Sorry. I
      > > do appreciate any insight you could provide.
      > > Thanks.
      > > geoff
      > >
      >
      >
      > __________________________________________________
      > Do You Yahoo!?
      > Get personalized email addresses from Yahoo! Mail
      > http://personal.mail.yahoo.com/
      >


      __________________________________________________
      Do You Yahoo!?
      Get personalized email addresses from Yahoo! Mail
      http://personal.mail.yahoo.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.