Differentiate cXML version as 1.1 or 1.2

What product/components do you use and which version/fix level?

wM 9.12 Designer/ wM 10.5 Designer

Are you using a free trial or a product with a customer license?

No

What are trying to achieve? Please describe in detail.

We want to identify the version of cXML PO as it is incoming, we have observed that in transformation from Node to Document and Document to XML, we are loosing the below said line which is the only possible identifier of cXML version, if it is 1.1 or 1.2:

Do you get any error messages? Please provide a full error message screenshot and log file.

Ariba is is expecting the cXML version as 1.2 so it is failing with below error:

Error below shown on Coupa side

 *No status element in setup response:*

Error shown on Ariba

Cannot send order to supplier.

Regards,
Sanket

For faster responses, please specify the inputs, expected outputs and the public services you are using. Also do specify the version of Integration Server you are using.

I have mentioned the version as 9.12 and 10.5.

Further the services “pub.xml:xmlNodeToDocument” and “pub.xml:documentToXMLString” are the in-built services which translates the node to document and document to XML respectively and loosing the highlighted DOCTYPE line and giving the error, further highlighted:

Hi Sanket,

dealing with DTDs can be very cumbersome in webMethods.
Preferably you should consider using XSDs instead.

Did you check for Ariba/cXML specific adapters/components in the wM Suite which might help you with this?

Regards,
Holger

Thanks for your reply Thomsen,

I have not checked the documentation specific to Arriba/cXML yet. But we will get all kinds of PO as Node and if the DOCTYPE line has 1.2 and 1.1 as version can only be known if it remains there after the conversion of Node into Document and then XML, which is not the case.

Here we can’t do much as it is coming like that from the customer itself.

Thank you!

Regards,
Sanket

Hi Sanket,

We have the SAP Ariba Supplier On Ramp Adaper for cXML based integration with SAP Ariba. For more details check out the Release Notes @ webMethods Ariba Supplier OnRamp Release Notes and the Installation and Users Guide @ https://documentation.softwareag.com/webmethods/adapters_estandards/Adapters/Ariba_Supplier_OnRamp/Ariba_Supplier_OnRamp_7-1/7-1_Ariba_Supplier_OnRamp_Install_and_Users_Guide.pdf

regards,
Suresh P N V S Ganta
Software AG webMethods Product Management.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.