Giter Site home page Giter Site logo

Comments (6)

raits avatar raits commented on June 10, 2024

Hey @Konservin!

Unfortunately I am not familiar with the output on the screenshot. Could you please clarify what framework you are using and if it would be possible to get the actual SOAP message that is generated based on the displayed input?

from x-road.

Konservin avatar Konservin commented on June 10, 2024

test_req.xml.txt

Thank You for looking into it.
Platform is Symfony 4.4, generated XML is attached with replaced XXXXs.

from x-road.

petkivim avatar petkivim commented on June 10, 2024

Hi @Konservin! Does the response message returned by your service contain all the same headers that the request message has? The error message indicates that the response message doesn't have the protocolVersion header. The service is responsible for adding the required headers to the response message - the Security Server doesn't do it automatically. Here's an example of a request / response message pair.

from x-road.

Konservin avatar Konservin commented on June 10, 2024

Hi!
No, service returns an error message that says "Required field 'protocolVersion' is missing"

from x-road.

petkivim avatar petkivim commented on June 10, 2024

Thanks for the clarification! The request that you shared earlier looks good to me and it includes the protocolVersion header field correctly. Unfortunately, I'm not familiar with the framework you're using to implement the service and therefore, it's difficult to say what could cause the issue.

from x-road.

jalmar-spin avatar jalmar-spin commented on June 10, 2024

This error occurs because there are some incorrect namespaces in the request.

The namespaces should be:

  • http://x-road.eu/xsd/xroad.xsd instead of https://x-road.eu/xsd/xroad.xsd
  • http://x-road.eu/xsd/identifiers instead of https://x-road.eu/xsd/identifiers

And the namespace for element detailandmed_v1 should be http://arireg.x-road.eu/producer/ instead of http://arireg.x-road.eu.

from x-road.

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.