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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:39:31+00:00 2026-06-03T04:39:31+00:00

We need to call a web service, described in a wsdl and multiple technical

  • 0

We need to call a web service, described in a wsdl and multiple technical documents.

The web service provider say they support OASIS (ws-security, http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf). There is no mention of that in the wsdl we received from the provider, though.

Management requires us to implement message encryption and signature. Previously, this was done using axis and a wsdd file.

I created a jax-ws client for the web service. Now, I’d like to add ws-security to it. If I understand it correctly, I need to write a wsit-client.xml file. However, I’m not sure if I need to reference that in wsdl. If possible, I’d like not to change it, so we don’t need to change it if we get a new version. Is this possible?

Additionally, I tried to generate wsit-client.xml using netbeans. I didn’t get the options for signature / encryption. Is it because there is no mention of any policy in the wsdl? We’re using Eclipse, so I’m only using netbeans for a a quick test.

  • 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-06-03T04:39:32+00:00Added an answer on June 3, 2026 at 4:39 am

    wsit-client.xml is basically your WSDL enriched with <wsp:Policy> declaration(s) that specifies exactly how/if to encrypt/sign/verify SOAP requests and responses.

    You can see an example consumer for MCS (mutual certificate security) here:

    http://java.net/projects/wsit/sources/svn/show/trunk/wsit/samples/ws-security/src/mcs?rev=7090


    To answer your question, no you do not have to modify the original WSDL. Having said that, it is always highly advisable to include the policy specification inside the concrete WSDL, because the policy is an essential part of the interface contract, i.e. it must match between the consumer and provider in order for communication to succeed.

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

Sidebar

Related Questions

I need to call a web service from jQuery, when I put the breakpoint
In an Activity, I need to call a web service every 30 seconds or
I have a synchronous web service call that returns a message. I need to
I need to call a web service from Javascript of a html page whose
I need to call Java web service from .Net application and that web service
I need to call a web service to receive a JSON object which I'll
I need to call a web service from my classic ASP website. I have
I need to make some simple web service call from android. I know the
I need to call a web service from javascript that returns a JSON array
Need to call web method, from web service. but name of method is unknown

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.