Giter VIP home page Giter VIP logo

cxml-php's People

Contributors

faaru-io avatar mathielen avatar rike-cz avatar ynnoig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cxml-php's Issues

Update Github Action

Hi @ynnoig ,

could you pls update the Github Action so that the deprecation errors are gone?

  • Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-act
  • The save-state command is deprecated and will be disabled soon.
  • The set-output command is deprecated and will be disabled soon.

BG

Missing Extrinsic node within OrderRequestHeader

This library is very helpful but what I really miss is Extrinsic node within OrderRequestHeader and ItemDetail models when creating cXML Order request. Adding IdReference or TermsOfDelivery into OrderRequestHeader could be nice too.
All of them are in compliance with current DTD.

Could not parse date

My cXML endpoint was working correctly, but now the messages being sent from a client are throwing errors! Specifically, Could not parse date: 2023-04-20T19:23:18

  • When the cXML timestamp is formatted like 2023-04-20T01:35:38+00:00 the messages are parsed successfully.
  • When the cXML timestamp is formatted like 2023-04-20T19:23:18 parsing fails and I cannot receive the message.

Here's what an example message looks like:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.007/cXML.dtd">
<cXML  version="1.2.007" payloadID="20230420.192318392.TEST.NHA100026096.1693-1" timestamp="2023-04-20T19:23:18">
    <Header>
      <From>
         <Credential domain="DUNS">
            <Identity>12345678</Identity>
         </Credential>
      </From>
      <To>
         <Credential domain="DUNS">
            <Identity>12345678</Identity>
         </Credential>
      </To>
      <Sender>
         <Credential domain="OracleSN">
            <Identity>testexchange.oracle.com</Identity>
            <SharedSecret>punch0ut-password!</SharedSecret>
         </Credential>
         <UserAgent>Oracle Supplier Network</UserAgent>
      </Sender>
    </Header>
    <Request>
        <ProfileRequest />
    </Request>
</cXML>

Is there a solution? Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.