cxml - Ariba Response For Setup Request -
i have question ariba punchoutsetuprequest. api response this:
<?xml version="1.0" encoding="utf-8"?> <cxml payloadid="1454654070603.1234567890@ctoms1234" timestamp="2016-02-05t15:34:30-15:00"> <response> <status code="400" text="failed"/> <punchoutsetupresponse> <startpage> <url>http://ariba-test.ty.chugai-pharm.co.jp/buyer/punchout?client=html.8gnyw0cvgj1r!-34269844!1454653851331&responseid=5&locale=ja_jp</url> </startpage> </punchoutsetupresponse> </response> </cxml>
however, ariba call api , response me.
<?xml version="1.0" encoding="utf-8"?> <!doctype cxml system "http://xml.cxml.org/schemas/cxml/1.2.034/cxml.dtd"> <cxml payloadid="1501225074983-2497119422372518906@216.109.111.6" timestamp="2017-07-27t23:57:54-07:00"> <response> <status code="500" text="internal server error">error:punchout error supplier:response: <!doctype cxml system "http://xml.cxml.org/schemas/cxml/1.2.014/cxml.dtd"><cxml payloadid="958074700772@www.workchairs.com" timestamp="2005-06-14t12:59:09-07:00"><response><status code="400" text="bad request"/><punchoutsetupresponse><startpage><url>https://punchout.workchairs.com/servlet/sessionid=7006</url></startpage></punchoutsetupresponse></response></cxml> please contact support error reference number: anerr-10000000000000000381125876 more details</status> </response> </cxml>
anyone can me fix it. not sure response setuprequest api
so clear, you're setting supplier side of transaction ?
why reply 400
code, 400 mean there error , punchoutsetuprequest transaction not correct, unlikely want send startpage (entry punch out catalog) if request not valid, api should serve
<?xml version="1.0" encoding="utf-8"?> <cxml payloadid="1454654070603.1234567890@ctoms1234" timestamp="2016-02-05t15:34:30-15:00"> <response> <status code="200" text="success"/> <punchoutsetupresponse> <startpage> <url>http://ariba-test.ty.chugai-pharm.co.jp/buyer/punchout?client=html.8gnyw0cvgj1r!-34269844!1454653851331&responseid=5&locale=ja_jp</url> </startpage> </punchoutsetupresponse> </response> </cxml>
Comments
Post a Comment