I already use JsonServiceClient, but I want also be compatibile with "Add service reference", etc.
<xs:schema xmlns:tns="http://schemas.servicestack.net/types" elementFormDefault="qualified" targetNamespace="http://schemas.servicestack.net/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="Services.Hello">
<xs:sequence />
</xs:complexType>
<xs:element name="Services.Hello" nillable="true" type="tns:Services.Hello" />
<xs:complexType name="Services.HelloResponse">
<xs:sequence />
</xs:complexType>
<xs:element name="Services.HelloResponse" nillable="true" type="tns:Services.HelloResponse" />
</xs:schema>
</wsdl:types>
Cheers,
Ok, that was it. DTO's can't be defined in an inner class. But why?
Ok, that was it. DTO's can't be defined in an inner class. But why?
Once again thank you for your time.