+++ Rick ---
Rick, Can I ask the ip address you are coming from. They do block international ip addresses.
Thanks,
John
I can't connect to the service. Proxy generator simply fails to connect even with uid and pwd provided..
+++ RIck ---
wsdl = https://ws02-test.tponlinepay.com/soap/FReleaseCard/index.php?WSDL
u=stmarysp_3c2646a0_test
pw=a565f9cd9b57df
Thank you,
john
Not sure... sounds like there's something in the WSDL that isn't being translated properly. Only way to tell for me is to import the service and take a look.
+++ Rick ---
Rick, This is the createobject line of code. As you already know, there is no 'data' that I comprehend.
loService = CREATEOBJECT("FReleaseCardProxy","V4") && Optionally specify .NET Version
Thanks, John
John,
Not sure what that means. Yeah definitely need more info. What is 'data' in this case?
+++ Rick ---
Hi Rick,
I got the wsdl and have generated the proxy. I had the generator move the files and checked to ensure they are there.
Using the little test program you and I used to get the earlier web services up and working, and modifying only the name of the service, I get an error when issuing createobject for the service. The proxy generated is FReleaseCardProxy. When it calls the init() in FReleaseCardProxy.prg I get error:
'data' is an invalid value for the SoapElementAttribute.DataType property. The property may only be specified for primitive types.
Any idea or do I need to provide more info?
Thanks,
John Cook
Hi Rick, I just got off phone with provider. They will send wsdl. Let me look at it and then if I need help, I will ask. BTW, Can you look and see if I made payment for our 2nd session? I can not remember and can not find where I did pay it.
Thanks,
John
Not sure what you're asking.
What do you mean when you say Object Definitions? You mean classes?
Just import the service and then see what you get with Reflector - that will tell you about the structure of the service.
+++ Rick ---
I just received a new task involving web services. My VFP app has a feature that allows releasing funds to a debit card. My app is merely telling some other app (via web service calls), to issue the card. I have the value of the card that needs to be issued and the information about to whom the card will be issued, in my app/database.
The documentation starts with OBJECT DEFINITIONS followed by 6 tables, one each for Authentication, Card, Person, AmountToLoad, PortalId and ReferenceId. The tables have rows and columns. For example the Person table has 10 rows, 1 row per field like AccountNumber,FirstName, etc and the columns are for RequiredY/N, Type (string, date, etc), Length, etc.
So I figure the above are probably the .NET objects
Then the documentation shows OPERATION DEFINITIONS. I have a "IssueCard - Request" table with 6 fields, 1 per the above named rows i.e. Authenticatiuon, Card, Person, etc.
I also have a "Void Card - Request" and a "Issue Card - Response" and a "Void Card - Response".
Then under examples, I see a "IssueCard Request" and then some XML then a "IssueCard Response - Success" with some XML, then a "IssueCard Response - Failure" and some XML.
Does all this mean that rather than using ComArrays like I used on the only earlier web services programming I have done (using west wind proxy generator), that I would be passing (passing may not be the right term) XML instead, or something like that??? Perhaps it means I would be passing several comarrays in the same call to their function?
Need help with the big picture.
Thanks,
John
Rick Strahl
West Wind Technologies