Autodesk Vault Customization
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Getting Soap Exceptions when trying to access UDPs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
When executing the following code
...
PropertyService propSvc = new PropertyService();
PropDefInfo[] propDefs = propSvc.GetPropertyDefinitionInfosByEntityClassId(
PropInst[] fileProperties = propSvc.GetPropertiesByEntityIds("FILE", new long[] { selectedFile.Id }); // SOAP 0 Error!
...
I'm getting a "SoapException was unhandled by user code" error.
For the 2nd line shown the error is "System.Web.Services.Protocols.SoapException: 106" and for the 3rd line shown the error is "System.Web.Services.Protocols.SoapException: 0".
My guess is that I'm not properly instantiating propSvc, but cannot find a clean example of this anywhere. Any suggestions appreciated!
Dan
Re: Getting Soap Exceptions when trying to access UDPs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
The easiest way to set up your service is to use the WebServiceManager in Autodesk.Connectivity.WebServiceTools.
Vault Web View has an example of reading property values.

