Re: In Rampart version 1.4 is it possible to create a policy where the client is required to send a WS_Security Header with an X509 cert and the service is not required to reply with WS_Security hea

2010-02-26 Thread Nandana Mihindukulasooriya
Hi Mark, If I understood the scenario correctly, applying the policy at message level should solve your problem i.e. you apply the policy only to the incoming message ( w.r.t server side). This is possible with Rampart and policy based configuration. This tutorial [1] explains how to do it.

HTTPS only WSDL

2010-02-26 Thread chu_man_fu
I need to create SOAP service which only allows HTTPS access. I am half way to achieving this by adding the Rampart module to my services.xml with a UsrnameTokenOverHTTPS policy. My problem now is that my WSDL still shows the http binding: http://127.0.0.1:8080/axis2/services/TestService.TestSe

Fwd: Building axis2-1.5.1 with maven2 fails, due to wrong [SOLVED]

2010-02-26 Thread Håkon Sagehaug
-- Forwarded message -- From: Håkon Sagehaug Date: 2010/2/26 Subject: Re: Building axis2-1.5.1 with maven2 fails, due to wrong [SOLVED] To: [email protected] hi I got the same issue as you had here, but can't resolve it. I've added this to my settings.xml in ~/.m2/ d

RE: Multiple classes

2010-02-26 Thread David Hesson
Maybe try "soapsession" instead of "transportsession" Seems like transport session should work though. Have a look here: http://wso2.org/library/articles/axis2-session-management-part-2 Fro

Re: Multiple classes

2010-02-26 Thread jamie
The docs do say that you can create Web services sessions and share them across Web services, but they are vague on how exactly you do this. I am not sure how a simple requirement to split up an API into logical parts, results in a lengthy indepth technical exploration of poorly documented Axis an

Re: Multiple classes

2010-02-26 Thread Vincent FINET
According to my experience Web Service are stateless. On Fri, Feb 26, 2010 at 1:16 PM, jamie wrote: > Hi Everyone > > Thanks for your suggestions regarding multiple classes. I've decided to use > multiple web services for each section of the API, however, I cannot get > services within the ser

Re: Building axis2-1.5.1 with maven2 fails, due to wrong [SOLVED]

2010-02-26 Thread Håkon Sagehaug
hi I got the same issue as you had here, but can't resolve it. I've added this to my settings.xml in ~/.m2/ defaultProfile true java.net http://download.java.net/maven/1 legacy false

Re: Multiple classes

2010-02-26 Thread jamie
Hi Everyone Thanks for your suggestions regarding multiple classes. I've decided to use multiple web services for each section of the API, however, I cannot get services within the servicegroup to share properties. In the Test web service that controls the login. Once the user has logged in succe

Re: Multiple classes

2010-02-26 Thread Vincent FINET
first advice leave the 'static' notion. this do not give you a lot. in the following example, you will have a single static instance (singleton) of your WebService. I would do : public class WebService() { private A a; private B b; public WebService() { this.a = new A(); this.b = new B()

Re: Multiple classes

2010-02-26 Thread Vincent FINET
Your approach is pretty much like a "remote object instance" approach (like CORBA for instance). Web service are slightly different. In your example, you ask your server to give you an instance of class A or B (depending if you call getA or getB) Since you got your instance of A or B, if you cal

Re: Multiple classes

2010-02-26 Thread jamie
>From what I can tell this is not possible. You need to create multiple service classes within a service group. Apparently, though I have not confirmed, session state is shared across multiple groups. On Thu, 25 Feb 2010 19:00 +0200, "jamie" wrote: Hi There I am an Axis newbie, trying to desig