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