W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

RE: Requests to a servlet

From: Mikesell, Dave <dmikesell@cas.org>
Date: Tue, 25 Sep 2001 11:10:21 -0400
Message-ID: <117BB2BA200DD311850D0004AC66D3DE0A3B9D16@pop-server.cas.org>
To: "'www-lib@w3.org'" <www-lib@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC