Closed cattuz closed 2 years ago
Should you not use the sender (-s) and receiver (-r) params as in the examples given ? As for as4 your need to add the protocol also : --protocol peppol-transport-as4-v2_0
Please refer to the section sending in : https://github.com/OxalisCommunity/oxalis/blob/master/doc/installation.md
Regards,
Richard
I don't think adding sender and receiver has any other effect other than letting me override the sender and receiver that are already present in the payload.
java --add-opens java.base/java.lang=ALL-UNNAMED -cp "standalone/*;as4/*" eu.sendregning.oxalis.Main -f inbound.xml -s 0007:5563032498 -r 0088:tbcntrl00002 --protocol peppol-transport-as4-v2_0
Produces the same errror.
To be clear I'm following this guide: https://github.com/OxalisCommunity/Oxalis-AS4/blob/master/docs/peppol-test-bed/index.md in which the example omits sender receiver and protocol.
Looking at the debug output in my original post it seems to infer all the correct information - i.e. test env, correct procotol priority - so I'm kind of stumped. I will setup java dev env and run through the code manually to try and figure out what the error could be. I'm guessing the wrong SML is queried but I'm unsure which is the right one and how to configure that.
Solved it! I had to run the command with Java version 1.8 to make it go through. My previous default version was Java 18.
Hello!
I'm stuck during the inbound part of the peppol test bed. When trying to send the file back (following the instructions at https://github.com/OxalisCommunity/Oxalis-AS4/blob/master/docs/peppol-test-bed/index.md) I'm getting an error saying "Message failed : Error when looking up identifier '0088:tbcntrl00002' in SML.".
The full command I'm running:
The full output:
Current oxalis.conf:
I've tried a few versions of oxalis.conf, both with and without lookup.locator.hostname and lookup.locator.class. Something else I can try?
UPDATE with verbose logging: