Bad header=hello, world:
Scott Runkel <[email protected]>
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Organization | Hypix Media, Inc. |
| Message-ID | <00ff01c24a14$6172a5a0$6d01a8c0@scottrunkel2> |
Hi,
Thanks to Steve McCarthy for his last post regarding expat. After appealing to
tech support at my hosting company, I deleted and reinstalled everything related
to Perl on the system. The install of SOAP::Lite came up with some errors, and
the tech support guy and a developer there determined there was something wrong
with the actual .zip package. They said some file permissions were wrong. They
fixed these, and the install went OK.
That's all a prerequisite to the current problem. Now, when I try the sample
"hibye" script, it seems like it's almost working, except I get an error
"malformed header from script. Bad header=hello, world: /usr/local/ <snip>
/hibye.pl
Here is the script:
#!/usr/bin/perl -w
# -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
use SOAP::Lite +trace => 'debug';
#use SOAP::Lite;
print SOAP::Lite
-> uri('http://www.soaplite.com/Demo')
-> proxy('http://services.soaplite.com/hibye.cgi')
-> hi()
-> result;
I have included below the entire output of the trace, in case it helps. TIA.
SOAP::Transport::HTTP::Client::send_receive: POST
http://services.soaplite.com/hibye.cgi
Accept: text/xml
Accept: multipart/*
Content-Length: 450
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.soaplite.com/Demo#hi"
<?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:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><namesp1:hi
xmlns:namesp1="http://www.soaplite.com/Demo"/></SOAP-ENV:Body></SOAP-ENV:Envelop
e>
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK
Connection: close
Date: Thu, 22 Aug 2002 19:34:50 GMT
Server: Apache/1.3.26 (Unix) mod_gzip/1.3.19.1a mod_ssl/2.8.1 OpenSSL/0.9.4
PHP/4.2.2
Content-Length: 535
Content-Type: text/xml; charset=utf-8
Client-Date: Thu, 22 Aug 2002 19:34:51 GMT
Client-Peer: 66.33.209.120:80
SOAPServer: SOAP::Lite/Perl/0.55
<?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><names
p1:hiResponse xmlns:namesp1="http://www.soaplite.com/Demo"><s-gensym3
xsi:type="xsd:string">hello,
world</s-gensym3></namesp1:hiResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
[Thu Aug 22 13:34:51 2002] [error] [client x.x.x.x] malformed header from
script. Bad header=hello, world:
-SR
Scott Runkel
Director of Technology
503-356-9979
You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.