Giter Site home page Giter Site logo

as2-peppol-servlet's Introduction

Hello world ๐Ÿ‘‹

Profile views

as2-peppol-servlet's People

Contributors

phax avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

mpasture enryuu2

as2-peppol-servlet's Issues

No issue, just a question

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.

  1. do i need to create truststore as well in code?
  2. can AS2open create certificate authority?
  3. can AS2open create partner certificates and send them?

kind regards

Question: Sending AS2 msg

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

Add support for java 8 annotation targets TYPE_USE and TYPE_PARAMETER

Java 8 adds two new targets for annotations.

  • TYPE_USE - here are some examples
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

  • TYPE_PARAMETER - is for declaring type parameters like
class MyClass<@NonNull T> {}

<@Immutable T> void process(T message);

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.