Hi all,
OK, I have finally had some time to sit down and go through this. Everything seems to be OK and I have created my HTTP endpoint OK. However, when I try to connect to the web service, I get the error "The file is not a valid XML file. Not enough storage is available to process this command."
To connect, via InfoPath I am using http://myservername:2000/sql and then hitting the next button to try to find the file
I created my HTTP endpoint by using this script:
CREATE
ENDPOINT discount_endpoint
STATE
= STARTED
AS
HTTP (
PATH = '/sql',
AUTHENTICATION = (INTEGRATED ),
PORTS = ( CLEAR ),
SITE = 'myservename',
CLEAR_PORT = 2000
)
FOR
SOAP (
WEBMETHOD
'StoreDiscountData'
(name='infocityhall.dbo.StoreDiscount',
SCHEMA=STANDARD ),
WSDL = DEFAULT,
SCHEMA = STANDARD,
DATABASE = 'infocityhall',
NAMESPACE = 'http://tempURI.org'
)
The script was from
http://blogs.technet.com/elenat/archive/2008/05/13/designing-an-infopath-form-that-can-store-data-in-a-database-part1.aspx
Any ideas? I have tried to reserve port 2000 especially, just in case port 80 is being used by another application. I have checked that the web service is running.
PS, Yes I did replace myservename with my actual server name !