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

  • SEARCH
  • Home
  • 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 6634005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:52:45+00:00 2026-05-25T22:52:45+00:00

First time poster so please take it a bit easy on me if I

  • 0

First time poster so please take it a bit easy on me if I break any posting rules – I have read them and I think I’m right.

I’ve been searching for a while before posting and can’t seem to find a guide on what I am trying to do so I thought I would post here.

I need to write a C# .NET 3.5 program to consume a web service developed in Java. I have practice consuming ASMX web services in .NET using Web References from my experience writing Dynamics CRM plugins and software but this has me stumped.

My first attempt was to use a Web Reference (yes, I know – not WCF) however the web service requires a PasswordDigest (SHA-1 with nonce and created), a username token and timestamp token in the SOAP header and I couldn’t find a way to add these to the SOAP header using the Web Reference.

My second attempt was to use a Service Reference (I believe, but I am probably wrong haha, that this is WCF) however I don’t have much practice with this and any tutorials I found online were not much help.

Each time when I try to use the WS, I get a rejection from the server for being unable to authenticate.

My question is how do I consume a Web Service with these requirements in C# .NET 3.5?

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-25T22:52:46+00:00Added an answer on May 25, 2026 at 10:52 pm

    IIRC, Microsoft WSE (either 2.0 or 3.0) had something called UsernameToken, which you need to stuff somewhere in the outgoing SOAP message and you’re all set. Granted, this answer leaves a lot to be desired, so I’ll throw a couple links at you and hope you’ll wade through:

    http://www.codeproject.com/KB/webservices/WS-Security.aspx

    http://www.reliablesoftware.com/articles/WSESecurity.html

    http://www.devx.com/security/Article/15634

    (And this all shows yet again how flawed SOAP and WSDL actually are).

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

Sidebar

Related Questions

first time poster and TDD adopter. :-) I'll be a bit verbose so please
First time Stack Overflow poster. Please bear with me! :) I have a set
Long time reader, first time poster. Any help is greatly appreciated. I have crafted
First time poster, so please excuse any stupidity. I'm working on porting a custom
first time poster, but please help. I have been searching and reconfiguring for 6
First time poster so please bear with me. Basically I have a pdf document
first time poster. Please be gentle. This topic may be similar to several other
First time poster. Im totally new to Android but I have manged to dreate
first time poster - semi-newb to Rails. Here is my question. Suppose you have
First time poster, long time lurker :) I have a form setup that posts

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.