I coded myself into a corner!
I wrote an object in my Web Service which utilizes a custom attribute. In my client app, the web reference does not support that custom attribute! (AFAIK)
I didn't even think about this, but is it possible to send metadata over a web service?
example:
Web Service:
Client:
^^^ Foo's ID property does not have custom attribute "Searchable"
Other than breaking down the object and rebuilding under a different namespace on the client side, is there a way to get my custom attribute to be recognized over a Web Reference????
I wrote an object in my Web Service which utilizes a custom attribute. In my client app, the web reference does not support that custom attribute! (AFAIK)
I didn't even think about this, but is it possible to send metadata over a web service?
example:
Web Service:
Code:
public Foo
{
private string id;
[CustomSearchableAttribute("Identity")]
public string ID { get...set...};
}
Code:
using WebServiceNamespace;
.
.
.
MyWebSvc mySvc = new MyWebSvc();
Foo f = mySvc.GetAFoo();
Other than breaking down the object and rebuilding under a different namespace on the client side, is there a way to get my custom attribute to be recognized over a Web Reference????