I am trying to define contract which would allow me to create a void method.
Here is a contract in the message xml file.
<xs:element name="SelectPaper" >
<xs:element name="BookId" type="TBookParameter" />
The problem is that, when Response element is empty (as above), client code is generated for SelectPaper method
with SelectPaper class, and TBookParameter is a member of this class.
What I would like to have is, the method SelectPaper with TBookParameter parameter.
I have sth like this:
public object TestMethod (SelectPaper paper)
I would like to have:
public object TestMethod (TBookParameter paper)
When the response element contains any type, then I have the correct method signature ...
What's wrong with my code?