05-14-2009 10:33 AM
In case anyone else sees the 404 error- this will happen if you have a control or indicator of a data type (such as enum) which is not yet supported in web services linked to the connector pane. So that is one thing to check.
05-14-2010 04:02 PM
I found another case that will result in a 404 error: when a file path of one or more of your VIs exceeds Windows' 255-character limit in the as-deployed state. It is quite easy for this to occur since NI is places the deployed web service in
C:\Documents and Settings\All Users\Application Data\National Instruments\Web Services 2009 32-bit\UserServices\deployed\{Service Name}-{37-character GUID}
So that's about 170 chars before user code is taken into consideration. Since the web service is deployed with the VI hierarchy preserved, relative paths longer than 85 chars will induce failure. There may be ways to work around this inside of LabView but otherwise from the user level we just have to rename files to shorter names. I'm investigating a work-around.
-Rob
05-20-2010 11:02 PM