Questions tagged [wsse]

WS-Security, or web service security is a soap extension which provides eg signing of soap messages.

147 questions
1
vote
0 answers

Identify Cert in Soap request

I am receiving a SOAP message that contains: - wsse:BinarySecurityToken - KeyInfo etc. The Problem is that there are multiple certs that corresponds to that in my truststore, i want to identify which Cert this SOAP REQUEST contains. Sample…
Zuntoo
  • 105
  • 10
1
vote
1 answer

In Savon with wsse authentication, my nonce token gets reused on subsequent requests

Perhaps I'm just not writing idiomatic code for savon, so please feel free to straighten me out, but I was trying to make multiple requests on the same client, as demonstrated in client=Savon::Client.new { …
JasonTrue
  • 19,244
  • 4
  • 34
  • 61
1
vote
2 answers

WSS4J SOAP Signature validation without truststore

I need to validate a signed SOAP message, extract the certificate and authenticate the certificate against a LDAP directory, which makes a trust store unnecessary. I have being using the WSS4J for a while now, but always with a local trust store.…
1
vote
0 answers

C# WSSE SoapHttpClientProtocol

I am using a 3rd party Web service in my C# app. I am a total Noob when it comes to WSSE. When the web service is created it uses SoapHttpClientProtocol as its base class. How do I add WSSE header to this? I have tried to change the base class to…
user1386152
  • 21
  • 1
  • 4
1
vote
0 answers

adding wsse headers to consume axis2 services by .net

We are trying to develop a client to consume an Axis2 service. This is the method that we are trying to get data with : var binding = new BasicHttpBinding(BasicHttpSecurityMode.Transport); …
kayhan yüksel
  • 378
  • 2
  • 9
  • 24
1
vote
0 answers

Setting a soap WSSE Header in powershell

I've been hitting my head against the desk for days with this. I have to make a soap call using Powershell as i am getting info from Active Directory. Making the call is not an issue and I hit a mock service with no issue, the issue lies when I hit…
DaveOz
  • 98
  • 11
1
vote
1 answer

Calling Soap Webservice (made in C#) from java

Below is the code that I've tried to call the service public class TestClient { private static final String WS_URL = "http://host.ca/Service.svc?wsdl"; public static void main(String[] args) throws Exception { …
User14141111
  • 355
  • 2
  • 19
1
vote
1 answer

Calling soap webservice using wsdl, username and password in java

I'm new to soap web service.Can someone please tell me how to make a soap request using the wsdl provided and its username and password using x509 in JAVA. I got many codes in .NET. But I'm still blank on how to form request using x509…
User14141111
  • 355
  • 2
  • 19
1
vote
1 answer

WS-Policy X509Token with Supporting Tokens

I have a WSDL that contains WSPolicy, the policy defined uses supporting tokens and with-in supporting tokens it uses X509 Tokens. Below is a snippet of the WSDL having the policy
kaps
  • 81
  • 2
  • 9
1
vote
1 answer

I need to sign outgoing soap requests

I am trying to send signed soap requests but seem to be missing something. I tried the wso2 library but that won't work on ubuntu 14.04 with php7.0 I then tried this one : https://github.com/LinioIT/wse-php but keep getting ERR_025: Verification…
diesonne
  • 126
  • 10
1
vote
0 answers

Pass X-WSSE header ruby with net/http

I am trying to send post request using ruby and net/http, but can't pass X-WSSE header. Here is my code: require 'net/http' require 'uri' uri = URI.parse("http://exampleurl.com") http = Net::HTTP.new(uri.host) request = Net::HTTP::Post.new(uri.path,…
weras
  • 11
  • 4
1
vote
2 answers

cxf setting Nonce and created in SOAP wsse header

I wanted to inject Nonce and Created element in WSSE security header using CXF.
Ashish Mishra
  • 169
  • 16
1
vote
1 answer

Force weblogic to exclude IncludeTimestamp from generated wsdl

I have an EJB that plays the role of my web service class too. I use Oracle Weblogic 12.1.2 as JavaEE container. Here is the code of that class: @Stateless @WebService(serviceName="MyService") @Policy(uri =…
Ali Abazari
  • 429
  • 4
  • 20
1
vote
1 answer

Login flow : WSSE Authentication & Facebook Sign in

I am playing with WSSE Authentication (through Symfony2) and I have defined the following classic Login flow : User enters its username & password & get the associated salt from the server username & password are checked on the server (ajax call)…
1
vote
1 answer

wsse against wss4j, another soap signing

I should create a soap client that should talk to wss4j service.. Expected soap message is like following: