RESTful webservice and session management

2011-05-17 Thread Denise Wu
Hi, I created a webservice and enabled session management on both server and client. It works FINE until I enable REST on the client by adding the 3rd line of code in the serviceStub.java on the client side. Session management stopped working. // added session management _serviceClient.getOption

Stub generated using Axis2 is unable to Maintain session between RESTful service and Client

2011-05-18 Thread Denise Wu
Hi, I created a webservice and enabled session management on both server and client. It works FINE until I enable REST on the client by adding the 3rd line of code in the serviceStub.java. The session management stops working. // add session management _serviceClient.getOptions().setManageSession

Re: RESTful webservice and session management

2011-05-18 Thread Denise Wu
> -----Ursprüngliche Nachricht- > Von: Denise Wu [mailto:wadie...@gmail.com] > Gesendet: Dienstag, 17. Mai 2011 17:47 > An: java-u...@axis.apache.org; java-dev@axis.apache.org > Betreff: RESTful webservice and session management > > Hi, > > I created a webservice and

securing REST webservices

2011-05-20 Thread Denise Wu
Hi, I have a RESTful webservice I need to secure using rampart. I used as a starting point the sample 07 in rampart distribution and that allows both Encrypt and Sign of messages. I added to the client code the following lines: options.setProperty(Constants.Configuration.ENABLE_REST, Constants.VA

SSL-enabled service and client

2011-05-20 Thread Denise Wu
Hello, Can someone point me to any useful information and/or source code on how to develop SSL-enabled axis2 services and clients? Thanks - To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-

Re: SSL-enabled service and client

2011-05-20 Thread Denise Wu
Thanks for the link, I went through it already. Was wondering if there was any more developed example. Many thanks On Fri, May 20, 2011 at 5:31 PM, shivendra tripathi wrote: > you could refer http://shivendra-tripathi.blogspot.com/ > > On Fri, May 20, 2011 at 10:00 PM, Denise

generation of custom .aar files for a list of different hosts

2011-05-24 Thread Denise Wu
Hi, I use wsdl2java to generate the stubs and skeletons of my websevice. It is obviously configured to run on the host I specify in the wsdl file. Running the 'jar.server' target in the build.xml will create a .aar file with in it the wsdl file containing the host info. My question is: is there a

Re: generation of custom .aar files for a list of different hosts

2011-05-25 Thread Denise Wu
loynment descriptor. > And the result of doing badly is what you have! Problems! > > Josef > And now it's time and you can hack at me ;-( > > > > -Ursprüngliche Nachricht- > Von: Denise Wu [mailto:wadie...@gmail.com] > Gesendet: Dienstag, 24. Mai 2011 17:54 &g

Custom exceptions in axis2

2011-05-26 Thread Denise Wu
Hi, I created a custom exception on my server side but my client is always getting an AxisFault exception. Is there a way for the server to send instead the custom exception? Thanks for your help! - To unsubscribe, e-mail: java-

Re: Custom exceptions in axis2

2011-05-27 Thread Denise Wu
----Original Message- > From: Denise Wu [mailto:wadie...@gmail.com] > Sent: Thursday, May 26, 2011 9:56 PM > To: java-dev@axis.apache.org; java-u...@axis.apache.org > Subject: Custom exceptions in axis2 > > Hi, > > I created a custom exception on my server side but my

unknown

2011-06-03 Thread Denise Wu
Hi, I am trying to call my webservice and getting the following error at the client side. Tomcat log doesn't show any error as if it didn't receive the method call, so I have no idea where I can find debugging server info? Any idea about this type of error and/or where to find more detailed log fi

Re: Custom exceptions in axis2

2011-06-03 Thread Denise Wu
Solved thanks guys for your help. On Fri, May 27, 2011 at 11:21 AM, Sagara Gunathunga wrote: > Please look at the faulthandling sample available on Axis2 binary > distribution. > > Thanks ! > > On Fri, May 27, 2011 at 1:54 PM, Denise Wu wrote: >> Hi. >> >>

Re: unknown

2011-06-06 Thread Denise Wu
t; > Thanks, > Swapna Soni. > > -----Original Message- > From: Denise Wu [mailto:wadie...@gmail.com] > Sent: Friday, June 03, 2011 4:26 PM > To: java-dev@axis.apache.org; java-u...@axis.apache.org > Subject: unknown > > Hi, > > I am trying to call my webservice and getting

Re: unknown

2011-06-06 Thread Denise Wu
Thanks, > Swapna Soni. > > -Original Message- > From: Denise Wu [mailto:wadie...@gmail.com] > Sent: Monday, June 06, 2011 2:16 PM > To: java-dev@axis.apache.org > Cc: java-u...@axis.apache.org > Subject: Re: unknown > > Hi Swapna, > > The call is not reaching

axis2 over HTTPS - Help!

2011-07-27 Thread Denise Wu
Hi, I've been strugling with the following error for days, can you help please? I am using the following configuration: * Axis2 1.5.4 * Apache tomcat 7.0.8 * Java 1.6.0_26-b03 Server configuration: == I have the following in my tomcat server.xml I restarted t

How to get xml string of axis2 object

2011-08-02 Thread Denise Wu
Hi, How to convert the input object of a webservice method into its xml string representation? Thank you, Denise. - To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis

Re: How to get xml string of axis2 object

2011-08-02 Thread Denise Wu
Yes, but that's not my question. My question is about converting an axis2 object into its xml representation. On Tue, Aug 2, 2011 at 10:28 AM, bhima santosh wrote: > > checkout testskillshome.com for xml to string conversion > > On Tue, Aug 2, 2011 at 2:56 PM, Denise Wu

Re: How to get xml string of axis2 object

2011-08-02 Thread Denise Wu
0:38 AM, swapna soni wrote: > Hi Denise, > >  If it is OMElement, you can just say obj.toString(). > > Thanks, > Swapna Soni. > > -Original Message- > From: Denise Wu [mailto:wadie...@gmail.com] > Sent: Tuesday, August 02, 2011 3:01 PM > To: java-dev@axis.apa

Re: How to get xml string of axis2 object

2011-08-02 Thread Denise Wu
              "serviceName")); > > On Tue, Aug 2, 2011 at 3:41 PM, Denise Wu wrote: >> >> Hi Swapna, >> >> I need for that to get the OMElement from the object. Axis2 offers the >> getOMElement(parentQName, factory) method. >> My question is ho

How to read file from META-INF

2011-08-02 Thread Denise Wu
Hi, I have a "mySchema.xsd" located in the META-INF directory in the webservice archive file myService.aar. I would like to read this file "mySchema.xsd" in my webservice class. How to access it at runtime? Thank you. - To unsub

tcpmon and SSL request/response

2011-08-12 Thread Denise Wu
Hi, I have been using tcpmon application to display request and response of server/client webservice. I just implemented SSL communication and no longer able to see any data in tcpmon even after configuring the right ports. Is there any specific configuration? or maybe does-it require a specific

To which extent axis2 supports REST?

2011-08-15 Thread Denise Wu
Hi, Can you please tell me to which extent axis2 supports REST? I mean is it possible to implement the following requirements in axis2? and how to define it in wsdl? method name: /bookdelivery/${isbn}/status HTTP method: GET returns: 200 ok and xml If yes, how to do it? any sample code/tutorial

Re: To which extent axis2 supports REST?

2011-08-16 Thread Denise Wu
t; > On Mon, Aug 15, 2011 at 7:38 PM, Denise Wu wrote: >> >> Hi, >> >> Can you please tell me to which extent axis2 supports REST? I mean is >> it possible to implement the following requirements in axis2? >>  and how to define it in wsdl? >> >>

wsdl2java doesn't cope well with xml enumerations

2011-09-23 Thread Denise Wu
Please could you help with this. I have a 'BookCategory' element in my schema xml file defined as follows: