Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSSoapInit error XML Parser failed at linenumber 0, lineposi
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
MSSoapInit error XML Parser failed at linenumber 0, lineposi
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01487959
Message ID:
01487959
Views:
502
Hello,

VFP program uses SOAP web service to download/upload files to server.
With download everything works fine. With upload works fine on my local computer ant other computers in my LAN.
Problem occurs on computers which are on WAN (VPN).

Error:
Soap error: XML Parser failed at linenumber 0, lineposition 0, reason is: The download of the specified resource has failed.

On line: m.loSoapClient.MSSoapInit([http://192.168.100.3/ServiceX.asmx] + [?WSDL])
m.loSoapClient = CREATEOBJECT("MSSoap.SoapClient30")
m.loSoapClient.ClientProperty("ServerHTTPRequest") = .T.
m.loSoapClient.MSSoapInit([http://192.168.100.3/ServiceX.asmx] + [?WSDL])

m.loException = NULL 

TRY
	m.loSoapClient.UploadFile(m.lcFileContent)
	m.llSuccess = .T.
CATCH TO loexception 
	MESSAGEBOX(loexception.MESSAGE,16,[Error])
	m.llSuccess = .F.
ENDTRY
WAIT CLEAR
Error in EventLog is attached to this post.

Pay attention, that download using same MSSoapInit parameters is working while upload - not.

Thanks in advance
Giedrius
Reply
Map
View

Click here to load this message in the networking platform