Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4113758
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:22:02+00:00 2026-05-20T22:22:02+00:00

I have generated stubs and bindings using cxf codegen. Everything runs fine however the

  • 0

I have generated stubs and bindings using cxf codegen. Everything runs fine however the server still rejects the message because of security issues. Basically I have 3 layers to take care all of which require certificates (which I have).

  1. SSL Encryption on the pipe
  2. certificate signature on specific data element
  3. certificate XML Signature on the payload data.

To spice up the soup somewhat I do not have full control on the actual signature and certificates. Basically I have to extract the proper data, send it off to be signed and I have to re-inject the signed data in the transaction.

The certificates I do have access are in the Windows certificate store of the local machine (SSL and some signature)

Reading the documentation the framework seems to rely heavily on config voodoo magic. Unfortunately most of the links I have found spend a lot of time explaining in details how to generate the certificates but are rather skimp on how we actually get to use them.

Using CXF how do I achieve this ?

How do I access the proper hooks and with what code can I inject a signature on the message ?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:22:03+00:00Added an answer on May 20, 2026 at 10:22 pm

    Turned out CXF has all the capability to generate a proper signature from the start. Our problem was that the receiving end of the signature does not accept this standard signature. We had to create a custom signature system that ensures all the nit-pickiness and esoteric hocus-pocus required by the server‘s poor implementation to be in place. Namespace prefix had to be set to a very specific value regardless of the namespace declaration of the transaction. Whitespace had to be sometimes trimmed sometimes not etc…

    We therefore created an interceptor and injected it in the out interceptor list and that was it. Actually it was a tad bit more complicated because they insisted the soap transaction be signed with a certificate located on the USB key of the end-user. Our system centralises all interfaces so we had to juggle around a bit further to make it work but in the end all is good.

    I though the goal of using a standard was to provide a standard mean to do things, well… Some people it seems think they are better experts than the experts that create the standard and insist on adding their own pickle to the jar. someone should tell them adding pickles to raspberry jam does not make it taste better.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some limitations in using generated stubs with the 3rd party software. SO,
I have generated the client stubs using WSDLToJava. After that I have created the
I have a bunch of generated SOAP client stubs that differ between WSDL versions.
I have generated a DAL layer with Subsonic2.2 for a .NET4.0 application, using c#
I have generated a pdf file with password protection by using the following code:
I have generated a C# SharePoint Sequential Workflow project using the very handy STSDEV
I have generated using openssl mycert.pem which contents the certificate. And I converted the
I am using Com4J to interact with Microsoft Outlook. I have generated the Java
Using axis2's wsdl2java tool and a third-party wsdl I have generated service stub and
I have generated an ATL COM object using VS2008 and the code contains references

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.