Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Request and Response from Staples cXML
REQUEST:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">
<cXML xml:lang='en-us' version='1.2.008' payloadID='1524089251.1.2179199@eden.io' timestamp='2018-04-18T15:07:31-07:00'>
<Header>
<From>
<Credential domain='NetworkId'>
<Identity>
edentechnologies-t
</Identity>
</Credential>
</From>
<To>
<Credential domain='NetworkId'>
<Identity>
staples
</Identity>
</Credential>
</To>
<Sender>
<Credential domain='NetworkId'>
<Identity>
edentechnologies-t
</Identity>
<SharedSecret>
staples
</SharedSecret>
</Credential>
<UserAgent>
Eden/Genesis
</UserAgent>
</Sender>
</Header>
<Request deploymentMode='test'>
<PunchOutSetupRequest operation='create'>
<BuyerCookie/>
<Extrinsic name='User'>
Dave Paola
</Extrinsic>
<Extrinsic name='UserEmail '>
dave@eden.io
</Extrinsic>
<Extrinsic name='Email '>
dave@eden.io
</Extrinsic>
<Contact role='endUser'>
<Name xml:lang='en-US'>
Dave Paola
</Name>
<Email>
dave@eden.io
</Email>
</Contact>
<BrowserFormPost>
<URL>
http://wizards.egad.io:3000/punchout_orders/100/order-message
</URL>
</BrowserFormPost>
<SupplierSetup>
<URL>
https://bcibeta.stapleslink.com/invoke/StaplescXML/receive11
</URL>
</SupplierSetup>
</PunchOutSetupRequest>
</Request>
</cXML>
RESPONSE:
<?xml version='1.0'?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.1.006/cXML.dtd">
<cXML version='1.0' payloadID='123' timestamp='2018-04-18T18:07:32-EDT'>
<Response>
<Status code='200' text='success'/>
</Response>
</cXML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.