[Solved] WCF Service task not enumerating service methods - VisualCron - Forum

Community forum

byutvadmin
2014-02-10T21:02:52Z
We have several tasks we set up to hit some WCF services we have hosted through IIS, so using httpbinding. For several months now, we've been dealing with an issue where we can only interact with these services if we enumerate the methods as "Web Service" as opposed to "WCF".

For most tasks that isn't an issue. Now, I have a service method that works correctly when I call it from wcftestclient or WCFStorm, but when I try to call the service from Visualcron, it fails with "Exception in Task: Object reference not set to an instance of an object."

I'm trying to eliminate some kind of configuration error and would like VisualCron to enumerate using WCF as opposed to classic Web Service, but I suspect something not quite right in our configuration that is causing Visualcron not to enumerate the types and methods.

Has anyone run into similar issues or have some tips?
Sponsor
Forum information
Support
2014-02-11T08:10:52Z
Please try with the latest build: http://www.visualcron.co....aspx?g=posts&t=3784 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
byutvadmin
2014-02-11T17:25:43Z
That is the build we are currently running, since we ran into the issue of WCF/Web Services not working at all on 7.1.1.
ErikC
2014-02-12T09:48:41Z
Hi byutvadmin,

I want to add that I build a WCF service myself, but I have to use the Web Service discover mode to see my methods.

Regards
Erik
Uses Visualcron since 2006.
byutvadmin
2014-02-12T21:16:41Z
Originally Posted by: ErikC 

Hi byutvadmin,

I want to add that I build a WCF service myself, but I have to use the Web Service discover mode to see my methods.

Regards
Erik



Well, that's making me think it's not a config problem in my WCF services and instead something to do with VisualCron...
Support
2014-02-14T14:49:40Z
I believe that you need to expose the web service like described here:

http://stackoverflow.com...tenabled-and-mex-binding 

httpGetEnabled="true

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
byutvadmin
2014-02-14T21:59:32Z
Originally Posted by: Support 

I believe that you need to expose the web service like described here:

http://stackoverflow.com...tenabled-and-mex-binding 

httpGetEnabled="true



We already have httpGetEnabled="true" set on these services.
Support
2014-02-15T00:08:30Z
And you did the mex-binding?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
byutvadmin
2014-02-18T15:53:57Z
Originally Posted by: Support 

And you did the mex-binding?



Yup. We've had that configured from the beginning, as well.
Support
2014-02-19T10:57:43Z
Is it possible that you could send a sample WCF project where you have mexbinding and httpGetEnabled - something very simple to reproduce. Please send it to support@visualcron.com.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
byutvadmin
2014-02-20T18:11:39Z
Originally Posted by: Support 

Is it possible that you could send a sample WCF project where you have mexbinding and httpGetEnabled - something very simple to reproduce. Please send it to support@visualcron.com.



Okay, I will be sending a sample project to you shortly.
ErikC
2014-02-21T08:45:44Z
Hi Henrik,

I made my WCF with a default WCF project from VS2010. The methods of this default WCF do not show in VC.

Regards
Erik
Uses Visualcron since 2006.
Support
2014-02-21T14:39:02Z
Ok, thanks for information. We will get back to you next week.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2014-03-11T11:51:19Z
As resolved through email you need to specify the ?wsdl address. New version will attempt to auto-discover that.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top