[AXIS2] : Null Pointer Exception in Stub

2011-01-28 Thread aashish
hi all, i get anull pointer exception at System.out.println("transport is "+_messageContext.getTransportOut().getSender().toString()); in my stub. (stub generated using Axis2 Code Generator plugin, by passing the WSDL) and the error in System.Err is org.apache.axis2.AxisFault: The system can

Consuming Axis1 Service from Axis2

2011-01-28 Thread Sanjay Gupta
Hi, I need to consume a third party service that's written in axis1. I tried to use axis2 wsdl2java to generate stub and got error show below. I really can't use axis1 since I already use axis2 in my web app. I was wondering if anybody encountered this scenario and was able to successfully cons

Re: Global exception handling

2011-01-28 Thread Ognjen Blagojevic
Thank you, I will check it out. -Ognjen On 28.1.2011 14:42, haipeng du wrote: Here is one link to write your own module. http://axis.apache.org/axis2/java/core/docs/modules.html On Fri, Jan 28, 2011 at 1:31 AM, Ognjen Blagojevic mailto:[email protected]>> wrote: Hi Du, I

Re: Global exception handling

2011-01-28 Thread haipeng du
Here is one link to write your own module. http://axis.apache.org/axis2/java/core/docs/modules.html On Fri, Jan 28, 2011 at 1:31 AM, Ognjen Blagojevic < [email protected]> wrote: > Hi Du, > > I was hoping that was possible, but I am unable to find any reference in > the documentation

wsdl2java and basic authentication

2011-01-28 Thread Rafael Barrera Oro
I understand that there is a bug present in version 1.4 that prevents from generating client code from a wsdl definition using the afforementioned tool when the url requires basic authentication (regardless of whether you send credentials or not in the url you get a 401). Having in mind that the s

Re: [AXIS2]

2011-01-28 Thread Pradeep Fernando
On Mon, Jan 24, 2011 at 9:20 PM, Sardar Hussain wrote: > Hi, > > I want to make a dynamic client and read a WSDL of a remote service. > However I note that all the tutorials available on Axis2 site do provide and > explain operation client but I don't find how to get operations etc > dynamically f

Re: Global exception handling

2011-01-28 Thread Ognjen Blagojevic
Hi Du, I was hoping that was possible, but I am unable to find any reference in the documentation how to do that. Could you provide any pointers how can I configure Axis2 to use my exception handler? -Ognjen On 27.1.2011 17:16, haipeng du wrote: I think you can write your own handler and