This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello - I almost have this beast under control, but I ran into an error today while trying to expose the metadata. I don't know if it will bite me in the future or not... Some time ago I posted a similar question here: http://www.mindscapehq.com/forums/Thread.aspx?PostID=14326 This answered my question at the time, but now I'm trying to enable metadata for this phase of the project, and running into problems. I want to retrieve an entity with (many) collections, and it seems to work just fine when retrieving it via TCP as long as I decorate the contract with UseNetDataContractSerializer. However, when I try to get the wsdl page over HTTP I now get the dreaded InvalidDataContractException. I believe my syntax is correct in the app.config file, as I can retrieve metadata for services with entities sans collections just fine. This works: http://localhost:9005/ProductionMonitor?wsdl This doesn't: http://localhost:9025/ProductionMonitor?wsdl I will attach the app.config file so you can check it out if need be. To reiterate, my application is working with the decoration, but the metadata retrieval is broken. Will this cause me any problems in the future, as I will not have metadata enabled once we go to production? Do I even need to worry about it? As always, thanks for any assistance you may provide... Dave
|
|
|
Missed the attachment |
|