Re: FoxPro web services (again)

2007-05-25 Thread Derek Kalweit
> BTW, FWIW I've found it better to have very few methods (maybe just 2 -
> Get and Send) exposed via the wsdl file and handle all the logic in the
> com server depending on the parameters passed to the method.

I find 1 process is ideal. With an input XML parameter and and output
XML parameter. This makes deployment of a simple WSDL file easy, and
you can handle the existance/non-existance of data in your input
parameters easily in your VFP code. This is pretty much a necessity if
your clients/servers may be of mis-matched versions, as is the case in
most of my web service implementations...


-- 
Derek


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: FoxPro web services (again)

2007-05-25 Thread Allen
The one I mentioned only has one procedure. Calling it com style and it
shows but calling it web service style and it says its not there.
I think it shows up in the wsdl file but it shows as messagename and
operation name. Not sure what it should show as I never go one of these
working yet.
Allen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Abbott
Sent: 25 May 2007 19:23
To: [EMAIL PROTECTED]
Subject: Re: FoxPro web services (again)

I use Westwind for this stuff so am not totally familiar with the 
walkthrough you cite, but as a general thing the methods are all exposed 
via the wsdl file.  Are all your methods instanced in there?

BTW, FWIW I've found it better to have very few methods (maybe just 2 - 
Get and Send) exposed via the wsdl file and handle all the logic in the 
com server depending on the parameters passed to the method.

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.8.0/817 - Release Date: 24/05/2007
16:01
 



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: FoxPro web services (again)

2007-05-25 Thread Brian Abbott
I use Westwind for this stuff so am not totally familiar with the 
walkthrough you cite, but as a general thing the methods are all exposed 
via the wsdl file.  Are all your methods instanced in there?

BTW, FWIW I've found it better to have very few methods (maybe just 2 - 
Get and Send) exposed via the wsdl file and handle all the logic in the 
com server depending on the parameters passed to the method.

Allen Pollard wrote:
> Hi foxgang
> Anyone figured out web services yet.
> I'm playing with the one here.
> http://Msdn2.microsoft.com/en-us/library/ms917487.aspx
> I've managed it al (I think) but I cant seem to get any methods other than
> the soap ones.
> I can access the com server (dll) fine and get the method but the way shown
> has only a few soap methods and not the one in the class.
> Help
> Allen


-- 
Cheers


Brian Abbott



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


FoxPro web services (again)

2007-05-25 Thread Allen Pollard
Hi foxgang
Anyone figured out web services yet.
I'm playing with the one here.
http://Msdn2.microsoft.com/en-us/library/ms917487.aspx
I've managed it al (I think) but I cant seem to get any methods other than
the soap ones.
I can access the com server (dll) fine and get the method but the way shown
has only a few soap methods and not the one in the class.
Help
Allen

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.8.0/817 - Release Date: 24/05/2007
16:01
 



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.