Guest User

Untitled

a guest
Jul 16th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  2. <soap:Body>
  3. <ns3:Insercion xmlns="http://schemas.datacontract.org/2004/07/ServiciosWebJulia" xmlns:ns2="http://schemas.datacontract.org/2004/07/ServiciosWebJulia.Clases" xmlns:ns3="http://tempuri.org/" xmlns:ns4="http://schemas.datacontract.org/2004/07/ServiciosWebJulia.App_Code.Utilidades" xmlns:ns5="http://schemas.microsoft.com/2003/10/Serialization/">
  4. <ns3:entidad>
  5. <EmpresaOrigen>DOME</EmpresaOrigen>
  6. <RegistroAsiento_Contables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  7. <RegistroAsiento_Provision_de_Compras xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  8. <RegistroBancos_Clientes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  9. <RegistroBancos_Proveedores xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  10. <RegistroCab_Abonos_de_Compra xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  11. <RegistroCab_Abonos_de_Venta xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  12. <RegistroCab_Facturas_de_Compra xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  13. <RegistroCab_Facturas_de_Venta xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  14. <RegistroCliente>
  15. <ns2:Cliente>
  16. <ns2:addressField>220 EAST CENTRAL PARK WAY, SUTIE 4000</ns2:addressField>
  17. </ns2:Cliente>
  18. </RegistroCliente>
  19. </ns3:entidad>
  20. </ns3:Insercion>
  21. </soap:Body>
  22. </soap:Envelope>
  23.  
  24. public class ValuesController : ApiController
  25. {
  26. // [HttpPost]
  27.  
  28. public APIresponse Post([FromBody] Cliente request)
  29. {
  30.  
  31.  
  32. return new APIresponse
  33. {
  34. ResponseMessage = "here"
  35. };
  36. }
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43. public class Cliente
  44. {
  45.  
  46. [XmlElement("addressField")]
  47. public string addressField { get; set; }
  48.  
  49.  
  50.  
  51. }
  52. }
Add Comment
Please, Sign In to add comment