Web Service Proxy Generator
Help ., Proxy Generator
Gravatar is a globally recognized avatar based on your email address. Help ., Proxy Generator
  Gerardo Dominguez
  All
  Jun 17, 2017 @ 11:31am

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"

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Rick Strahl
  Gerardo Dominguez
  Jun 17, 2017 @ 01:22pm

Please provide more info what isn't working...

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Gerardo Dominguez
  Rick Strahl
  Jun 19, 2017 @ 08:14am

This variable returns false.

And thus gives me this error:

thanks for your help.

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Gerardo Dominguez
  Rick Strahl
  Jun 19, 2017 @ 09:01am

the exception error:

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Rick Strahl
  Gerardo Dominguez
  Jun 19, 2017 @ 11:10am

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 ---

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Gerardo Dominguez
  Rick Strahl
  Jun 19, 2017 @ 11:51am

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.

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Gerardo Dominguez
  Rick Strahl
  Jun 19, 2017 @ 12:35pm

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

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Rick Strahl
  Gerardo Dominguez
  Jun 19, 2017 @ 12:43pm

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 ---

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Rick Strahl
  Gerardo Dominguez
  Jun 19, 2017 @ 07:12pm

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 ---

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Gerardo Dominguez
  Rick Strahl
  Jun 20, 2017 @ 05:44pm

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.

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Rick Strahl
  Gerardo Dominguez
  Jun 20, 2017 @ 05:45pm

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 ---

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Gerardo Dominguez
  Rick Strahl
  Jun 21, 2017 @ 08:10am

It's a private service, I can send you the data I need for the tests. I could provide the mail.?

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Gerardo Dominguez
  Gerardo Dominguez
  Jun 21, 2017 @ 01:07pm

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.

Gravatar is a globally recognized avatar based on your email address. re: Help ., Proxy Generator
  Rick Strahl
  Gerardo Dominguez
  Jun 21, 2017 @ 03:55pm

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 ---

© 1996-2017