Petals BC REST

Output message of a service provider must be compliant with the WSDL

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.1-BC
  • Fix Version/s: 1.1.0-BC
  • Component/s: Provider mode
  • Security Level: Public
  • Description:
    Hide

    On provider side, a JSON reply is converted into a basic XML that is not compliant with the WSDL of the service-unit. The same problem occurs with a resource returning a XML response.

    We should be able to adapt these XML formats to the one defined in the service provider WSDL.

    Show
    On provider side, a JSON reply is converted into a basic XML that is not compliant with the WSDL of the service-unit. The same problem occurs with a resource returning a XML response. We should be able to adapt these XML formats to the one defined in the service provider WSDL.
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Thu, 29 Dec 2016 - 17:34:02 +0100 - edited

We can use the configuration element 'on-http-status' introduced with PETALSBCREST-2 to add a XSL transformation on the XML resulting of the JSON conversion or on the XML returned by a resource.

Show
Christophe DENEUX added a comment - Thu, 29 Dec 2016 - 17:34:02 +0100 - edited We can use the configuration element 'on-http-status' introduced with PETALSBCREST-2 to add a XSL transformation on the XML resulting of the JSON conversion or on the XML returned by a resource.
Hide
Christophe DENEUX added a comment - Thu, 29 Dec 2016 - 17:36:23 +0100

XSL transformation added in trunk

Show
Christophe DENEUX added a comment - Thu, 29 Dec 2016 - 17:36:23 +0100 XSL transformation added in trunk

People

Dates

  • Created:
    Thu, 29 Dec 2016 - 17:32:25 +0100
    Updated:
    Fri, 6 Jan 2017 - 11:42:35 +0100
    Resolved:
    Thu, 29 Dec 2016 - 17:36:23 +0100