0
I have a WCF application that has a vehicle.svc service as in figure 1.
In the vehicle service.svc has a recording method that receives a vehicle DTO as in figure 2.
public class VeiculoDto
{
public string AnoFabricacao { get; set; }
public string AnoModelo { get; set; }
public string Placa { get; set; }
}
In turn the service Veiculo.svc implements the interface Iveiculo.Cs that has a record contract as in figure 3.
Using Soapui to make a call in this service I have the following request:
The request must have the following structure:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ws="ws">
<soapenv:Header/>
<soapenv:Body>
<ws:Registar>
<!--Optional:-->
<veiculo>
<!--Optional:-->
<wcf:AnoFabricacao>?</wcf:AnoFabricacao>
<!--Optional:-->
<wcf:AnoModelo>?</wcf:AnoModelo>
<!--Optional:-->
<wcf:Placa>?</wcf:Placa>
</veiculo>
</ws:Registar>
</soapenv:Body>
</soapenv:Envelope>
I would like to know how to get only the node < Register > to 'Ws:' < Ws:Register > in your tag?
The solution solved your problem? or was missing something?
– Bruno Warmling