tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <ehugon...@inexware.fr>
Subject Sending data to a servlet
Date Fri, 17 Aug 2001 10:44:20 GMT
Hi,
I'm trying to open a connection to a servlet an exchange data with it. I
have Apache 1.3.20 redirecting to Tomcat3.2.3 via mod_j but I've got several
issue. i'm opening the connection by a java.net.Socket sending :
GET /UBSSoap HTTP/1.1
Host:192.168.0.93:80
Content-type:text/xml
MyAction:/Synchro

<message><sender>manu</sender><content>hello</content></message>

with apjv12 I just can't get a response from the server and I've a header
parsing error in mod_jk.log
with apjv13 I can't parse the incoming xml and I can send a message from the
server to my client but it is followed by
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
Invalid URI in request &lt;SOAP-ENV:Envelope
xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'&gt;&lt;SOAP-ENV:B
ody&gt;&lt;UserName&gt;Deadgreen&lt;/UserName&gt;&lt;Password&gt;zgTlIdslV6x
SYO4HCjwFiA==&lt;/Password&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&g
t;<P>
<HR>
<ADDRESS>Apache/1.3.20 Server at grosbill38 Port 80</ADDRESS>
</BODY></HTML>
</HTM>
If tomcat is running as a standalone server all is working fine. Where am I
wrong ?
Emmanuel



Mime
View raw message