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 10:17:15
 
 
À
06/03/2003 06:58:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00759301
Message ID:
00762173
Vues:
17
Hi John, I get the same error result you do.

Tracy

>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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform