phax / as2-peppol-servlet Goto Github PK
View Code? Open in Web Editor NEWContinued on https://github.com/phax/as2-peppol
License: Apache License 2.0
Continued on https://github.com/phax/as2-peppol
License: Apache License 2.0
Good day Philip,
i am finally starting to understand your code and how the classes are linked together and added a send module based of Receive module.
Now i need to construct message but i do not understand the parameters that the send module expects.
getSenderModule().handle(sAction, aBaseMsg, aOptions);
Action: a normal string of what?
aBaseMsg: does this accept AS2Message msg = new AS2Message
aOption: why is this different from message and not together i asume these are the message options.
Also the message requires Partnership class but i cant find a method that retrieves a partner based on alias like getPartner(String partnerAlias).
i am sorry to be a pain. but when i got stable implementation i can share it back with you at the very least i can write some implementation documentation in more detail.
i hope you can help me again. i would appreciate it.
kind regards,
stephan
Hey Philip,
I created my own keystore as the documentation said i should in servlet project and added a certificate with the domain name. but when i try to sent a message to the server from a as2 client (not yours) i get an handshake exception PKIX path building failed, unable to find valid certification path to
requested target. After some searching it told me because it was not trustworthy or something. i am totally new to certificates and to be honest i have no clue what i am doing, i have trying to figure this out for a couple of days now but with no luck. message does not even reach doPost() section of servlet.
Do you have any documentation about certificates? i could not find how certificates with created for new partners in the framework.
sorry if it is unclear. but just started with java programming and SSL/certificate management is hard to get my head around.
kind regards
Java 8 adds two new targets for annotations.
class MyData implements MyTypedInterface<@Limit(2) MyType> {}
new @Immutable Rock()
(@NonNull String) calculateValue()
void doSomething() throws @Critical IOException();
For all possible 16 type uses refer to https://docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.11
class MyClass<@NonNull T> {}
<@Immutable T> void process(T message);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.