RE: Upgrade axis2 from 1.4.1 to 1.5.1

2010-01-14 Thread Sanjay Gupta
> > In addition I would like to see which POJO approach you use, if you can > try to give me a sample service to regenerate the issue. > > Thanks, > Deepal > > Sanjay Gupta wrote: > >> Hi, >> >> I recently upgraded our app from 1.4.1 to 1.5.1 and havin

Upgrade axis2 from 1.4.1 to 1.5.1

2010-01-05 Thread Sanjay Gupta
Hi, I recently upgraded our app from 1.4.1 to 1.5.1 and having some issue in wsdl. I use the POJO deployment option. I am having trouble running wsdl2java on the wsdl. I can see duplicate entry for complex type axisConfirguation in the auto generated wsdl. When I run wsdl2java from 1.4.1 versi

RE: Upgrade to axis2 1.4.1 to 1.5.1

2009-12-04 Thread Sanjay Gupta
- From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] Sent: Wednesday, November 18, 2009 1:01 PM To: axis-user@ws.apache.org Subject: RE: Upgrade to axis2 1.4.1 to 1.5.1 Hi, Anybody has any idea on what's causing my problem. I am ready to rollback to axis2 1.4.1 but thought of che

RE: Customizing end point location

2009-11-20 Thread Sanjay Gupta
I am not able to deploy a webservice over an ssl/https connection for this reason. A message on this list from Andread Veithen (Nov 5) seems to indicate that this is broken in 1.5 but will be fixed in 1.6. He refers to AXIS2-4465. Manuel On Wed, Sep 23, 2009 at 11:49 PM, Sanjay

RE: Upgrade to axis2 1.4.1 to 1.5.1

2009-11-18 Thread Sanjay Gupta
Hi, Anybody has any idea on what's causing my problem. I am ready to rollback to axis2 1.4.1 but thought of checking again to see if any faced a similar issue and found a reason/resolution. Thanks Sanjay -Original Message- From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com]

Upgrade to axis2 1.4.1 to 1.5.1

2009-11-17 Thread Sanjay Gupta
Hi, I recently upgraded our app from 1.4.1 to 1.5.1 and having some issue in wsdl. I use the POJO deployment option. I am having trouble running wsdl2java on the wsdl. I can see duplicate entry for complex type axisConfirguation in the auto generated wsdl. When I run wsdl2java from 1.4.1 versio

RE: Generated WSDL HTTPS Port not 8443

2009-11-10 Thread Sanjay Gupta
Hi, I have the same issue and very interested in finding a solution. Sanjay -Original Message- From: v2cg4ss [mailto:ssel...@datamentors.com] Sent: Monday, November 09, 2009 1:40 PM To: axis-user@ws.apache.org Subject: Re: Generated WSDL HTTPS Port not 8443 Is this in a nightly build th

RE: SOAP Encoding in axis2

2009-09-23 Thread Sanjay Gupta
ssage- From: Mauro Molinari [mailto:mauro.molin...@cardinis.com] Sent: Monday, September 21, 2009 6:58 AM To: axis-user@ws.apache.org Subject: Re: SOAP Encoding in axis2 Sanjay Gupta ha scritto: > Hi, > I tried consuming a web service with SOAP encoding in axis2 and found out > that

RE: Customizing end point location

2009-09-23 Thread Sanjay Gupta
Hi, Deos any have any suggesion on how I can accomplish this. I would appreciate any help. Thanks Sanjay -Original Message- From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] Sent: Monday, September 21, 2009 3:40 PM To: axis-user@ws.apache.org Subject: Customizing end point

Customizing end point location

2009-09-21 Thread Sanjay Gupta
Hi, I have pojo based servcies deployed in axis2 inside tomcat. The endpoint url inside autogenerated wsdl has http in "

SOAP Encoding in axis2

2009-09-20 Thread Sanjay Gupta
Hi, I tried consuming a web service with SOAP encoding in axis2 and found out that axis2 doesn't support it. Are there any workaround? We originally used. Part of that app we have upgraded to axis2 and we are using axis2 for all the new stuff. I really don't want to go back to axis1. Sanjay

RE: MTOM support causing problem

2009-09-03 Thread Sanjay Gupta
My problem was fixed after I changed enableMTOM to optional from true in axis2.xml. From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] Sent: Wednesday, September 02, 2009 11:36 PM To: axis-user@ws.apache.org Subject: RE: MTOM support causing problem Hi Chinmoy, The problem happens in

RE: [Axis2-1.4.1 Versus 1.5]

2009-09-02 Thread Sanjay Gupta
I also see this error in one the the tomcat log file. Sep 2, 2009 11:34:53 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet axis2 threw exception java.lang.NullPointerException at org.apache.catalina.connector.Request.parseParameters(Re

RE: MTOM support causing problem

2009-09-02 Thread Sanjay Gupta
: Wednesday, September 02, 2009 10:45 PM To: axis-user@ws.apache.org Subject: Re: MTOM support causing problem Are you sure that your service method is working fine? are you sending attachemnt or receiving attachment or both? On Thu, Sep 3, 2009 at 11:01 AM, Sanjay Gupta mailto:sanjay.gu

MTOM support causing problem

2009-09-02 Thread Sanjay Gupta
Hi, I enabled mtom support in axis2.xml and it's causing some problem in an already working application. I am using axis2 1.4.1, tomcat 6.0.18 and jdk 1.6.0.14. I have my axis2 pojo based services deployed in tomcat as an app. In the same tomcat I have a grails app that has some grails services

Consuming axis2 web services using axis1 client

2009-07-21 Thread Sanjay Gupta
Hi, Is it possible to consume an axis2 web services using axis1 client? I have a legacy application than currently uses axis1 client to consume some axis1 web services. I am building my new services in axis2 and would like to consule some of them in the legacy app using axis1 client. Thanks Sanj

RE: Use Axis1 and Axis2 inside the same JBoss/Tomcat

2009-07-11 Thread Sanjay Gupta
I did exactly the same and have no issues. Some of my services had no return in axis1 and I couldn't make it work in axis2 so I changed them to resturn status. From: Nora Serinek [mailto:nseri...@berlin-sws.de] Sent: Wednesday, July 08, 2009 10:28 AM To: axis-user@ws.apache.org Subject: Use Axis

RE: MTOM - Size Limit

2009-07-10 Thread Sanjay Gupta
Hi I had a similar issue and mine was cutting off around 12k. Martin gainty had some solution but I haven't had a chance to implement it yet. Search for archive for my name. If you find any solution please let me know as well. -Original Message- From: paulpablo [mailto:pdwinn...@sciques

RE: Axis1.x in Java6

2009-06-11 Thread Sanjay Gupta
We tried it and didn't have any issues. From: Gary Yue [mailto:yueg...@yahoo.com] Sent: Thursday, June 11, 2009 4:23 PM To: axis-user@ws.apache.org Subject: Axis1.x in Java6 Hi, does anybody know if Axis1.x is compatible w/ java6? We are trying to upgrade our server (Axis1.x based) to java6 runt

RE: Problem with MTOM

2009-05-22 Thread Sanjay Gupta
you for your help. At the moment I'm very hurry with my project, so I'll use my workaround for some time. As soon as I'll be a little bit less hurry, I'll surely try to switch to a better solution. Thank you, Massimiliano On Fri, May 22, 2009 at 6:33 AM, Sanjay Gup

RE: Problem with MTOM

2009-05-21 Thread Sanjay Gupta
.get_return methods of my > stub to get the DataHandler > > Thanks, > Massimiliano > > On Wed, May 20, 2009 at 6:26 PM, Sanjay Gupta > wrote: >> >> I had the exact same issue few weeks back and martin gainty helped me. I >> haven't tried his solution yet. I

RE: Access to message context in Password Callback Handler

2009-05-20 Thread Sanjay Gupta
) Thanks , On Wed, May 20, 2009 at 9:50 PM, Sanjay Gupta wrote: > Hi Guys, > > Are there any solution to my problem. This seems like a failry common > requirement. I would really appreciate any help or suggestion. > > Thanks > > Sanjay > > > >

RE: Problem with MTOM

2009-05-20 Thread Sanjay Gupta
I had the exact same issue few weeks back and martin gainty helped me. I haven't tried his solution yet. I have been so busy with other things. See the thread "Sending binary data(not using MTOM) using DataHandler". Thanks Sanjay -Original Message- From: Andreas Veithen [mailto:andreas.

RE: Access to message context in Password Callback Handler

2009-05-20 Thread Sanjay Gupta
Hi Guys, Are there any solution to my problem. This seems like a failry common requirement. I would really appreciate any help or suggestion. Thanks Sanjay From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] Sent: Friday, May 08, 2009 7:50 AM To: axis-user@ws.apache.org Subject: RE: Access

RE: Access to message context in Password Callback Handler

2009-05-08 Thread Sanjay Gupta
Hi, Can anybody give me some pointers on this issue. Sanjay From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] Sent: Tuesday, April 21, 2009 8:55 AM To: axis-user@ws.apache.org Subject: Access to message context in Password Callback Handler Hi, I have seen lots on discussion on having

RE: https client - defining the keystore path

2009-05-07 Thread Sanjay Gupta
Hi Nuno, If the server has a CA issued cert then you don't need anything. In case of self signed cert I add the following two line and it works for me. I usually don't import my self-signed cert to the java cacerts. System.setProperty("javax.net.ssl.trustStore", "C:/cts/axis2/client/resources

Paypal API using axis2

2009-05-03 Thread Sanjay Gupta
Hi, I am trying to use axis2 to consule paypal services. I am using the following wsdl and invoking DoDirectPayment operation. I had to make one code change to the generated class that parses the response to make it work for +ve tes case. But in case of an error e.g. authentication error it's n

RE: Error handing in axis2

2009-04-26 Thread Sanjay Gupta
hanks Sanjay From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] Sent: Saturday, April 25, 2009 8:50 PM To: axis-user@ws.apache.org Subject: Error handing in axis2 Hi, I am using axis2 to expose POJO as services. In case of an error I throw an custom exception. The pojo methods returns a s

Error handing in axis2

2009-04-25 Thread Sanjay Gupta
Hi, I am using axis2 to expose POJO as services. In case of an error I throw an custom exception. The pojo methods returns a string. When I was using axis1.2.1 the return was set to void. I had to change that to String to avoid inonly error I kept getting. I could not find a solution to that pr

RE: Securing Axis2 REST Style Services

2009-04-22 Thread Sanjay Gupta
version of Apache xmlsec are you using? Thanks, Ruchith On Mon, Apr 20, 2009 at 7:41 PM, Sanjay Gupta wrote: > Hi Ruchith, > Finally I got authentication working on rest call. I had to comment the db > calls in the class that you provided to get past the db connection issue. > Thank you

RE: Sending binary data(not using MTOM) using DataHandler

2009-04-21 Thread Sanjay Gupta
Hi Martin, I am not sure about question but during debugging I noted that reader.getText() only gives 16211 bytes which possibly gets translated into 12188 binary bytes. I don't understand this code well. Don't you think that reader.getText() call should gives all bytes. I did check the size ins

RE: Sending binary data(not using MTOM) using DataHandler

2009-04-21 Thread Sanjay Gupta
Hi Martin, Thanks for your reponse. wsdl file is attached. Type is xs:base64Binary in the wsdl. The wsdl was auto generated by grails axis2 plugin. Thanks Sanjay From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, April 21, 2009 1:22 PM To: axis-user@ws.apache.org Subject: RE: Sendin

Sending binary data(not using MTOM) using DataHandler

2009-04-21 Thread Sanjay Gupta
Hi, I have written a service that returns DataHandler containing the binary data(pdf file). When I call that service by using the classes generated by wsdl2java I only get 12k of the binary data. I have seen as reference to 12K buffer wrap issue. I would appreciate if anybody can give me some p

Access to message context in Password Callback Handler

2009-04-21 Thread Sanjay Gupta
Hi, I have seen lots on discussion on having access to message context in password callback handler in axis2 but no clear solution. I need to store some user profile information after successful authentication in callback handler so that I can access them in my services(POJO). One option would

RE: Securing Axis2 REST Style Services

2009-04-20 Thread Sanjay Gupta
- From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] Sent: Sunday, April 19, 2009 10:36 PM To: axis-user@ws.apache.org Subject: RE: Securing Axis2 REST Style Services Hi Ruchitch, Please ignore my previous message. The POXSecurityHandler class was not compiled correctly. I had to figure out

RE: Securing Axis2 REST Style Services

2009-04-19 Thread Sanjay Gupta
154) at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) ... 35 more -Original Message----- From: Sanjay Gupta [mailto:sanjay.gu...@billwiseinc.com] Sent: Sunday, April 19, 2009 8:44 P

RE: Securing Axis2 REST Style Services

2009-04-19 Thread Sanjay Gupta
Style Services Oops :-) Here you go : https://wso2.org/repos/wso2/branches/wsas/java/2.2/wsas/java/modules/core/src/org/wso2/wsas/security/pox/POXSecurityHandler.java On Thu, Apr 16, 2009 at 8:36 PM, Sanjay Gupta wrote: > Hi Ruchith, > Thanks for the quick reply. Could you please point

RE: Securing Axis2 REST Style Services

2009-04-16 Thread Sanjay Gupta
configured). Thanks, Ruchith On Thu, Apr 16, 2009 at 3:04 PM, Sanjay Gupta wrote: > HI, > > I have a POJO based services deployed in axis2 and it's working well. I have > implememted the basic user/password security  using rampart and it's working > fine for SOAP call

Securing Axis2 REST Style Services

2009-04-16 Thread Sanjay Gupta
HI, I have a POJO based services deployed in axis2 and it's working well. I have implememted the basic user/password security using rampart and it's working fine for SOAP calls. I generated the client using wsdl2java.My question is how do I secure the REST style calls. Do I need to do anything

Apache Axis2 Plugin

2009-03-26 Thread Sanjay Gupta
Hi, Does this plugin support security using apache rampart module? Thanks Sanjay

RE: Implementation of WS security using Apache Rampart

2009-03-19 Thread Sanjay Gupta
Hi Shrey, Use the tutorial from the link. It worked for me without any major. http://wso2.org/library/3190 Sanjay From: shreya gupta [mailto:shreya.gupt...@gmail.com] Sent: Thursday, March 19, 2009 3:02 AM To: axis-user@ws.apache.org Subject: Implementation of WS security using Apache Rampart He

RE: InOnlyAxisOperation Error

2009-02-07 Thread Sanjay Gupta
ect: Re: InOnlyAxisOperation Error >From the stack trace it looks like an InOutMessageReceiver was used for an InOnly Operation. Thanks, Keith. On Fri, Feb 6, 2009 at 11:27 PM, Sanjay Gupta wrote: > Keith, > Thanks for you reply and pointer. I tried your sugession but I am still

RE: InOnlyAxisOperation Error

2009-02-06 Thread Sanjay Gupta
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> Thanks, Keith. On Fri, Feb 6, 2009 at 11:50 AM, Sanjay Gupta wrote: > Hi Keith, > Here is my services.xml files. > Thanks > Sanjay > > > http://provision.ws.ccb.primalsw.com/";> > >

RE: InOnlyAxisOperation Error

2009-02-05 Thread Sanjay Gupta
-Original Message- From: keith chapman [mailto:keithgchap...@gmail.com] Sent: Thu 2/5/2009 10:01 PM To: axis-user@ws.apache.org Subject: Re: InOnlyAxisOperation Error Can you provide your service please. You haven't provided enough information to help you... Thanks, Keith. On Thu, F

InOnlyAxisOperation Error

2009-02-05 Thread Sanjay Gupta
Hi, I just have upgraded my axis 1.2 web services to 1.4.1 and getting error while calling a service which returns nothing(void). See the stack trace below. The doc mentions these four types of operations but I don't know which one to pick and how to set it during client generation. DoInOnly,

RE: InOnlyAxisOperation

2009-02-04 Thread Sanjay Gupta
PCMessageReceiver"/> http://customer.ws.ccb.primalsw.com/xsd"/> com.primalsw.ccb.ws.CustomerHandler From: Sanjay Gupta [mailto:sanjay.gu...@primal.com] Sent: Wednesday, February 04, 2009 11:12 AM To: axis-user@ws.apache.org Subject: InOnlyAxisOperation Hi, I just have upgraded my ax

InOnlyAxisOperation

2009-02-04 Thread Sanjay Gupta
Hi, I just have upgraded my axis 1.2 web services to 1.4.1 and getting error while calling a service which returns nothing(void). See the stack trace below. The doc mentions these four types of operations but I don't know which one to pick and how to set it during client generation. DoInOnly,

RE: Newbie Question

2005-12-07 Thread Sanjay Gupta
This is from the user guide. You need to add beanMapping tag in your deployment descriptor for this object. This is from the user guide Encoding Your Beans - the BeanSerializer Axis includes the ability to serialize/deserialize, without writing any code, arbitrary Java classes which follow the st