Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web services publisher
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00664469
Message ID:
00664480
Vues:
21
Why do you compile it as single-threaded and not multi-threaded com dll?

>Hi all
>I am new to web services using vfp7. I am just experimenting with the different samples available. After building the project “single threaded COM server(dll)” when I try to generate the web service I get a lot of error message like :
>
>OGEN is not an object
>Location : oWEB
>Number: 1924
>Methord: genwsdl
>Message: OGen.Init(tcCOMFile, tcURI, tcWSDL)
>Line 13
>…
>…
>etc
>
>And at the end I get the web service publishing results. Here it displays that “Generated IntelliSense Failed”. What could be the reason?
>
>This is the class I am using in my program
>
>DEFINE CLASS TasTradeDA AS Session OLEPUBLIC
>FUNCTION CustomerGetByName(cName AS STRING) AS STRING
> SELECT Company_Name, Address, City, Postal_Code ;
> FROM HOME(2) + "\tastrade\data\customer.dbf" ;
> WHERE Company_Name = cName ;
> INTO CURSOR Temp
>* Convert the cursor to element centric XML,
>* wrap memo fields in CDATA tags
> lnBytes = CURSORTOXML("Temp", "lcCursor", 1, 8)
> * Return the results to the caller
> RETURN lcCursor
>ENDFUNC
>ENDDEFINE
>
>Thanks In Advance
>Rajeev
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform