For Programmers: Free Programming Magazines  


Home > Archive > Microsoft Webservices > March 2005 > MSSOAPINIT ERROR: "A name was started with an invalid character"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MSSOAPINIT ERROR: "A name was started with an invalid character"
Alain Beaulieu

2005-03-09, 4:03 pm

Hi all,

I have this in a .VBS file:

dim moWebService
Set moWebService = CreateObject("MSSoap.SoapClient")
moWebService.ClientProperty("ServerHTTPRequest") = True
moWebService.mssoapinit "http://x.x.x.x/Updater/proxy.asmx?wsdl"
msgbox moWebService.Ping

This is calling a web service created using VB.NET on Windows XP,
deployed to a Windows Server 2003 machine using the Copy Project menu
command. I have always done this before and it always worked (on other
2003 servers). The Ping method only returns Now().

I'm getting this on the mssoapinit line: "WSDLReader:Loading of the
WSDL file failed HRESULT=0x80070057 - WSDLReader:XML Parser failed at
linenumber 1, lineposition 2, reason is: A name was started with an
invalid character. HRESULT=0x1".

Now I've seen tons of WSDLReader error messages before because I do
web and soap stuff since years, but I've never seen that one... and I
can't figure out what the problem is. Can anyone shed some light?

Thanks.
Alain
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com