I'm using Windows 98 Second Edition and ActivePerl 5.6.0 build 623.  When I
run PPM and do the "search" command (which is supposed to list all
available packages), I get no results:
>>>
PPM interactive shell (2.1.2) - type 'help' for available commands.
PPM> search
PPM> quit
Quit!
>>>

>From using a winsock spy program I've determined that PPM is actually
getting a "server error" page from ppm.activestate.com.  When I type
"search", PPM connects to ppm.activestate.com and sends out the headers:
>>>
POST /cgibin/PPM/ppmserver.pl HTTP/1.0
Host: ppm.activestate.com
User-Agent: SOAP::Lite/Perl/0.43
Content-Length: 447
Content-Type: text/xml
SOAPAction: "urn:/PPMServer#fetch_summary"

<?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:fetch_s
ummary xmlns:namesp1="urn:/PPMServer"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
>>>

and gets back the headers:
>>>
HTTP/1.1 500 Server Error
Server: Microsoft-IIS/5.0
Date: Mon, 05 Mar 2001 16:41:35 GMT
Content-Type: text/html
Content-Length: 332

<html><head><title>Server Application Error</title></head>
<body><h1>Server Application Error</h1>The server has encountered an error
while loading an application during the processing of your request.  Please
refer to the event log for more detail information.  Please contact the
server administrator for assistance.</body></html>
>>>

Is anybody else getting blank output from typing "search" at the PPM
prompt?  If not, do you happen to know what bytes are getting sent and
received when you type the "search" command?

If anyone is curious and/or would like my undying gratitude in helping to
track this down, my winsock spy program is at
http://peacefire.org/holder/wsock32.zip

To use it:
1) download the zip file and extract the fake wsock32.dll to the directory
where you'd like to work
2) open a DOS prompt, CD to that directory, and type
SET WSOCK_LOG=LOG
SET WSOCK_FLAGS=s
These settings need to be set in the DOS environment for Winsock Spy to work.
3) type "PPM" to start PPM.
4) at the PPM prompt, type "search".  A dialog box should appear saying
that Winsock Spy has been invoked, and giving the name of the log file
being recorded, in the form log.xx where xx are two hex digits
5) when the search command has finished (by listing all available packages
if it's working, or by outputting nothing if it's not), type "quit" to exit
PPM.  Perl will crash, due to a bug in Winsock Spy, but you can ignore this
crash.
6) send me the log.xx file or let me know what it says, so I can try to
track down the differences.

Or let me know if anyone has any simpler ideas... Thanks!

        -Bennett

[EMAIL PROTECTED]     http://www.peacefire.org
(425) 649 9024
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to