You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Keith McClelland <km...@yahoo.com> on 2000/11/07 19:25:02 UTC

Bug in src/org/apache/soap/util/net/HTTPUtils.java

Hello,

Most of my difficulty (see thread "RE: SOAP client
question") turned out to be a bug in HTTPUtils.java.
There is a statement in method "public static Response
post" that turns a copy of the destination port into
80 if it is initially < 0. However, this fix only has
a local effect (opening the socket). When the header
is actually sent out, "url.getPort()" is called again
without being adjusted to 80 (called
HTTP_DEFAULT_PORT). The result, from Apache anyway, is
"Malformed Host Header". This has no effect if you
entered the port into your URL in the first place, but
I wasn't doing that, knowing I was going to access
port 80.

Thanks for everybody's help,
Keith



__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

deploy.jsp error - not saving script

Posted by Thanh Tran <tt...@karora.com>.
I'm new to this mailing list so, first of all, hello to all.
I'm playing with setting up SOAP on my Linux/Apache/Tomcat box, and I think
I ran into a small bug in the deploy.jsp file: It's not saving the script
that I entered into the form.  Here's a diff of the simple  change needed
to make it work, just in case someone hasn't submitted it already:
[diff begins]
318a319
>       dd.setScriptFilenameOrString (scriptFilename);
320a322
>       dd.setScriptFilenameOrString (script);
323d324
<     dd.setScriptFilenameOrString (scriptFilename);
[diff ends]
Regards,
Thanh Tran.



deploy.jsp error - not saving script

Posted by Thanh Tran <tt...@karora.com>.
I'm new to this mailing list so, first of all, hello to all.
I'm playing with setting up SOAP on my Linux/Apache/Tomcat box, and I think
I ran into a small bug in the deploy.jsp file: It's not saving the script
that I entered into the form.  Here's a diff of the simple  change needed
to make it work, just in case someone hasn't submitted it already:
[diff begins]
318a319
>       dd.setScriptFilenameOrString (scriptFilename);
320a322
>       dd.setScriptFilenameOrString (script);
323d324
<     dd.setScriptFilenameOrString (scriptFilename);
[diff ends]
Regards,
Thanh Tran.