B
Balvinder Singh
Hi,
I'm developing a web service in which i have to expose lot of buisness
entities. These entities are implemented as Data Transfer objects to
be exposed to clients. i have defined a base class IData for all these
business entity classes and the web method exposed in web service is
[WebMethod]
public boolean submit(IData d)
{
//do processing
return true;
}
When i build it in VS.Net, the wsdl generated contains definition for
IData only but does not contain definition for business entities, so
the clients cannot see there definition in proxy generated.
When i add another web method taking as input buisness entity object
say Recording
[WebMethod]
public boolean submitRecordingData(Recording r)
{
//do processing
return true;
}
then Recording class becomes visible at client side.
Can anyone tell me how i can expose all business entity classes from
web service while exposing single web method "submit" which takes as
input IData.
Any help will be greatly appreciated.
thanks & regards
Balvinder
I'm developing a web service in which i have to expose lot of buisness
entities. These entities are implemented as Data Transfer objects to
be exposed to clients. i have defined a base class IData for all these
business entity classes and the web method exposed in web service is
[WebMethod]
public boolean submit(IData d)
{
//do processing
return true;
}
When i build it in VS.Net, the wsdl generated contains definition for
IData only but does not contain definition for business entities, so
the clients cannot see there definition in proxy generated.
When i add another web method taking as input buisness entity object
say Recording
[WebMethod]
public boolean submitRecordingData(Recording r)
{
//do processing
return true;
}
then Recording class becomes visible at client side.
Can anyone tell me how i can expose all business entity classes from
web service while exposing single web method "submit" which takes as
input IData.
Any help will be greatly appreciated.
thanks & regards
Balvinder