Re: Re : Re : Re : basic auth on the standalone server

2009-03-06 Thread Dumindu Pallewela
On Thu, Mar 5, 2009 at 9:49 PM, Sihem stfle...@yahoo.fr wrote: anyway is there a way to add HTTP authentication support in the standalone directly in the code ? I'm afraid, this might require quite some work in transport code. HTTP authentication is not provided in the server. So if you want it

Programatically enabling MTOM (AXIS2c Server side)

2009-03-06 Thread Kuba Tomiczek
Hello What is the best way (if possible) of setting programatically enableMTOM on axis2c Server Side, is it possible to modify options on the server side? I found it could be done by: axis2_options_set_enable_mtom(options, env, AXIS2_TRUE); but when shall I set these options, so that they

Re: Programatically enabling MTOM (AXIS2c Server side)

2009-03-06 Thread Manjula Peiris
In the server side you can do following, 1.Call axis2_msg_ctx_set_doing_mtom (msg_ctx, env, AXIS2_TRUE); from the service code 2. Adding the enableMTOM parameter in the services.xml 2. Adding enableMTOM parameter in the axis2.xml - this will enable MTOM globally. -Manjula. On Fri, 2009-03-06

Re: Enabling rampart in servlet

2009-03-06 Thread Håkon Sagehaug
Hi Thanks for the replay, but not sure I understood it. Since my problem is with engaging rampart and not with loading policies. But I could be wrong cheers, Håkon 2009/3/5 m4rkuz m4r...@gmail.com Hi Håkon, You can build the policy reading an XML, like this... try {

Question about rampart samples05

2009-03-06 Thread Håkon Sagehaug
Hi all I've got some questions about sts sample in rampart number 5. 1. If I want to issue a my own token from the sts service I change in policy.xml in the TokenType element from t:TokenType xmlns:t=http://schemas.xmlsoap.org/ws/2005/02/trust;

Re: Question about rampart samples05

2009-03-06 Thread Massimiliano Masi
Hi, Quoting Håkon Sagehaug hakon.sageh...@bccs.uib.no: If I want to issue a my own token from the sts service I change in policy.xml in the TokenType element from ... is this correct? Should be, isn't that? :-) 3. What is the purpose of the TokenStorage? For maintaining tokens in a kind

Question about the order of elements in the response

2009-03-06 Thread DANIEL, Yves Marie
Hi everyone ! I am facing a problem of order. I used that kind of wsdl to generate client and server side : xs:complexType name=user xs:sequence xs:element name=tacId nillable=true type=xs:long/ xs:element name=alias nillable=true type=xs:long/ /xs:sequence

Re: Question about the order of elements in the response

2009-03-06 Thread keith chapman
The order of the elements is important cause the elements are within a sequence block. It is not important if it was within a all block. Thanks, Keith. On Fri, Mar 6, 2009 at 8:08 PM, DANIEL, Yves Marie yves-marie.dan...@capgemini.com wrote: Hi everyone ! I am facing a problem of order. I