Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSSoapInit error XML Parser failed at linenumber 0, lineposi
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
MSSoapInit error XML Parser failed at linenumber 0, lineposi
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01487959
Message ID:
01487959
Vues:
501
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
Répondre
Fil
Voir

Click here to load this message in the networking platform