‎08-06-2015 07:03 PM - edited ‎08-06-2015 07:04 PM
I have a created a Child Web Service class that inherits from Web Service. In my Web Service startup VI I am unable to use my class, because if I put it on the connector pane in the place of the Web Service.lvclass that is there by default, I get error −67001: LabVIEW Web Services: The Web service is undefined. This tells me the class object isn't being set correctly even though it's on the connector pane.
Can I do what I want? It would seem kind of silly if we are able to inherit from Web Service but then not use the child class in place of the parent on the Startup VI.
‎08-07-2015 11:43 AM
Hi Greg,
Can you provide a little more detail about your use case? Why do you want to inherit from Web Service.lvclass? Is there a reason why Web Service.lvclass does not meet your needs? I only ask because I have not found anyone else that has reported this error so I can find no information about it.
I tried to do something similar to what I thought you were doing and are not getting error -67001:
Can you provide any code that shows this behavior? Where do you get this error? When you start the web service? If it inherits, I would imagine it should work as you want since it has all the necessary methods/data that LabVIEW would need, but I'm not 100% certain.
‎08-11-2015 10:04 AM
Did you deploy and run the web service? This is a runtime, not compile time, error.
‎08-12-2015 07:39 AM
Hi Greg,
I did deploy and run it. Can you provide a snippet?
Best Regards,
‎08-12-2015 09:54 AM
I will this weekend; this has kind of taken a back seat just because I got it working without inheritance. Thanks for your responses.