Git Product home page Git Product logo

Comments (1)

todvora avatar todvora commented on July 17, 2024

Hi @Pavithra0705,
You are right, the ws-policy is missing in the WSDL v3 indeed. I've already asked why is that and here is the official answer (in Czech):

sekci WS-SecurityPolicy jsme z WSDL služby odstranili na základě negativních zkušeností některých vývojářů s použitím tohoto standardu v jejich vývojových nástrojích. Zralost a stabilita tohoto standardu se ukázala být slabší, než v případě dalších použitých standardů. WS-SecurityPolicy navíc nebylo dostatečně modernizováno a stále vynucuje RSA-SHA1 pro vlastní digitální podpis, což je nekompatibilní s požadavky popisu datového rozhraní.

Proto jsme se rozhodli nahradit použití WS-SecurityPolicy popisem požadovaných parametrů WS-Security v textu dokumentu „Formát a struktura údajů o evidované tržbě a popis datového rozhraní pro příjem datových zpráv evidovaných tržeb“.

The ws-policy has been removed intentionally, because some developers had problems with it and the standard itself seems not to be modern enough, forcing SHA1 instead of SHA256, for example.

You are basically as an implementer on your own in this matter. You have to provide all those security details yourself (they are provided in the official documentation - CZ / EN). I'm doing in in this way:

signingProperties.put(WSHandlerConstants.SIG_KEY_ID, "DirectReference"); // embed the public cert into requests

Let me know, if it works for you.

Regards,
Tomas

from eet-client.

Related Issues (20)

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.