RE: Requests to a servlet

Thanks to all who responded.  The "missing link" in my original solution was the call to HTRequest_setOutputStream() to catch the response from a post.  

--
Dave Mikesell
Chemical Abstracts Service
614.447.3600 x2993

> -----Original Message-----
> From: Mikesell, Dave 
> Sent: Monday, September 24, 2001 10:26 AM
> To: 'www-lib@w3.org'
> Subject: Requests to a servlet
> 
> 
> Greetings.  We have a client library written in C that 
> provides access to our J2EE environment.  Without going into 
> to much detail, each library function causes an XML message 
> to be sent over a socket to the server, which in turn parses 
> the message, invokes the proper J2EE service, and then sends 
> an XML response back to the client.  We would like to replace 
> our socket/home-grown protocol with HTTP using libwww.  This 
> would involve sending raw XML to a servlet and waiting for 
> the servlet to send back an XML response.
> 
> Is this possible using libwww?  From what I can tell, the 
> closest thing to what we need is HTPostFormAnchorToChunk(), 
> but we don't have a "form" per se...just XML.  Any insight 
> would be greatly appreciated.  Thank you.
> 
> Dave
> 

Received on Tuesday, 25 September 2001 11:10:55 UTC