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

Re: need help. willing to pay

$
0
0
Re: need help. willing to pay
Web Service Proxy Generator
Re: need help. willing to pay
Jun. 11, 2013
08:48 pm
3T118LZA8Show this entire thread in new window
Gratar Image based on email address
From:john
To:Rick Strahl
Hi Rick and thanks. Yes I had been digging in the help and found some things that were helpful. I found as you mentioned, that I was passing the wrong type. Actually what I had done was I created an array, a regular foxpro array and was passing that to the method. After reading a bit I realized I was totally wrong and should be using a ComArray. To make a long story short I have read everything I can understand (and I can be pretty slow), but simply do not understand how to create the comarray. Well, as I am writing this I realized how to accomplish part of this. I called a different method than the one I need the ComArray for. That method only needs 2 parameters, a string value and a float value. I called that method and voila, no error. So this means I can retrieve data and I can send data via the web services. Next I need to understand how to create a ComArray. I have one thing to ask the people whose web services I am consuming. I do not understand something about what would be in the ComArray. I need to clear that up with them as early as possible Wednesday morning. They are on the west coast so it will be close to Noon my time before I know. As soon as I get clarification I would gladly accept some help. Since you are even further west that may work for you. What is the earliest I should call you? Thanks, John


Hi John,

The problem is that you need to pass the proper type into the Web Service. If you pass an invalid signature - ie. you're missing parameter values or you're passing a parameter of the wrong type that the .NET method expects you get the error message in question.

I can take a look if you like. I got your message from earlier - was out most of the day today, but will be around tomorrow all day. Feel free to give me a call and I can help if necessary.

You can also scan the help file for more info which describes various parameter passing scenarios on how to create complex .NET types, populate them with values and then pass them to the FoxPro proxy methods.

Aloha,

+++ Rick ---



I have an app that has to consume web services. I have installed the proxy generator.

I have written code that calls one of the web services functions. For this particular function I did not need to send any parameters. It works and returns an array.

Now I need to write code to call other functions. For these functions I do have to pass values. I mention that because it may be how I am passing values to the function that may be my problem. I get an error when calling these other functions. the error I get says that function is not found. I looked in the prg generated by the proxy generator. The function is in that prg so I have no idea what I am doing wrong.

I need someone to help me understand how to call these functions well enough that I can incorporate calls to these web services functions from various places in my app. I have very little time to accomplish this. If anyone is interested in helping I will send whatever you need to be able to help me. My number is 828-461-8215 (anytime).

thanks,
John Cook





Viewing all articles
Browse latest Browse all 10393

Trending Articles