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

.net proxy generator

$
0
0
.net proxy generator
West Wind Internet Protocols
.net proxy generator
Jul. 17, 2013
01:32 pm
3U10T0IUMShow this entire thread in new window
Gratar Image based on email address
From:Gary Beasley
To:All
Hi!

I used the .netproxygenerator app to create a set of fox methods to talk to a .net web service. I've used this tool before with great success, but with the service I'm trying to consume now, it is using a type of "datatable", which I know is basically XML. One of the methods generated was:

FUNCTION PostMessage(dt as DataTable) as DataTable
LOCAL loException as Exception, lvResult as DataTable

THIS.lError = .F.
this.cErrorMsg = ""

lvResult = .F.
TRY
lvResult = this.oBridge.InvokeMethod(this.oService, "PostMessage", dt)

CATCH to loException
THIS.GetErrorDetail(loException)
ENDTRY

RETURN lvResult
ENDFUNC

How should I handle this input parameter? Should I pass in a CURSORTOXML object? The result is also a datatable type, so I'm assuming that I could use XMLTOCURSOR.

The author of the service provided me the WSDL so I could get the ball rolling, but the service itself is not up and running yet so I haven't had the chance to experiment. Just wanted some heads up advise on this if possible.

Thanks in advance....

Gary


Viewing all articles
Browse latest Browse all 10393

Trending Articles