Questions tagged [rampart]

Apache Rampart - Axis2 Security Module

Rampart is the security module of Axis2. It secures SOAP messages according to specifications in the WS-Security stack. Homepage: http://axis.apache.org/axis2/java/rampart/

163 questions
2
votes
3 answers

Axis 2 and Rampart- why does service return wsse:Security header in request?

I'm connecting to a secure service. I have a SOAP UI project configured to use a jks file to provide the certificate, along with appropriate security settings to allow me to get a valid response. I've have used AXIS 2 and Rampart to create a SOAP…
Gribbler
  • 414
  • 1
  • 6
  • 21
1
vote
3 answers

WSO2 WS Security Password only without certificate possible?

we want to create a PHP WSO2 Webservice Client which uses WS Security, but without signature nor encryption. Instead we want to use a simple Password. Problem is: we always get an certificate error (see below). Do we really have to install a…
1
vote
1 answer

IllegalArgumentException: ProtectionToken is not a element

I have been struggling with a problem I have with Axis2 and Rampart for a few hours. I have googled quite extensively and have yet to find a solution. I have even looked at the source code and stepped through it with a debugger. Though this has…
Brett Walker
  • 3,566
  • 1
  • 18
  • 36
1
vote
0 answers

Rampart Axis2 multiple headers in request (error)

So, I am developing a web service using rampart and axis2 in eclipse. I am trying to implement a simple username/password authentication scheme, but I have some issues. My code is basically working now, but in my SOAP request the is added 3 (!)…
Tor-Erik
  • 11
  • 1
  • 4
1
vote
1 answer

"Could not map the MEP URI" Error from Axis2/c and Rampart

I had my web services working. I introduced rampart and now I am getting an error in response. The Webserver is Apache httpd. Running Axis2/c with Rampart 1.3.0. The services.xml looks correct as far as I can tell but I can post that too if needed.…
Psychoboy
  • 308
  • 1
  • 3
  • 10
1
vote
1 answer

axis2 1.6.1 vs rampart 1.6.0 compatibility

are these two versions compatible? I get the following exception when deploying the policy-samples: INFO main 2011-09-13 08:17:45.150 The SecureTokenService service, which is not valid, caused java.lang.ClassCastException: java.lang.Class cannot be…
Gerhard Presser
  • 464
  • 1
  • 4
  • 14
1
vote
2 answers

Loading axis2 modules from classpath

I am writing an Axis2 client which will not have access to a repository folder on the filesystem. Is there a way to load the modules which axis need for instance rampart and addressing, from the classpath.
sebaj
  • 11
  • 3
1
vote
1 answer

WSS, Axis with Rampart problem with x.509

I have a service that recieve the x.509 in the header to authenticate it, Once I client sent a request for the message I want to get the header authentication with rampart with something like this
Javier Gutierrez
  • 549
  • 5
  • 16
1
vote
1 answer

Excluding log4j.properties in rampart module

I have a maven project in which I am using axis2 which depends on rampart-core for security. Rampart has a default log4j.properties file which keeps my logging from being displayed. I would like to exclude that file from my dependency. How do I…
user294241
  • 59
  • 2
  • 3
  • 5
1
vote
0 answers

Axis2 and Rampart lib from ver 1.6.1 to 1.7.6/1.7.1 respectively

I am using legacy Axis2 web services. So, far it was running fine and now we are planning to upgrade Axis2 version from 1.6.1 to 1.7.6 and rampart lib version from 1.6.1 to 1.7.1. Any suggestion as what is best approach to do it, since this is…
Joey J
  • 11
  • 3
1
vote
2 answers

Apache Rampart WS-Security: one client, several service instances

I'm adding X.509 Mutual Certificate authentication into the project. The specific case here is that one client (let's say manager) can access several service instances (servers). Each server has its own certificate. When providing a policy.xml…
sys463
  • 337
  • 2
  • 5
  • 18
1
vote
1 answer

Problem creating Axis2 Rampart Client

I'm creating a web service using Axis2 which uses Rampart for authentication. In all the samples for Rampart, the client needs to have a client side repository for Axis2. Rampart is started on the client as follows: ConfigurationContext ctx =…
Sarevok
  • 437
  • 1
  • 7
  • 20
1
vote
0 answers

How to add trusted certs for org.apache.rahas.client.STSClient rather updating truststore at JVM level

I am currently working on an client program to access the soap webservice. The webservice is hit via WSO2 Identity Server (IS) Security Token Service (STS). I have coded using org.apache.rahas.client.STSClient. I am looking for a solution to add…
Meril
  • 11
  • 2
1
vote
1 answer

Spring Boot startup fail after adding Axis 2 client dependencies

I am developing a demo application for consuming a Soap Web Service and I am using axis 2 as client. I decided to use Spring boot and merge my code into it. At first the simple Spring Boot was completely Ok and I could create a demo jsp page and a…
Mehdi
  • 746
  • 1
  • 10
  • 25
1 2
3
10 11