rampart « axis « Java Enterprise Q&A





1. Axis2/rampart cryptography problem with signaturePropFile    stackoverflow.com

I have problem with WebService client that has to use WS-Security. My client is written with axis2. It works when I do not enable cryptography (of course with my server emulator). I enabled ...

2. Axis2 problem: WSHandler: Check Signature confirmation: stored SV vector not empty    stackoverflow.com

I have problem with querying webservice which uses WS-Security. I use code creadted by axis2 with rampard module which implements WS-Security. I think I make good query and I got response, ...

3. Configure Axis2 Rahas with Ws-Secure Conversation 3.1    stackoverflow.com

I would like to ask if i can configure Apache Rahas module with Oasis Ws-Secure Conversation 3.1 (http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512). I am trying to implement an axis2 1.5 client with Rampart 1.5 to ...

4. Axis2 Rampart: No user value in the rampart configuratio    stackoverflow.com

I have a Java program running an axis2 1.5.3 with rampart 1.5 client working perfectly fine on my linux using openjdk. When I ported it over to Windows 7, it works ...

5. Key identifiers in WS-Security queries    stackoverflow.com

I have problem with accessing WS-Secured server. It works when I test it using soapUI with enabled WS-Security. It does not work (empty answer with 200 OK status) when I query ...

6. WebService Client creation using Apache Axis2 and Rampart    stackoverflow.com

We have a requirement where a webservice with username token security has been created in IBM Websphere Integration Developer 6.1. Now, in order to test this, we have to develop a ...

7. How to guess order of items in rampart having WS-Security response?    stackoverflow.com

My axis2+rampart client worked with some WS-Secured server. It stopped working after server was upgraded (JBoss upgrade, some changes in WSDL, but not in test function). Server owners claim that their ...

8. How to enable WS-Security (Rampart) in a Axis2 JAX-WS service (provider side)?    stackoverflow.com

Is it possible to specify security policy assertions when deploying a JAX-WS service in Axis2? So far I found only one way which is to configure policy globally (i.e. in axis2.xml). ...

9. Axis2+Rampart WebService Signing and Encryption    stackoverflow.com

i have a problem with the security between one webservice and his client. I use Axis2 and Rampart to build bottom up my webservice and than create the client from the generated ...





10. How to disengage module in axis    stackoverflow.com

I don't want to use rampart and addressing module while calling a web service method. In axis2 we can disengage these modules like below.

PaymentStub wsStub = new PaymentStub();
ServiceClient sc = wsStub._getServiceClient();
sc.disengageModule("addressing");
sc.disengageModule("rampart");
But ...

11. Reusable WS-Policy in 10 services running on Axis2    stackoverflow.com

I have 10 deployed services on a single web application in Java running on Tomcat. I would like to add elements inside each services.xml file. However, that area is common for all ...

12. Problem creating Axis2 Rampart Client    stackoverflow.com

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. ...

13. WSS, Axis with Rampart problem with x.509    stackoverflow.com

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 ...

14. axis2 1.6.1 vs rampart 1.6.0 compatibility    stackoverflow.com

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 cast to java.lang.reflect.ParameterizedType
at ...

15. "Could not map the MEP URI" Error from Axis2/c and Rampart    stackoverflow.com

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 ...

16. Axis2 client with apache rampart on solaris    stackoverflow.com

I have created a web service client with apache rampart module to connect to web service services, client program works fine with axis2.xml and modules as "rampart" with modules directory having ...





17. Axis2 + Rampart: Specifying password digest in policy header    stackoverflow.com

I am trying to send username and a password over web services using axis2 and rampart. I want to send the password as a digest, but for some reason the password ...

18. Interoperable Secure web service using Axis2 1.2 and Rampart 1.2. Client in a PB    coderanch.com

Hi, Am working on a web service project to help a PB based application talk to a back end application (tool) to retrieve some information for display The web service is being planned to be written on Java using Axis2 1.2 and deploy it as a .WAR file on a JBoss 4.0.5 GA server. Since am new to the web service ...

19. Axis2, Rampart and SSL    coderanch.com

I am looking to access to a Web Service hosted by Axis2 (it is running under Weblogic) When I access using http it is all ok. But when I try to access using https I get "Transport error: 403 Error: Forbidden" I need authenticate the client with a certificate and the webservice is asking the client certificate. I am also using ...

20. Unable to get Rampart setup correctly with Axis2    coderanch.com

I'm following Ulf's security tutorial located at http://www.javaranch.com/journal/200709/Journal200709.jsp#a3 After much hunting, I managed to find Rampart 1.4 which I'm using with Axis2 1.4.1 I have Tomcat 6.0.18 and Axis2 integrated with Eclipse 3.4. So my versions and setup are a bit different than listed in the article. I copied rampart-1.4.mar into the WEB-INF/modules directory as per the article. However, it lists ...

21. Axis2/Rampart compatability    coderanch.com

Also, how does the user know what the security settings are for Rampart? The WSDL doesn't change AFAIK, and the return messages aren't very helpful. Also, I just sent a message with the wrong user name to my web service, and it gave back a 202 Accepted message. No indication that anything was wrong on the client side. Do I have ...

22. WebServices-Apache Axis2-Rampart - Read Time out exception.    coderanch.com

Hi friends, I am using axis2 1.4.1 and rampart 1.4 for web service security. For authentication I am using handlers. when I place database connection code in handler method I got the below exception. If I didn't put database connection it works fine. Exception I am getting is: [java] id = bob [java] Exception in thread "main" org.apache.axis2.AxisFault: Read timed out ...

23. Rampart Axis2 passwordCallback method - Urgent Please    coderanch.com

Hi friends, I am using axis2 1.4.1 and rampart 1.4 for web service security. For authentication I am using handlers. when I place database connection code in handler method I got the below exception. If I didn't put database connection it works fine. my serverside handler code is public PWCBHandler(){ System.out.println("Constructor of Handler class"); Connection connection = null; Statement stmt = ...

24. Webservice using axis2 1.0 and rampart    coderanch.com

Hi, I am getting following exceptions while running my webapplication using weblogic 10.1. It is throwing the exception when it is calling the webservice. java.lang.NoClassDefFoundError: org.apache.ws.security.handler.WSHandler at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:182) at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:60) at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:337) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:690) at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:165) at org.apache.axis2.deployment.RepositoryListener.(RepositoryListener.java:53) at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:107) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:120) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:38) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:90) at org.apache.axis2.DocumentServiceAdapterServiceStub.(Unknown Source) at com.genworth.commarchive.bizlogic.ContentSearchService.getAllSearchResults(ContentSearchService.java:349) at com.genworth.commarchive.bizlogic.ContentSearchService.search(ContentSearchService.java:35) at com.genworth.commarchive.action.HomeAction.execute(HomeAction.java:133) at ...

25. a jax-rpc as a client of an axis2 + rampart    coderanch.com

Hi, In this article http://www.javaranch.com/journal/200709/web-services-authentication-axis2.html appears: I will present two kinds of WS clients, one using the SAAJ API which was also discussed in the first article, the other one using Axis own API. Axis 2 no longer supports JAX-RPC, so that client is missing here (JAX-RPC is being replaced by JAX-WS, but that's not yet supported by Axis). but the ...

26. Axis2 Rampart client configuration    coderanch.com

Dear All, I have tomcat server on which web services are deployed using Apache CXF framework. (Well I am having Alfresco open source content management server) I want to write standalone java client to consume these web services. Can I use Axis2 at client side in this case? Also in Axis2 I want to configure rampart security module, but I don't ...

27. Axis2 - Unable to engage rampart    coderanch.com

In the client axis2.xml, I have added the following line I have also copied, "rahas-1.5.mar" and "rampart-1.5.mar" to the modules directory. Now when I try to run the client, it gives me the following error message Exception in thread "main" org.apache.axis2.AxisFault: Unable to engage module : rampart at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:357) at com.examples.www.wsdl.resumeservice_wsdl.ResumeClient.main(ResumeClient.java:44) Please help me resolve this. thank you ...

28. how to configure rampart with axis2    coderanch.com

Use Apache Axis2 security only for learning purposes, but not for production. WS-Security in Axis2 is broken and creators themselves say you should depend on WS-SecurityPolicy. But WS-SecurityPolicy is also broken and policy enforcement does not work well. Last time I checked, it was version 1.4.1. I doubt if the latest version (1.5.1) has fixed these - probably not. Particularly I ...

29. Issue with using the Axis2 JAX-WS Client using Rampart    coderanch.com

I'm developing my Axis2 JAX-WS Client to consume the web service. I'm using Axis2 1.5.4 and Rampart 1.5.1 When I ran the client with Axis2 1.4.1 and Rampart 1.4, it worked. But when I try to use Axis2 1.5.x versions, I'm getting the null pointer exception at org.apache.ws.security.message.token.X509Security.getX509Certificate(X509Security.java:94) at org.apache.ws.security.processor.BinarySecurityTokenProcessor.getCertificatesTokenReference(BinarySecurityTokenProcessor.java:109) When I compare the debug log of both, I could see ...

30. Rampart in axis2    coderanch.com

Please Can you elaborate ...? Just mentioning it again : Let's say I have my axis2's jar files in the library folder of my framework frameworkName\library\ It contains only the jar files of axis 2 and few other jar files of the framework.Its does not have the modules folder or webapps folder and etc Can I set the axis path to ...

31. Axis2 Rampart Error WSPasswordCallback cannot be resolved to a type    coderanch.com

Hi All, I had been struggling with this for about a week with the same issue so I thought I would contribute back to help anyone with the same issue now I have solved it. Essentially I implemented the Basic Rampart Sample02 which is included in the rampart distribution. to do this I created a simple Java project in eclipse added ...