No content-type or -length in Soap headers under Suse.

Hey.

I'm working under windows with saaj (Axis 1.4) and it's kicking but when I move the project over to a Linux server I get "400 bad request".

So I shecked the MimeHeaders:

On linux:

Content-Description POST /find.asmx HTTP/1.1

Host xx.xxxx.xx

SOAPAction http://xxx.xxx.xxx/xxxxx

On windows

Accept text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

Content-Description POST /find.asmx HTTP/1.1

Host xx.xxxx.xx

SOAPAction http://xxx.xxx.xxx/xxxxx

Content-Type text/xml; charset=utf-8

Content-Length 406

Why?

It doesn't matter if I sets Content-Type och Length.

Message was edited by:

Nillo

[734 byte] By [Nilloa] at [2007-11-27 6:23:16]
# 1
Anyone?
Nilloa at 2007-7-12 17:41:01 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I solved it by changing to saaj 1.3 downloaded from https://saaj.dev.java.net .
Nilloa at 2007-7-12 17:41:01 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...