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 3323072
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:15:31+00:00 2026-05-17T23:15:31+00:00

I am consuming a Java Web Service as a WCF service from .NET. The

  • 0

I am consuming a Java Web Service as a WCF service from .NET.

The service has an HTTPS endpoint and requires the message to be signed with a client certificate.

I have set up WCF tracing and with the Service Trace Viewer I can confirm that the request is signed and sent off as expected and a valid response is returned from the service. But the response is not accepted by my console application. Instead the following exception is thrown:

Cannot find a token authenticator for
the
‘System.IdentityModel.Tokens.X509SecurityToken’
token type. Tokens of that type cannot
be accepted according to current
security settings.

What am I doing wrong?

  • 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-17T23:15:31+00:00Added an answer on May 17, 2026 at 11:15 pm

    Apparently there is a small but significant variation in the way WCF and this Java Web Service implements this type of security (might be specific to this service or might be a general Java issue).

    The correct response is received but WCF is unable to interpret a token element.

    My solution, or rather workaround, was to utilize the WCF predecessor WSE (Web Service Enhancements 3.0).

    A reference to the Microsoft.Web.Services3 assembly, a lot of head scratching (WTFs) and a lengthy work of code including a MutualCertificate10Assertion later I got my response.

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

Sidebar

Related Questions

I have a WCF web service using wsHttpBinding that I am consuming from a
I'm consuming a Java based Web Service with C# .NET app. I'm sending a
I'm consuming a third party .NET WebService in my client application. For debugging purposes
I'm consuming a third-party resource (a .dll) in a web service, and my problem
I'm consuming a webservice from my application in C# .net (2.0) that return values
I'm trying to write a web service client in c# which the webservice is
What Java library would you say is the best for consuming and parsing feeds?
I have a wcf serivce I want to consume from a j2me application (blackberry).
WS to make a web service. As parameters I am taking in two strings
We have a web service that provides auto insurance quotes and a company that

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.