Questions tagged [cxml]

"CXML" may refer to either (1) Commerce XML (cXML), a protocol intended for communication of business documents; or (2) Collection XML (CXML), the schema used to describe structured data to be displayed in the PivotViewer collection experience.

Commerce XML (cXML) is a protocol created by Ariba (now SAP Ariba; ) which is intended for communication of business documents. Please use instead.

Collection XML (CXML), originally from Microsoft, is the schema used to describe structured data to be displayed in the PivotViewer collection experience. Please use instead.

(In both cases, is the eXtensible Markup Language.)

40 questions
5
votes
1 answer

XML for Invoicing - Industry Standards?

I've come across an application that needs to send invoice information via FTP to various clients. The XML being output by the application is pretty simple however it does not conform to any particular standards (I imagine its home-grown). Now a…
Steven de Salas
  • 20,944
  • 9
  • 74
  • 82
4
votes
2 answers

How do i exclude everything but text/html from a heritrix crawl?

On: Heritrix Usecases there is an Use Case for "Only Store Successful HTML Pages" My Problem: i dont know how to implement it in my cxml File. Especially: Adding the ContentTypeRegExpFilter to the ARCWriterProcessor => set its regexp setting to…
dgAlien
  • 428
  • 1
  • 4
  • 9
3
votes
1 answer

Send/POST xml file using VB

I am trying to post a well-formed cxml file to a remote server url. My code makes the connection but fails on the actual SEND command. I am not necessarily a newbie to VBA but I am a newbie to POSTING xml and posting help request to this forum. …
Hammertime
  • 41
  • 1
  • 2
2
votes
1 answer

Generating cXML classes from xsd throws error "The element 'uri:ds:Signature' is missing."

I'm trying to generate cXML classes for version cXML 1.2.034 as per http://cxml.org/ XSD (converted by visual studio). I converted the cXML.dtd to xsd. Then Tried running: xsd.exe cXML.xsd /c /language:CS /n:MyNamespace But it threw an error: Error:…
Evaldas Raisutis
  • 1,628
  • 4
  • 18
  • 32
2
votes
0 answers

Spring boot to accepts cXML?

I am attempting to write a service to accept punch out data and am required to accept the data as cXML. I attempted to generate some models via the psd and bind that to misprint boot app. However, it does not unmarshall the data: Failed to read…
Bert Alfred
  • 431
  • 2
  • 7
  • 20
2
votes
1 answer

how to write the opening of an xml doc in lxml?

I'm using lxml to write out a cXML file, but I can't figure out how to get it to write out the opening along with the doctype following it. When I started this, I started straight in on the document itself,…
Bendustries
  • 71
  • 1
  • 3
  • 10
1
vote
2 answers

ASP.NET API: Get XML from content

I have following ApiController method in my ASP.NET (.NET Framework 4.5.1) app: [HttpPost] public void Post([FromBody]XElement value) { ... } But when I try to post raw xml in the content via Postman the value is always…
Palmi
  • 2,381
  • 5
  • 28
  • 65
1
vote
2 answers

How to post cXML invoice with attachments in Coupa?

Coupa has introduced this new functionality of including attachments in cXML invoices. The only documentation (That I am aware of) says that include code (mentioned below) in CXML invoice file. Coupa Documentation: Screenshot from Coupa…
1
vote
1 answer

How can I access the last attribute of an XML element using SimpleXML?

I am using SimpleXML to parse through a cXML document. I can't figure out how to access an attribute from the deepest element in the document. When I parse for the attribute "currency" in the xml snippet below it doesn't exist. I figured out that…
1
vote
1 answer

How to read sub Nodes from xml nodes list using c#

following is my cXML data, and able to load cxml data to xmlnodeslist from xml payload request, now i want to read all the sub nodes from xmlnodeslist following are the code which i am using to load xml data into xmlnodeslist and my cXML data. …
Venkat
  • 13
  • 5
1
vote
0 answers

How to return Status code 401 in Java

With my java agent (IBM JVM) I receive a POST from a browser.. If I parse the content and see that the one who send it is not authorized is it then possible (next to my output) to return the HTTP Response code: 401? Example: Session session =…
Nuri Ensing
  • 1,899
  • 1
  • 19
  • 42
1
vote
1 answer

cXML equivalent in json?

I am working on creating a new implementation of a service that is ~10 years old. Our standard is to have our services be strictly RESTful accepting, preferably son format. The current implementation accepts cXML. Is there anything about that format…
Bert Alfred
  • 431
  • 2
  • 7
  • 20
0
votes
2 answers

Sanitising URLS (mainly for spaces) when parsing XML iPhone

I'm parsing XML using CXML in my iphone app, works fine when the locaiton I'm searching for (using query string) is a single word. However when I add a space (Say i'm searching for shoe shop) it falls over. I tried replacing the " " space with a %20…
MissCoder87
  • 2,669
  • 10
  • 47
  • 82
0
votes
0 answers

Is there a way to send an attachment and other cart-level text via cXML Punchout Order Message?

We are a supplier working on cXML Punchout integration with our customers (aka buyers). Our customer is asking for estimated delivery date and a URL/PDF to be sent back to their Procurement system along with the cart. We tried to add the following…
0
votes
1 answer

cXML .net XMLReader error The parameter entity replacement text must nest properly within markup declarations

Is there something I need to configure in the XmlReaderSettings to encourage .net (4.8, 6, 7) to handle some cXML without throwing the following exception: Unhandled exception. System.Xml.Schema.XmlSchemaException: The parameter entity replacement…
tobyd
  • 316
  • 3
  • 19
1
2 3