Re: [Axis2] Embedding Axis in your webapp

2006-08-07 Thread Alistair Young
brilliant! thanks very much Jason.AlistairOn 8 Aug 2006, at 01:36, Jason N wrote:Alistair,Here's what I did to get axis2 embedded in my web app.1)  Combine the axis2 specific lines from the axis2.war  web.xml file with the project's web.xml file.2) Copy the conf directory from axis2.war over to web

Re: [axis2] User credentials in service

2006-08-07 Thread Ruchith Fernando
Hi Dave, This [1] should solve your problem: [1] http://www.wso2.net/kb/169 Thanks, Ruchith On 8/8/06, Dave Cowing <[EMAIL PROTECTED]> wrote: I've been getting acquainted with Rampart and understand a bunch of it (thanks to Ruchith for his great tutorial). Now I have a question: How can I

Re: [Axis2] axis2-1.1?

2006-08-07 Thread Deepal Jayasinghe
Hi Jones; I think we will be able to release 1.1 after apacheCon Asia. Thanks Deepal Jones, Alan R wrote: >Just wondering if there was an approximate date for the next release >incorporating all the nightlies? > > >Thanks, > >Alan J > > > >Alan R Jones

Re: [AXIS2] persistence

2006-08-07 Thread Deepal Jayasinghe
Hi Fabien; Please see my comments below; Fabien Couble wrote: > Hi all, > I have checked that AXIS 2 don't support the persistence by default. Yes , Axis2 does not support persistence. > That's why, by surfing on the Web, I have found that to make a service > persistent, we have to configure th

Re: [Axis2] Embedding Axis in your webapp

2006-08-07 Thread Jason N
Alistair,Here's what I did to get axis2 embedded in my web app.1)  Combine the axis2 specific lines from the axis2.war  web.xml file with the project's web.xml file.2) Copy the conf directory from axis2.war over to web-inf\ of the project 3) Copy the modules directory from axis2.war over to web-inf

RE: Contract First approach - Axis2 and REST

2006-08-07 Thread AmburK, Punya
Eran, Before you pursue this issue any further, I would like to mention what I'm really trying to achieve. I want to make a call in rest style from a browser. Ex: http://xyy.nb.com/user?param0=23 with output in XML format. Ex: Punya A. K. test To achieve this, I think I can define the X

[Axis2] Embedding Axis in your webapp

2006-08-07 Thread Alistair Young
Is it possible to embed Axis2 in your webapp, as it was possible with Axis1? I couldn't see any info on doing so. Seems it only runs as it's own webapp /axis2. I'd like the equivalent of: http://site.org/services without having to install an Axis specific webapp. thanks, Alistair -- Alistair Y

[Axis2] axis2-1.1?

2006-08-07 Thread Jones, Alan R
Just wondering if there was an approximate date for the next release incorporating all the nightlies? Thanks, Alan J Alan R Jones Boeing S&IS Mission Systems Denver Engineering Center (BDEC) -

Re: [Axis2] broken nightly build?

2006-08-07 Thread Davanum Srinivas
Do you want to try recompiling the code? -- dims On 8/7/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Hi all, I've tried the latest nightly build (07.08) but I get some problems (please see the attached file). Is there any reason for that? Michele ---

[axis2] User credentials in service

2006-08-07 Thread Dave Cowing
I've been getting acquainted with Rampart and understand a bunch of it (thanks to Ruchith for his great tutorial).   Now I have a question: How can I access user credentials (either the signature or a username) in my service?   I'm performing a transaction and need to ensure that I use the

Re: [Axis2]hard beginning

2006-08-07 Thread Ignazio Anastasi
ok doctor :-)i use jdk 1.5.0_07do you know the kind of problem? :-/On 8/7/06, Paul Fremantle <[EMAIL PROTECTED] > wrote:Ok next question which JDK?!PaulOn 8/7/06, Ignazio Anastasi < [EMAIL PROTECTED]> wrote:> i've used Axis2 1.0 war file into webapps>>> On 8/7/06, Paul Fremantle < [EMAIL PROTEC

RE: Contract First approach - Axis2 and REST

2006-08-07 Thread AmburK, Punya
Eran, I tried this with latest nightly build war (axis2.war). Still the same problem. -Punya -Original Message- From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 6:48 PM To: axis-user@ws.apache.org Subject: Re: Contract First approach - Axis2 and REST Can you

Re: [AXIS2]

2006-08-07 Thread Eran Chinthaka
My Advice is to use ConfigurationContext to store your array, so that the service can access it irrespective of its life time. -- Chinthaka Fabien Couble wrote: > > Hi all, > I'm implementing a protocol in which I have to manage an array of > resources. Indeed, I have to add, get or delete resou

Re: Hiding exposed fields on serialized objects

2006-08-07 Thread Larry Meadors
Could you create an interface (or even super class) that only exposed the properties you wanted exposed, and use that for the web service? Just a guess..not terribly familiar with axis. Larry On 8/7/06, Bell, Douglas <[EMAIL PROTECTED]> wrote: I am using iBatis on the back end of my applicat

Hiding exposed fields on serialized objects

2006-08-07 Thread Bell, Douglas
I am using iBatis on the back end of my application and need to expose several fields to it that I would rather not have the client see. Short of pushing the data into a separate object and sending that back or removing them directly from the WSDL is there any simple way to limit the exposur

Keep Alive Issue

2006-08-07 Thread SUNDARESH, Shankar
Title: Keep Alive Issue Hi, I am a newbie to Axis and this is my first message to the group. Please excuse me if there are any mistakes in my post. My problem is this : We were using JOnAS 4.6.6 as the application server for one of the projects here. This version of JOnAS has Axis 1.2.

Axis limit of parameter stack size

2006-08-07 Thread Yura Tkachenko
Hi, does anybody knows Axis's limit size of the stack parameter?-- Thanks,Yura.

[Axis2] NullPointerException when loading services (using Rampart)

2006-08-07 Thread Brecht Yperman
Hi,   I use the following bit of code to call a webservice. I am now trying to engage the rampart module.   String axis2xml = "com/invenso/xb/isp/xbconnect/wscall/axis2.xml"; String repository = "com/invenso/xb/isp/xbconnect/wscall/"; URL configFileUrl = ClassLoader.getSystemClassLoad

Re: User Guide: Code generation for client

2006-08-07 Thread Marcel Frehner
Hey Deepak By now I used to run the wsdl2java from Eclipse. Desperate as I am I tried the command line version and got correct stub and skeleton code with the following command: wsdl2java -uri Axis2SampleDocLitService.wsdl -ss -sd -d xmlbeans wsdl2java -uri Axis2SampleDocLitService.wsdl -d xmlb

Re: Cannot work with Axis2 - URGENT

2006-08-07 Thread Davanum Srinivas
Please don't use the Eclipse code generator. It will not work with nightly. Please use the command line wsdl2java. thanks, dims On 8/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dims I am now using the jars from nightly build of 7th August. I took all the jars that are inside the zip f

Re: Cannot work with Axis2 - URGENT

2006-08-07 Thread debasish . duttaroy
Dims I am now using the jars from nightly build of 7th August. I took all the jars that are inside the zip file of "min" and not the "std". Can you tell me what is this issue? Is it a mere classpath issue because of incorrect jar files or is it something else. Here is my wsdl file I write by m o

Re: Cannot work with Axis2 - URGENT

2006-08-07 Thread Davanum Srinivas
Debashish, - Make sure you are using the nightly build. - Make sure you run the wsdl2java again (don't mix and match old generated code with new jars or vice versa) - Make sure you thoroughly check all the jars that are in your environment. It's very easy to mix jars and not know about it. -- di

Cannot work with Axis2 - URGENT

2006-08-07 Thread debasish . duttaroy
Hi all I am now really frustrated with Axis2. I have spend enormous amount of time but cannot get my application going anywhere. I am getting into a stage where I have to quit Axis2 to save my job and go for some other option. I am wondering is anyone actually using Axis2 for some real application

RE: [Axis2] HttpServeltRequest

2006-08-07 Thread Sanjesh Pathak
Hi Dims,   I am sorry, I was wrong. It is working now. I can get the object using:   HttpServletRequest httpServletRequest = (HttpServletRequest) msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);   I had Axis2 1.0 jar in the deployable directory which Eclipse had not to cl

Re: [Axis2]hard beginning

2006-08-07 Thread Paul Fremantle
Ok next question which JDK?! Paul On 8/7/06, Ignazio Anastasi <[EMAIL PROTECTED]> wrote: i've used Axis2 1.0 war file into webapps On 8/7/06, Paul Fremantle <[EMAIL PROTECTED]> wrote: > Seems like the Xalan jar is missing. Which Axis2 install image did you use? On 8/7/06, Ignazio Anast

Re: [Axis2] Testing advice

2006-08-07 Thread Davanum Srinivas
i think content-type and soapaction at least. -- dims On 8/7/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Hi dims, thanks for the quick reply. Which http header should I add? Thanks, Michele Davanum Srinivas wrote: > Hmm...No. Use the SOAP/XML-RPC thingy. you can cut and paste a xml and >

[Axis2] HttpServeltRequest

2006-08-07 Thread Sanjesh Pathak
Hi Dims, I am still unable to get HttpServletRequest object. I am downloaded the nightly snapshot from here:  http://people.apache.org/dist/axis2/nightly/axis2-std-SNAPSHOT-bin.zip  I tried both ways and I am getting null value: HttpServletRequest httpServletRequest = (HttpServletRequest) m

Class not found HTTPService

2006-08-07 Thread Mancinelli Elodie
Hi all, I check out the axis2 last version and I build it. When I launch my client code, I have an error which is the class HTTPService is never found. This class should be in a axis2-kernel-SNAPSHOT.jar but it 's not present in the last version. I search in the repository "modules/core/src/

Re: [Axis2] Testing advice

2006-08-07 Thread Michele Mazzucco
Hi dims, thanks for the quick reply. Which http header should I add? Thanks, Michele Davanum Srinivas wrote: > Hmm...No. Use the SOAP/XML-RPC thingy. you can cut and paste a xml and > send it by post. You will have to add a http header thingy with > SOAPAction though. Please make sure u picked u

[AXIS2]

2006-08-07 Thread Fabien Couble
Hi all, I'm implementing a protocol in which I have to manage an array of resources. Indeed, I have to add, get or delete resources from that array. Actually, when a web service receives a request from a client, depending on the request, the web service has to get, add or delete the resource

[AXIS2] Web service initialisation

2006-08-07 Thread Fabien Couble
Hi all,   I have to manage an array of resources in my web service (add, get, delete resources). That's why, I have to init my web service with an array the first time it is used... That's why, I'm wondering how I can do that... Is it possible?   Moreover, is an AXIS2 web service persistent?

Re: [Axis2] Testing advice

2006-08-07 Thread Davanum Srinivas
Hmm...No. Use the SOAP/XML-RPC thingy. you can cut and paste a xml and send it by post. You will have to add a http header thingy with SOAPAction though. Please make sure u picked up latest JMeter. -- dims On 8/7/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Hi all, I need to test what I've

Re: [Axis2]hard beginning

2006-08-07 Thread Ignazio Anastasi
i've used Axis2 1.0 war file into webappsOn 8/7/06, Paul Fremantle <[EMAIL PROTECTED]> wrote: Seems like the Xalan jar is missing. Which Axis2 install image did you use?On 8/7/06, Ignazio Anastasi <[EMAIL PROTECTED]> wrote:> hi all, i'm a new user and i try to learn about axis2 >> after installatio

[Axis2] Testing advice

2006-08-07 Thread Michele Mazzucco
Hi all, I need to test what I've built and I need to control some parameters (i.e. requests rate). I've started working with JMeter, but unfortunately I realized it wants the WSDL in order to test web services (while I use XML message receivers). Does anybody could suggest me a tool to use? Thank

Re: [Axis2] WS-Policy in WSDL for WSDL2Java

2006-08-07 Thread Anne Thomas Manes
1) WSDL2Java does not support WS-Policy. 2) You should use these versions of WS-Policy and WS-SecurityPolicy: xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"; xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"; 3) Code for enforcing policy should b

Re: [Axis2]hard beginning

2006-08-07 Thread Paul Fremantle
Seems like the Xalan jar is missing. Which Axis2 install image did you use? On 8/7/06, Ignazio Anastasi <[EMAIL PROTECTED]> wrote: hi all, i'm a new user and i try to learn about axis2 after installation and validation about axis2 i've tryed to launch examples like 'version' and 'myservice' (f

Re: [axis2] First 3 and last byte in messages

2006-08-07 Thread Saminda Abeyruwan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Default, Axis2 uses Http 1.1 with Chunking support on. That's why you see control characters. You can disable chunking in you client setting the following option. options.setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED,Bool

[Axis2]hard beginning

2006-08-07 Thread Ignazio Anastasi
hi all, i'm a new user and i try to learn about axis2after installation and validation about axis2 i've tryed to launch examples like 'version' and 'myservice' (from user guide) but these are my error reports: version type Exception reportmessage description The server encountered an internal e

[AXIS2] persistence

2006-08-07 Thread Fabien Couble
Hi all, I have checked that AXIS 2 don't support the persistence by default. That's why, by surfing on the Web, I have found that to make a service persistent, we have to configure the service.xml file with the following line: I did that by replacing the word value by "application". Normally,

Re: User Guide: Code generation for client

2006-08-07 Thread Marcel Frehner
I'm still working on the Axis2SampleDocLitService service from the tutorial. Using wsdl2java for the server side I get Axis2SampleDocLitServiceSkeleton which has a Method echoString(org.apache.axis2.userguide.xsd.EchoStringParamDocument param4). When generating the client I get Axis2Sa

[Axis2] WS-Policy in WSDL for WSDL2Java

2006-08-07 Thread Viktor Zeltser
Hello, Where could I find example of wsdl document with ws-policy attached, that makes wsdl2java to produce proper stub. I've tried to make some, but wsdl2java seems to ignore my policies and produces the code that is not different from same wsdl without policies. Both wsdls attached. I've used