Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating a Web Service Object that Accepts Parameters
Message
De
28/02/2002 10:23:36
Mark Mcneil
Solutions Technology Group
Martinsville, Virginie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Generating a Web Service Object that Accepts Parameters
Divers
Thread ID:
00626423
Message ID:
00626423
Vues:
42
I am developing a web service to which I need to pass several parameters. I can get the dll to work. After building the web service using the FoxPro Web Services Publisher available from the Builder Context Menu, The resulting service will not accept parameters. When I try to use parameters the program responds with an OLE error indicating that "The parameter is incorrect."

I have tried manually editing the WSDL file message section from this:

(message name='wstestclass2.sayhi')
(/message)
(message name='wstestclass.getnewsResponse')
(part name='Result' type='xsd:anyType'/)
(/message)

(GT and LT symbols replaced with "(" and ")")

to this:

(message name='wstestclass2.sayhi')
(part name='return' type='xsd:anyType'/)
(/message)
(message name='wstestclass2.sayhiResponse')
(part name='Result' type='xsd:anyType'/)
(/message)

I now do not get the "The parameter is incorrect" error but the function still does not recieve the parameter and provides the response that it is designed to provide when no parameter is recieved.

I am wondering if there are some changes I need to make to the WSML file. Also if there is any way to get the builder to recognize the need for parameters so that I do not have to manually edit the files.

I am using VFP 7.0 and Windows 2000 OS
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform