Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Posting an XML document

2 posts in Internet Developers Toolkit Last posting was on 2001-06-22 14:22:40.0Z
Steffan Alte Posted on 2001-05-10 09:41:55.0Z
Newsgroups: sybase.public.powerbuilder.inet-dev-toolkit
From: "Steffan Alte" <steffan.alte@exense.com>
Subject: Posting an XML document
Date: Thu, 10 May 2001 11:41:55 +0200
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 193.217.95.162
Message-ID: <388_gF1zjcT2AHA.178@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.inet-dev-toolkit:319
Article PK: 691692

Hi!
I'm having problems posting an XML document to an ASP. The PostURL function
seems to function correctly, as I get return value 1, but still nothing is
actually sent.

The XML is read from a file into a blob variable (I've checked the contents
of the blob), which is used in the call to PostURL.

The script looks like this;

lo_http = Create inet
ln_ir = Create n_test_internet_result //inherited from InternetResult

ls_header = "Content-Length: "+ String (Len (lblb_file_contents)) +"~n~n"

lo_http.PostURL (ls_url, lblb_file_contents, ls_header, ln_ir)


Any ideas?

Steffan


Bob_Ayers Posted on 2001-06-22 14:22:40.0Z
Newsgroups: sybase.public.powerbuilder.inet-dev-toolkit
From: Bob_Ayers
Date: Fri, 22 Jun 2001 10:22:40 -0400
Subject: Re: Posting an XML document
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <388_D70B1763D4ED80A6004EFABB85256A73.005C0A7A85256A58@webforums>
References: <388_gF1zjcT2AHA.178@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.inet-dev-toolkit:294
Article PK: 691644

I am having a similar problem. I also get a return code of 1, and the data
returned is that the page was not found. For testing purposes, I do a
getURL with the same information and that works fine.

I need to do a PostURL because I am sending more than 1000 bytes of data.

Any help would be appreciated.

Thank You,
Bob Ayers
bob_ayers@polk.com