Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web services question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Web services question
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00973718
Message ID:
00973718
Vues:
133
Hi all,

I created a web service according to the MSDN Walkthrough: Creating XML Web Services with Visual FoxPro.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/fowlkwalkthroughcreatingwebserviceswithvisualfoxpro.asp

I tested it on my local machine and it worked fine.


oxx = CREATEOBJECT('mywebserver.ShowContacts')
_cliptext = oxx.HughsContacts


but when I call it from a web page via the internet I get the following error:

***********
- <SOAP-ENV:Fault>
  <faultcode>SOAP-ENV:Server</faultcode> 
  <faultstring>Server:Loading the request into SoapReader failed.</faultstring> 
- <detail>
- <mserror:errorInfo xmlns:mserror="http://schemas.microsoft.com/soap-toolkit/faultdetail/error/">
  <mserror:returnCode>-2147024809 : The parameter is incorrect.</mserror:returnCode> 
- <mserror:serverErrorInfo>
  <mserror:description>Server:Loading the request into SoapReader failed. HRESULT=0x80070057: The parameter is incorrect. - Server:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.</mserror:description> 
  <mserror:source>Server</mserror:source> 
  </mserror:serverErrorInfo>
- <mserror:callStack>
- <mserror:callElement>
  <mserror:component>Server</mserror:component> 
  <mserror:description>Loading the request into SoapReader failed.</mserror:description> 
  <mserror:returnCode>-2147024809 : The parameter is incorrect.</mserror:returnCode> 
  </mserror:callElement>
- <mserror:callElement>
  <mserror:component>Server</mserror:component> 
  <mserror:description>One of the parameters supplied is invalid.</mserror:description> 
  <mserror:returnCode>-2147024809 : The parameter is incorrect.</mserror:returnCode> 
  </mserror:callElement>
  </mserror:callStack>
  </mserror:errorInfo>
  </detail>
  </SOAP-ENV:Fault>

************


I read something somewhere that the problem could be that the CURSORTOXML function does not create well formed XML. If this is my problem, how do I fix it?

Also, I have a question regarding the replacement of the placeholder URI "tempuri.org". The machine where the server resides is named "BIGBOSS" as in:


loShowContacts = loWSHandler.SetupClient("http://BIGBOSS/ShowContacts.wsdl", "ShowContacts", "ShowContactsSoapPort")


Should I use the IP address of the server machine instead?? as in:


loShowContacts = loWSHandler.SetupClient("http://123.456.789.123/ShowContacts.wsdl", "ShowContacts", "ShowContactsSoapPort")


Thanks in advance for your help in this matter!!!

Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!

Support the product. Buy the latest version!

Hugh Winters @ WorldData 408-512-1131
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform