From: Martin K. <mar...@fe...> - 2007-12-01 16:34:23
|
Hi Felix, I was able to reproduce this using a modified SOAP::Lite client. The attached SOAP::Transport::HTTP should fix the issue (you can also get it from SOAP::Lite's CVS). The fix will be in the next release. Please let me know if this does not help, Martin Am Donnerstag, den 29.11.2007, 09:32 +0100 schrieb Felix J. Ogris: > Hi Martin, > > that's on the wire: > > POST /soap HTTP/1.1 > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client > Protocol 2.0.50727.1433) > VsDebuggerCausalityData: > uIDPo2vDfno51ExKp/wPCQq4mlUAAAAA9O1ffVSkc0y4KYb7mMHMmU4ykIL3HWpIqwW7cp9xR5QA > CQAA > Content-Type: text/xml; charset=utf-8 > SOAPAction: "" > Host: fjo-otrs.dts-online.net > Content-Length: 498 > Expect: 100-continue > Connection: Keep-Alive > > HTTP/1.1 100 Continue > > <?xml version="1.0" encoding="utf-8"?><soap:Envelope > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:tns="http://fjo-otrs.dts-online.net/soaptest" > xmlns:types="http://fjo-otrs.dts-online.net/soaptest/encodedTypes" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body > soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><tns:test > /></soap:Body></soap:Envelope> > > HTTP/1.1 200 OK > Date: Thu, 29 Nov 2007 08:16:13 GMT > Server: Apache/2.2.6 (FreeBSD) mod_perl/2.0.3 Perl/v5.8.8 > Content-Length: 501 > Content-Type: text/xml; charset=utf-8 > SOAPServer: SOAP::Lite/Perl/0.69 > Keep-Alive: timeout=5, max=100 > Connection: Keep-Alive > > HTTP/1.1 100 Continue > > <?xml version="1.0" encoding="UTF-8"?><soap:Envelope > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><testRespo > nse xmlns="http://fjo-otrs.dts-online.net/soaptest"><s-gensym3 > xsi:type="xsd:string">hello, world</s-gensym3></testResponse></s > > As you can see, </soap:Body> is chopped, and </soap:Envelope> is missing, > since that additional "HTTP/1.1 100 Continue" eats exactly their content > length. > > My httpd.conf: > > ServerRoot /usr/local > LoadModule alias_module libexec/apache22/mod_alias.so > LoadModule perl_module libexec/apache22/mod_perl.so > LoadModule mime_module libexec/apache22/mod_mime.so > TypesConfig etc/apache22/mime.types > AcceptMutex sysvsem > NameVirtualHost * > PerlOptions +ParseHeaders > PerlOptions +SetupEnv > ... > <LocationMatch ^/soap$> > SetHandler perl-script > PerlResponseHandler Apache::SOAP > PerlSetVar dispatch_to /usr/local/soap > </LocationMatch> > > /usr/local/soap/soaptest.pm: > > #!/usr/bin/perl > > package soaptest; > > =begin WSDL > > _RETURN $string just hello world > _DOC test function > > =end WSDL > > =cut > > sub test () > { > return "hello, world"; > } > > 1; > > HTH, > Felix > > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Soaplite-devel mailing list > Soa...@li... > https://lists.sourceforge.net/lists/listinfo/soaplite-devel > |