on 06-05-2019 9:03 AM
Hi,
I want to return the response as JSON format in B1IF 2.0, I have tried with below mentioned code in B1IF 1.x version and it's working in 1.x version, response returned as JSON format.
But, same code I'm using in B1IF 2.0 version, response still return in XML format only. B1IF 2.0 version not working below code.
<xsl:template name="transform">
<xsl:attribute name="pltype">json</xsl:attribute>
<io xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:com.sap.b1i.bizprocessor:bizatoms" pltype="json" xsi:schemaLocation="urn:com.sap.b1i.bizprocessor:bizatoms json_pltype.xsd">
<object>
<!--optional multiple of the following elements-->
<string name="AbsEntry"><xsl:value-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom1']/BOM/BO/PickLists/row/Absoluteentry"></xsl:value-of></string>
</object>
</io>
</xsl:template>
could you please suggest me , how can I return the response as JSON format using B1IF 2.0 version.
Thanks,
Chenna
Hi,
Issue has been resolved
Thanks,
chenna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.