Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

ReGenerating WSDL

$
0
0
ReGenerating WSDL
Web Service Proxy Generator
ReGenerating WSDL
10/10/2012
01:02:24 PM
3M80RY8A8 Show this entire thread in new window
Gratar Image based on email address
From:
Rick Strahl
To:
Attachments:
None
Just for clarification for lurkers:

It turned out the issue here was that the request was taking too long and timing out. Adjusting the values passed to faster processing requests solved the problem. Alternately the timeout can be set on the proxy with:

loProxy = CREATEOBJECT("YourService_Proxy") loProxy.oService.Timeout = 150000 && in milliseconds

Further it's *always* important to check for errors after making service method calls on the service just to ensure that the data is valid:

loResult = loProxy.ServiceMethod() IF ISNULL(loResult) OR !loResult) *** ERROR ? loProxy.cErrorMsg RETURN ENDIF

+++ Rick ---


You might want to download the latest version. The work we did with this was done with early versions of the generator and there have been a bunch of improvements since...

+++ Rick ---



I get the error File Access is denied c:\...\est wind web ervice proxy generator for visual foxpro\wsdl.txt when I try to regenerate.
If I ignore I get a compilation Error (error CS1529: A using clause must precede all other namespace elements except extern alias declarations.
Then error CS0102 The Type RFPPServiceWSService.RFPPSErviceWSSService already contains a fefinition fo

Not sure what I am doing wrong on the regeneration.





Rick Strahl
West Wind Technologies

Making waves on the Web

from Maui, Hawaii

Viewing all articles
Browse latest Browse all 10393

Trending Articles