Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE error code 0x800a1518
Message
 
À
29/06/2004 06:36:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00918335
Message ID:
00918962
Vues:
4
Make sure you *ALWAYS* use COMRETURNERROR in your web service error handler(or any vfp mtdll) ...
>I am linking through to a web service and the routines work fine 99% of the time but occassionally crash out with :
>
>OLE error code 0x800a1518: Unknown COM status code.
>
>I am using VFP7 and have registered the web service in Fox and used intellisense to generate the neccessary code ie
>
>loPOSService = loWS.SetupClient("MyURL?wsdl", "POSService", "POSServicePort")
>
>The program then checks that this has worked okay and doesn't go any further if it hasn't
>IF VARTYPE(loPOSService) <> "O"
> RETURN .f.
>ENDIF
>
>The next line of code is to create another object that contains the response from one of the methods of the service
>
>loResponse = loPOSService.invokePOSService(lcMethod, "7_0_5", lcSendString)
>
>This is the line that gives the occassional error.
>
>I've checked with the web service we are using to find out if there's a problem at their end but they couldn't see any reason why the problem is occassionally happening.
>
>Is there anything else I can do to stop it happening or to stop the program crashing out.
>
>Thanks
>
>Sue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform