Wrox Programmer Forums
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 9th, 2014, 11:06 AM
Registered User
Join Date: Jul 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to post XML to URL?


I am trying to post a string (xml) to an url

EXEC @nval = sp_OAMethod @bj, 'send', NULL, @myString

where I have declared @mystring as

declare @mystring varchar(8000)

and I am trying to create @mystring using data from a table at runtime where the @mystring value will exceed more than 8000 character and the string is truncating after character limit.

Is there anyway where I can post the large file content either by storing the content in a variable or posting the file itself fetching from some location?

I am doing this in sql server 2000.

Thanks in advance.
Old July 19th, 2014, 04:20 AM
Registered User
Join Date: Jul 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML to url

Hi jkits,

We can use WebRequest to post xml to a url, for more information:


But you should make sure the url can receive the data.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Post a xml file to an URL? chengjianjin XML 10 June 10th, 2010 02:05 AM
How do I post a XML file to an URL using VB? chengjianjin Visual Basic 2005 Basics 3 April 28th, 2008 05:24 AM
Using web request and response to post data to URl cgmenon .NET Framework 1.x 0 July 13th, 2006 10:39 AM
call to url while keep the form post parameters Goldwind Classic ASP Basics 0 December 25th, 2005 01:21 PM
GET URL FROM XML POST kevorkian Classic ASP XML 4 December 23rd, 2004 11:31 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.