Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Oracle Service Bus REST request without formatting

Miguel Ramirez
Member Posts: 1 Red Ribbon
Hi there.
I have developed a OSB Application that receives SOAP request and calls REST back-end services. This was accomplished using REST adapters and nXSD schemas by Service Callouts, so the transformation is automatically done by the Adapter when calling the REST services. Using an HTTP Analyzer, the raw payload of the HTTP request message in the REST back-end service is a formatted JSON representation with alignment and line breaks .
POST /core/realizarCalculoSimuladorList HTTP/1.1SOAPAction: "simularArrendamiento"Accept: application/jsonContent-Type: application/json;charset=utf-8User-Agent: Jersey/2.22.4 (HttpUrlConnection 1.8.0_221)Host: localhost:8090Connection: Keep-AliveContent-Length: 1831ECID-Context: 1.667d2cfd-edca-4f93-9e4b-6936c204fed8-000001fe;kXhgv0YD6SRRrPGPPGCCk0DJtLORiPPSp9QNkCIUtNSCtNLCLNFR4JKCk0CCk8GW9VNNNSGH6VKHPLJNMLJGKVIKVHGEp8DEt3CDp9ECX-Forwarded-For: 127.0.0.1{ "Simulacion" : { "AnticipoCapital" : { "MontoBase" : "1000.00", "Monto" : 1000.00, "MontoMasIva" : 1000.00, "Porc" : 1000.00, "IVA" : 1000.00 }, "RentaExtraordinaria" : { "MontoBase" : 1000.00, "Monto" : 1000.00, "MontoMasIva" : 1000.00, "Porc" : 1000.00, "IVA" : 1000.00 }, "ComisionDisposicion" : { "MontoBase" : 1000.00, "Monto" : 1000.00, "MontoMasIva" : 1000.00, "Porc" : 1000.00, "IVA" : 1000.00 }, "RentasDeposito" : { "MontoBase" : 1000.00, "Monto" : 1000.00, "Capital" : 1000.00, "Interes" : 1000.00, "IvaCap" : 1000.00, "IvaInt" : 1000.00, "Cant" : 1000.00 }, "Seguros" : { "Monto" : 1000.00, "IVA" : 1000.00, "MontoMasIva" : 1000.00, "ContadoFinanciado" : 100 }, "Mantenimiento" : { "Monto" : 1000.00, "IVA" : 1000.00, "MontoMasIva" : 1000.00, "ContadoFinanciado" : 100 }, "GastosAdministrativos" : { "Monto" : 1000.00, "IVA" : 1000.00, "MontoMasIva" : 1000.00, "ContadoFinanciado" : 100 }, "Otros" : { "Monto" : 1000.00, "IVA" : 1000.00, "MontoMasIva" : 1000.00, "ContadoFinanciado" : 100 }, "TasaIva" : 1000.00, "TasaTabla" : 1000.00, "Feriados" : 100, "InteresesSiInhabil" : 100, "Sistema" : "string", "SaldoInsoluto" : 1000.00, "TNA" : 1000.00, "DiaTope" : 100, "DiaPago" : 100, "Plazo" : 100, "Periodicidad" : 100, "Esquema" : "string", "Denominador" : 100, "FechaI" : "string", "Residual" : 1000.00, "CuotaFinal" : 1000.00, "IvaInteres" : false, "IvaCapital" : true }}
For some reason out of my scope, the back-end service doesn't accept the formatted JSON, instead it needs a flatten JSON payload.
Is that posible?
Thank You!