Skip to content

Instantly share code, notes, and snippets.

@ruevaughn
Created July 12, 2017 03:07
Show Gist options
  • Save ruevaughn/a85bcf51d498c439bccebc7d8ade749b to your computer and use it in GitHub Desktop.
Save ruevaughn/a85bcf51d498c439bccebc7d8ade749b to your computer and use it in GitHub Desktop.
Took the XML 'params' and formatted it into a string.
2017-07-12T02:10:27.590427+00:00 app[web.1]: ------_Part_5933_1106131660.1499825426832
2017-07-12T02:10:27.590427+00:00 app[web.1]: MIME-Version: 1.0
2017-07-12T02:10:27.590428+00:00 app[web.1]: Content-Type: multipart/related
2017-07-12T02:10:27.590429+00:00 app[web.1]: boundary"----=_Part_5902_1862233434.1499825426375"
2017-07-12T02:10:27.590429+00:00 app[web.1]: type"application/xml"
2017-07-12T02:10:27.590429+00:00 app[web.1]: Content-ID: <VPGKFYLCEJLNKPZJIWWC-1499825426372-DFIIUUZTQB>
2017-07-12T02:10:27.590430+00:00 app[web.1]: Content-Description: This is the RosettaNet Business Message
2017-07-12T02:10:27.590430+00:00 app[web.1]:
2017-07-12T02:10:27.590431+00:00 app[web.1]: ------=_Part_5902_1862233434.1499825426375
2017-07-12T02:10:27.590431+00:00 app[web.1]: Content-Type: Application/XML
2017-07-12T02:10:27.590432+00:00 app[web.1]: Content-Transfer-Encoding: binary
2017-07-12T02:10:27.590432+00:00 app[web.1]: Content-Location: RN-Preamble
2017-07-12T02:10:27.590432+00:00 app[web.1]: Content-ID: <PreambleHeader.0.3408657695604992.1499825426373@p2plouiex>
2017-07-12T02:10:27.590433+00:00 app[web.1]:
2017-07-12T02:10:27.590433+00:00 app[web.1]: <?xml version="1.0" encoding="UTF-8"?>
2017-07-12T02:10:27.590433+00:00 app[web.1]: <!DOCTYPE Preamble SYSTEM "Preamble_MS_V02_00.dtd">
2017-07-12T02:10:27.590434+00:00 app[web.1]: <Preamble>
2017-07-12T02:10:27.590434+00:00 app[web.1]: <standardName>
2017-07-12T02:10:27.590435+00:00 app[web.1]: <GlobalAdministeringAuthorityCode>RosettaNet</GlobalAdministeringAuthorityCode>
2017-07-12T02:10:27.590436+00:00 app[web.1]: </standardName>
2017-07-12T02:10:27.590436+00:00 app[web.1]: <standardVersion>
2017-07-12T02:10:27.590436+00:00 app[web.1]: <VersionIdentifier>V02.00</VersionIdentifier>
2017-07-12T02:10:27.590437+00:00 app[web.1]: </standardVersion>
2017-07-12T02:10:27.590437+00:00 app[web.1]: </Preamble>
2017-07-12T02:10:27.590437+00:00 app[web.1]:
2017-07-12T02:10:27.590438+00:00 app[web.1]: ------=_Part_5902_1862233434.1499825426375
2017-07-12T02:10:27.590438+00:00 app[web.1]: Content-Type: Application/XML
2017-07-12T02:10:27.590438+00:00 app[web.1]: Content-Transfer-Encoding: binary
2017-07-12T02:10:27.590439+00:00 app[web.1]: Content-Location: RN-Delivery-Header
2017-07-12T02:10:27.590439+00:00 app[web.1]: Content-ID: <DeliveryHeader.0.3408657695604992.1499825426373@p2plouiex>
2017-07-12T02:10:27.590439+00:00 app[web.1]:
2017-07-12T02:10:27.590440+00:00 app[web.1]: <?xml version="1.0" encoding="UTF-8"?>
2017-07-12T02:10:27.590440+00:00 app[web.1]: <!DOCTYPE DeliveryHeader SYSTEM "DeliveryHeader_MS_V02_00.dtd">
2017-07-12T02:10:27.590440+00:00 app[web.1]: <DeliveryHeader>
2017-07-12T02:10:27.590441+00:00 app[web.1]: <isSecureTransportRequired>
2017-07-12T02:10:27.590441+00:00 app[web.1]: <AffirmationIndicator>Yes</AffirmationIndicator>
2017-07-12T02:10:27.590441+00:00 app[web.1]: </isSecureTransportRequired>
2017-07-12T02:10:27.590442+00:00 app[web.1]: <messageDateTime>
2017-07-12T02:10:27.590442+00:00 app[web.1]: <DateTimeStamp>20170712T021026.374Z</DateTimeStamp>
2017-07-12T02:10:27.590442+00:00 app[web.1]: </messageDateTime>
2017-07-12T02:10:27.590443+00:00 app[web.1]: <messageReceiverIdentification>
2017-07-12T02:10:27.590443+00:00 app[web.1]: <PartnerIdentification>
2017-07-12T02:10:27.590443+00:00 app[web.1]: <domain>
2017-07-12T02:10:27.590444+00:00 app[web.1]: <FreeFormText>DUNS</FreeFormText>
2017-07-12T02:10:27.590444+00:00 app[web.1]: </domain>
2017-07-12T02:10:27.590444+00:00 app[web.1]: <GlobalBusinessIdentifier></GlobalBusinessIdentifier>
2017-07-12T02:10:27.590445+00:00 app[web.1]: </PartnerIdentification>
2017-07-12T02:10:27.590445+00:00 app[web.1]: </messageReceiverIdentification>
2017-07-12T02:10:27.590445+00:00 app[web.1]: <messageSenderIdentification>
2017-07-12T02:10:27.590446+00:00 app[web.1]: <PartnerIdentification>
2017-07-12T02:10:27.590446+00:00 app[web.1]: <domain>
2017-07-12T02:10:27.590446+00:00 app[web.1]: <FreeFormText>DUNS</FreeFormText>
2017-07-12T02:10:27.590447+00:00 app[web.1]: </domain>
2017-07-12T02:10:27.590447+00:00 app[web.1]: <GlobalBusinessIdentifier></GlobalBusinessIdentifier>
2017-07-12T02:10:27.590448+00:00 app[web.1]: </PartnerIdentification>
2017-07-12T02:10:27.590448+00:00 app[web.1]: </messageSenderIdentification>
2017-07-12T02:10:27.590448+00:00 app[web.1]: <messageTrackingID>
2017-07-12T02:10:27.590449+00:00 app[web.1]: <InstanceIdentifier>ac1aabd9000048fd0000005b1499825426437</InstanceIdentifier>
2017-07-12T02:10:27.590449+00:00 app[web.1]: </messageTrackingID>
2017-07-12T02:10:27.590450+00:00 app[web.1]: </DeliveryHeader>
2017-07-12T02:10:27.590450+00:00 app[web.1]:
2017-07-12T02:10:27.590450+00:00 app[web.1]: ------=_Part_5902_1862233434.1499825426375
2017-07-12T02:10:27.590450+00:00 app[web.1]: Content-Type: Application/XML
2017-07-12T02:10:27.590451+00:00 app[web.1]: Content-Transfer-Encoding: binary
2017-07-12T02:10:27.590451+00:00 app[web.1]: Content-Location: RN-Service-Header
2017-07-12T02:10:27.590452+00:00 app[web.1]: Content-ID: <ServiceHeader.0.3411345148771141.1499825426374@p2plouiex>
2017-07-12T02:10:27.590452+00:00 app[web.1]: Content-Description: RosettaNet-Service-Header
2017-07-12T02:10:27.590452+00:00 app[web.1]:
2017-07-12T02:10:27.590458+00:00 app[web.1]: <?xml version="1.0" encoding="UTF-8"?>
2017-07-12T02:10:27.590459+00:00 app[web.1]: <!DOCTYPE ServiceHeader SYSTEM "ServiceHeader_MS_V02_00.dtd">
2017-07-12T02:10:27.590460+00:00 app[web.1]: <ServiceHeader>
2017-07-12T02:10:27.590460+00:00 app[web.1]: <ProcessControl>
2017-07-12T02:10:27.590461+00:00 app[web.1]: <ActivityControl>
2017-07-12T02:10:27.590461+00:00 app[web.1]: <BusinessActivityIdentifier>Invoice</BusinessActivityIdentifier>
2017-07-12T02:10:27.590462+00:00 app[web.1]: <MessageControl>
2017-07-12T02:10:27.590463+00:00 app[web.1]: <fromRole>
2017-07-12T02:10:27.590463+00:00 app[web.1]: <GlobalPartnerRoleClassificationCode>Buyer</GlobalPartnerRoleClassificationCode>
2017-07-12T02:10:27.590464+00:00 app[web.1]: </fromRole>
2017-07-12T02:10:27.590464+00:00 app[web.1]: <fromService>
2017-07-12T02:10:27.590465+00:00 app[web.1]: <GlobalBusinessServiceCode>Buyer Service</GlobalBusinessServiceCode>
2017-07-12T02:10:27.590466+00:00 app[web.1]: </fromService>
2017-07-12T02:10:27.590466+00:00 app[web.1]: <inReplyTo>
2017-07-12T02:10:27.590467+00:00 app[web.1]: <ActionControl>
2017-07-12T02:10:27.590467+00:00 app[web.1]: <ActionIdentity>
2017-07-12T02:10:27.590468+00:00 app[web.1]: <GlobalBusinessActionCode>Invoice Notification</GlobalBusinessActionCode>
2017-07-12T02:10:27.590468+00:00 app[web.1]: <messageStandard>
2017-07-12T02:10:27.590469+00:00 app[web.1]: <FreeFormText>PIDX</FreeFormText>
2017-07-12T02:10:27.590469+00:00 app[web.1]: </messageStandard>
2017-07-12T02:10:27.590470+00:00 app[web.1]: <standardVersion>
2017-07-12T02:10:27.590470+00:00 app[web.1]: <VersionIdentifier>1.0</VersionIdentifier>
2017-07-12T02:10:27.590471+00:00 app[web.1]: </standardVersion>
2017-07-12T02:10:27.590472+00:00 app[web.1]: </ActionIdentity>
2017-07-12T02:10:27.590472+00:00 app[web.1]: <messageTrackingID>
2017-07-12T02:10:27.590473+00:00 app[web.1]: <InstanceIdentifier>7B8FB4781849AAB8C8ECBEA488FF5BF7</InstanceIdentifier>
2017-07-12T02:10:27.590473+00:00 app[web.1]: </messageTrackingID>
2017-07-12T02:10:27.590474+00:00 app[web.1]: </ActionControl>
2017-07-12T02:10:27.590486+00:00 app[web.1]: </inReplyTo>
2017-07-12T02:10:27.590487+00:00 app[web.1]: <Manifest>
2017-07-12T02:10:27.590488+00:00 app[web.1]: <numberOfAttachments>
2017-07-12T02:10:27.590488+00:00 app[web.1]: <CountableAmount>0</CountableAmount>
2017-07-12T02:10:27.590489+00:00 app[web.1]: </numberOfAttachments>
2017-07-12T02:10:27.590489+00:00 app[web.1]: <ServiceContentControl>
2017-07-12T02:10:27.590490+00:00 app[web.1]: <SignalIdentity>
2017-07-12T02:10:27.590491+00:00 app[web.1]: <GlobalBusinessSignalCode>Exception</GlobalBusinessSignalCode>
2017-07-12T02:10:27.590491+00:00 app[web.1]: <VersionIdentifier>V02.00</VersionIdentifier>
2017-07-12T02:10:27.590491+00:00 app[web.1]: </SignalIdentity>
2017-07-12T02:10:27.590492+00:00 app[web.1]: </ServiceContentControl>
2017-07-12T02:10:27.590493+00:00 app[web.1]: </Manifest>
2017-07-12T02:10:27.590493+00:00 app[web.1]: <toRole>
2017-07-12T02:10:27.590494+00:00 app[web.1]: <GlobalPartnerRoleClassificationCode>Seller</GlobalPartnerRoleClassificationCode>
2017-07-12T02:10:27.590495+00:00 app[web.1]: </toRole>
2017-07-12T02:10:27.590495+00:00 app[web.1]: <toService>
2017-07-12T02:10:27.590495+00:00 app[web.1]: <GlobalBusinessServiceCode>Seller Service</GlobalBusinessServiceCode>
2017-07-12T02:10:27.590496+00:00 app[web.1]: </toService>
2017-07-12T02:10:27.590496+00:00 app[web.1]: </MessageControl>
2017-07-12T02:10:27.590496+00:00 app[web.1]: </ActivityControl>
2017-07-12T02:10:27.590497+00:00 app[web.1]: <GlobalUsageCode>Test</GlobalUsageCode>
2017-07-12T02:10:27.590497+00:00 app[web.1]: <partnerDefinedPIPPayloadBindingId>
2017-07-12T02:10:27.590498+00:00 app[web.1]: <ProprietaryReferenceIdentifier>PIDX</ProprietaryReferenceIdentifier>
2017-07-12T02:10:27.590498+00:00 app[web.1]: </partnerDefinedPIPPayloadBindingId>
2017-07-12T02:10:27.590498+00:00 app[web.1]: <pipCode>
2017-07-12T02:10:27.590499+00:00 app[web.1]: <GlobalProcessIndicatorCode>P21</GlobalProcessIndicatorCode>
2017-07-12T02:10:27.590499+00:00 app[web.1]: </pipCode>
2017-07-12T02:10:27.590499+00:00 app[web.1]: <pipInstanceId>
2017-07-12T02:10:27.590500+00:00 app[web.1]: <InstanceIdentifier>7B8FB4781849AAB8C8ECBEA488FF5BF7</InstanceIdentifier>
2017-07-12T02:10:27.590500+00:00 app[web.1]: </pipInstanceId>
2017-07-12T02:10:27.590500+00:00 app[web.1]: <pipVersion>
2017-07-12T02:10:27.590501+00:00 app[web.1]: <VersionIdentifier>1.0</VersionIdentifier>
2017-07-12T02:10:27.590501+00:00 app[web.1]: </pipVersion>
2017-07-12T02:10:27.590501+00:00 app[web.1]: <KnownInitiatingPartner>
2017-07-12T02:10:27.590502+00:00 app[web.1]: <PartnerIdentification>
2017-07-12T02:10:27.590502+00:00 app[web.1]: <domain>
2017-07-12T02:10:27.590502+00:00 app[web.1]: <FreeFormText>DUNS</FreeFormText>
2017-07-12T02:10:27.590503+00:00 app[web.1]: </domain>
2017-07-12T02:10:27.590503+00:00 app[web.1]: <GlobalBusinessIdentifier>256774308</GlobalBusinessIdentifier>
2017-07-12T02:10:27.590503+00:00 app[web.1]: <locationID>
2017-07-12T02:10:27.590504+00:00 app[web.1]: <Value></Value>
2017-07-12T02:10:27.590504+00:00 app[web.1]: </locationID>
2017-07-12T02:10:27.590504+00:00 app[web.1]: </PartnerIdentification>
2017-07-12T02:10:27.590505+00:00 app[web.1]: </KnownInitiatingPartner>
2017-07-12T02:10:27.590505+00:00 app[web.1]: </ProcessControl>
2017-07-12T02:10:27.590505+00:00 app[web.1]: </ServiceHeader>
2017-07-12T02:10:27.590506+00:00 app[web.1]:
2017-07-12T02:10:27.590506+00:00 app[web.1]: ------=_Part_5902_1862233434.1499825426375
2017-07-12T02:10:27.590506+00:00 app[web.1]: Content-Type: Application/XML
2017-07-12T02:10:27.590507+00:00 app[web.1]: Content-Transfer-Encoding: binary
2017-07-12T02:10:27.590507+00:00 app[web.1]: Content-Location: RN-Service-Content
2017-07-12T02:10:27.590507+00:00 app[web.1]: Content-ID: <ServiceContent.0.3411345148771141.1499825426374@p2plouiex>
2017-07-12T02:10:27.590508+00:00 app[web.1]: Content-Description: RosettaNet-Service-Content
2017-07-12T02:10:27.590508+00:00 app[web.1]:
2017-07-12T02:10:27.590508+00:00 app[web.1]: <?xml version="1.0" encoding="UTF-8"?>
2017-07-12T02:10:27.590509+00:00 app[web.1]: <!DOCTYPE Exception SYSTEM "Exception_MS_V02_00.dtd">
2017-07-12T02:10:27.590509+00:00 app[web.1]: <Exception>
2017-07-12T02:10:27.590510+00:00 app[web.1]: <ExceptionDescription>
2017-07-12T02:10:27.590510+00:00 app[web.1]: <errorClassification>
2017-07-12T02:10:27.590511+00:00 app[web.1]: <GlobalMessageExceptionCode>PRF.ACTN.GENERR</GlobalMessageExceptionCode>
2017-07-12T02:10:27.590511+00:00 app[web.1]: </errorClassification>
2017-07-12T02:10:27.590511+00:00 app[web.1]: <errorDescription>
2017-07-12T02:10:27.590512+00:00 app[web.1]: <FreeFormText>Errors: The Invoice Number entered already exists.</FreeFormText>
2017-07-12T02:10:27.590512+00:00 app[web.1]: </errorDescription>
2017-07-12T02:10:27.590513+00:00 app[web.1]: <offendingMessageComponent>
2017-07-12T02:10:27.590513+00:00 app[web.1]: <GlobalMessageComponentCode>ServiceContent</GlobalMessageComponentCode>
2017-07-12T02:10:27.590513+00:00 app[web.1]: </offendingMessageComponent>
2017-07-12T02:10:27.590514+00:00 app[web.1]: </ExceptionDescription>
2017-07-12T02:10:27.590514+00:00 app[web.1]: <GlobalExceptionTypeCode>General Exception</GlobalExceptionTypeCode>
2017-07-12T02:10:27.590514+00:00 app[web.1]: </Exception>
2017-07-12T02:10:27.590515+00:00 app[web.1]:
2017-07-12T02:10:27.590515+00:00 app[web.1]: ------=_Part_5902_1862233434.1499825426375--
2017-07-12T02:10:27.590515+00:00 app[web.1]:
2017-07-12T02:10:27.590516+00:00 app[web.1]: ------=_Part_5933_1106131660.1499825426832--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment