Hi,
As a first step you should specify the Content-type HTTP header.
StreamGenerator do not accepts all mime types.
connect.setRequestProperty( "Content-type", "text/xml" );
As a second the StreamGenerator sample is showing one of the aspects of
StreamGenerator - ability to process the data comi
Hi, Kinga...
Thanx for taking time to talk about this. But so far,
that solution's not working either. Just a quick question
- does the contents of the postData need to be of the form
"?foo=data" and does the data segment need to be url
encoded?
I've put your suggestions in and so far, the
e) {
System.out.println ("Unable to connect to "+ m_url + "Exception: " +
e.getMessage());
System.exit(1);
}
> -Original Message-
> From: Joseph Jupin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 30, 2002 4:36 PM
> To: [EMAIL PROTECTED]
Thanks for the info. Will try out the updated class soon.
-Original Message-
From: giacomo [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 3:48 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: problems with StreamGenerator...
On Mon, 11 Feb 2002, Steven Caswell