Processing of JSON message through Oracle B2B — oracle-tech

    Forum Stats

  • 3,708,961 Users
  • 2,241,165 Discussions
  • 7,840,722 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Processing of JSON message through Oracle B2B

29259402925940 Posts: 2
edited July 2018 in Integration - B2B

Hi All,

I would like to know whether oracle B2B is able to process JSON message as input/output for Inbound/outbound transactions. If anyone of you worked on JSON message flowing in B2B , please share the knowledge document at the earliest.

Thanks

Raja V

Answers

  • Martien van den AkkerMartien van den Akker Posts: 2,758 Bronze Crown
    edited July 2018

    Hi,

    I think that it depends on which B2B Protocol you expect to use. Protocols like EDI or RossettaNet do have strict definitions on the payload.

    But ebXml or AS2 do not specify the payload, but would expect it to be (any) XML. Since JSON is in fact plain text, as XML is, you could package it in a simple xml element and send if via ebXML. But if you take a look at: https://docs.oracle.com/cd/E17904_01/user.1111/e10229/b2b_intro.htm#XBBUG1144

    Then you see that you could use Custom (non-XML) as a document protocol. If you combine that with HTTP as a transport protocol, I'd say it should transport JSON pretty well.

    I must say I'm a bit surprised by the question, since JSON is 'invented' to be used in REST services by lightweight service clients. All because SOAP is considered to be too heavy for mobile clients and JavaScript web-frontend clients. So I'd say that using B2B adds 'hazzle' to the communication, what feels paradoxical to me. But maybe I haven't thought it through properly.

    Could you elaborate on your usecase?

    Regards,

    Martien

This discussion has been closed.