Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Posting XML to ASP.NET from Java 1.3.0

From: PrakashSachania@-----------.---------.---
To: NULL
Date: 7/3/2005 10:54:00 PM
Hmm. You seems to have tried many things. Just a wild guess to try many be. 
Is there way you can change "User-Agent" passed from Java1.3.0 to something 
like Mozzila?

I do not think this would solve the problem but it could lead to 
understanding where the break is.

"JBollie" wrote:

> I am trying to receive a post from Java in ASP.NET, and keep on receiving a 
> '400 Bad Request' Error.  I have looked into it, and it seems there is a 
> known problem in the ASP.NET Framework, where posting to ASP.NET with two 
> colons in the url causes the above error.  I have followed a hotfix 
> article(where you edit the registry) by microsoft that should fix the 
> problem, but am still having issues posting betwen the two.  I have enabled 
> logging, and in the logs it has records that look like this '2005-06-29 
> 20:46:35 22.22.22.22 24467 23.23.23.23 80 HTTP/0.0 POST - 400 - URL'.  The 
> post is not making it to my app at all, or is in someway being reject by the 
> asp.net framework prior to my app.  The post being sent is in xml, and is 
> urlencoded i sniffed the request and this was the result for that:  
> POST  HTTP/1.1 
>  Content-type: application/x-www-form-urlencoded 
>  User-Agent: Java1.3.0 
>  Host: mysite.test.com:80 
>  Accept: text/html 
>  Connection: keep-alive 
>  Content-length: 982   There is also content that is url encoded, that i am 
> not posting.  
> 
> I have taken the same request as what was sniffed above, and been able to 
> post it from asp.net to asp.net internal to my company and external to my 
> company.  Does anyone have any answers, cause i think i've lost mostly all of 
> my hair over this one. Please help. 


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent