Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
0 Points
4 Posts
May 03, 2012 04:24 PM|LINK
Working with WCF, given the following operation contract that returns an "Asegurado" object. I want, in returning xml generated, show the item
<a:Asegurado>
<obtenerDatosAseguradoResult ..>
Operation:
<OperationContract()>Function obtenerDatosCliente(ByVal num As String) As Asegurado
Response:
<obtenerDatosAseguradoResponse xmlns="http://tempuri.org/"> <obtenerDatosAseguradoResult xmlns:a="http://schemas.datacontract.org/2004/07/dkv.lib.objects.citaOnline" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <a:apellidos>APELLIDOS</a:apellidos> <a:fechaNacimiento>1971-03-22T00:00:00</a:fechaNacimiento> <a:nif>7777777B</a:nif> ...
How can i achieve this without changing returning object in the OperationContract?
wsdl WCF
neko_zgz
0 Points
4 Posts
WCF - wsdl generation working with objects
May 03, 2012 04:24 PM|LINK
Working with WCF, given the following operation contract that returns an "Asegurado" object. I want, in returning xml generated, show the item
after the itemOperation:
Response:
How can i achieve this without changing returning object in the OperationContract?
</div>wsdl WCF