Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


ErikC
  •  ErikC
  • Free support Topic Starter
2012-03-23T10:27:26Z
Today I tried to call a method from a webservice.
I used the Webservice/WCF execute task for this.

If I enter the URL and select the 'Web service' as discovery mode and clicking the refresh button, I receive a popup telling me:

Error retrieving data
3 error/s compiling web service proxy class.
line '13', error:The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?).
line '118', error:The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?).
line '137, error:The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?).


When I type in the URL in my browser, I see all the methods.
This Webservice is accessing a Sybase server.

I have an other webservice doing Active Directory tasks and that one is giving me the methods back.

I don't believe the webservice is wrong (I created them both 😎), so what's the issue here?

Regards
Erik
Uses Visualcron since 2006.
Sponsor
Forum information
Support
2012-03-23T10:36:07Z
It would be interesting if you could expose that web service in some way so we can test it from here. It seems to be very specific to that web service.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Free support Topic Starter
2012-03-23T10:49:41Z
Hi Henrik,

No I can't, but I can give you some info about it:

It's running on a Windows Server 2003 x64.
It is retrieving data from a Sybase database server, so it is referencing the Sybase dll's (using Sybase.Data.AceClient).

What other info do you need?

regards
Erik
Uses Visualcron since 2006.
Support
2012-03-23T10:59:40Z
The question is why and how that namespace is exposed in the webservice. It shouldn't as this it namespace is not any standard in web services.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Free support Topic Starter
2012-03-23T11:06:41Z
Here is the WSDL from the webservice:



It might help you.

regards
Erik
Uses Visualcron since 2006.
Support
2012-03-27T10:57:15Z
There are a lot of errors in the wsdl as it seems you have copied it from IE. Could you right click and paste the source instead.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Free support Topic Starter
2012-03-27T11:12:51Z
And again, without errors I hope.



Regards
Erik
Uses Visualcron since 2006.
Support
2012-03-27T13:22:07Z
Thanks,

please test this version:

http://www.visualcron.co....aspx?g=posts&t=2311 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Free support Topic Starter
2012-03-28T09:45:06Z
Hi,

With this version I can see/access my webmethods, THANKS.

My HelloWorld testmethod (oh yes) is giving me the ouput I expect.

If I open up my webservice taks again, I have to refresh to see my other methods.
Is this normal behavior?

Regards,
Erik
Uses Visualcron since 2006.
Support
2012-03-28T12:00:38Z
This is normal. The reason is that we do not want to cache (or re-query just because you open the Task) methods that are not used.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top