Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS's WebService example - i've done something funny to i
Message
De
06/03/2003 06:58:38
 
 
À
03/03/2003 16:30:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00759301
Message ID:
00762063
Vues:
32
Thanks for the reply - I'm now fairly certain (after much pulling out of hair) that the main cause is something dodgy about our setup in that the original box (w2kP, PWS, distinctly cobbled together fox8 installation) exhibited this problem, but when we started again from first principles on a different box (w2kS, IIS, smooth installation of fox8) it worked consistantly. As the only real purpose of the code is to read an XML string, determine from that string which program (on the server) to run, run it with the original string and pass back a return XML string, all our problems are over n'est ce pas?

Actually not - everything works absolutely beautifully now on that server but ONLY when the client is also on that server. If I try it from any other machine (I've tried the above and another (w2kS, good fox8)) I get:


***OLE IDispatch exception code 0 from Connector: Connector:Host not found.
HRESULT=0x800A1521 - Client:An unanticipated error occurred during the
processing of this request.*** [this occurs at the ox.TinyMethod call]

I feel certain it has to be something simple - and my joy at getting it (and
a pile of other similar code based on the same principle) working on the
server has been somewhat tempered by it not working remotely.

I know that I'm kind of hijacking my own thread on this but if you (or anyone) does have a clue I'd be most grateful!

JC

P.S. the test server specified (www.milly.info) is generally up, so if anyone wants to try making the call themselves, feel free!

*** Test calling program
ox = CreateObject("MSSOAP.SoapClient30")
ox.ClientProperty("ServerHTTPRequest") = .T.
ox.MSSoapInit("HTTP://www.milly.info/retail/TinyService.WSDL",
"TinyService", "TinyServiceSoapPort")

* TinyMethod merely returns the phrase "the parameter you supplied was " +
the incoming string
?ox.TinyMethod('Plink')
*** End program
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform