I am interested in your product but I would love to see if it works with my wdsl, since I can not make the example work. I throw this error: "I can not find the method"
Please provide more info what isn't working...
+++ Rick ---
This variable returns false.
And thus gives me this error:
thanks for your help.
the exception error:
First I recommend you use V4 instead of V2 for the service. If you use a recent version of the tool proxies are generated with .NET 4 and won't work under V2.
I can't read your error message (can't find the service type?), but it points at a load error so that's a place to start. Please paste your error message or translate to English so we can read the jist of it at least.
Again I can't tell what the error message says, but make sure the DLL is there as well. Best to import the service, then use the option to copy all the files into a folder to ensure that all the required file dependencies are available.
+++ Rick ---
This is the error: can not find the ServCteService.ServCteService.obtConvMatr
I have regenerated the project in a new directory, I include the generated files. And an example .prg to generate the error.
This is the code for the .prg file.
I think the error could come from a bad registry of the assembly., When rebuilding the project and registering the assembly you get the error: RA0000: registering an unsigned assembly /codebase ... provide the assembly with a strong name And re-register.
I have windows 7 64bits
There is nothing that should be registered. wwDotnetBridge accesses .NET components directly and there are no dependencies on anything external in generated .NET proxy.
+++ Rick ---
Also if you're not running a recent version of the WSDL Generator, I recommend downloading latest - there was an update last week that now defaults to .NET 4 if you don't specify runtime versions.
+++ Rick ---
I reinstalled generator and my problem continues. It is impossible for me to generate a demonstration of good performance.
Therefore I can not buy until it works for me.
Is this a publicly available service? I can take a look... or you can privately email me the WSDL and if possible some basic code to call a method on the service.
+++ Rick ---
It's a private service, I can send you the data I need for the tests. I could provide the mail.?
This error has something to do with the fact that my test does not function properly.
RegASm: warning RA0000: Registering an unsigned assembly with / codebase may cause the assembly to interfere with other applications installed on the same computer. The / code modifier Base is only used with assemblies with signs. Give the assembly a strong name and re-register it.
I have no idea what your error means. I can't even tell if the error you're getting comes from the server or from the FoxPro app you're calling.
Anyway this code:
*** Load Proxy Class and Dependencies
DO servcteserviceproxy
*** Create Proxy Instance & specify .NET version
loProxy = CREATEOBJECT("ServCteServiceProxy","V4")
loBridge = loProxy.oBridge
loEan = loBridge.CreateInstance("ServCteService.obtEAN")
? loBridge.cErrorMsg
loEan.p_age = "25"
loEan.p_cad = "xcads"
loResult = loProxy.obtEAN(loEan)
? loProxy.cErrorMsg
? loResult
RETURN
runs and works to call the server - it does generate a server error (presumably because I'm not passing proper data), but I get no errors on the FoxPro end. If you fill in the required fields this likely will work.
+++ Rick ---