Re: Relying on Http error codes with AXIS

2008-06-30 Thread Mohan Radhakrishnan
Hi, As a follow-up I use this code in the client OperationContext oct = stub._getServiceClient().getLastOperationContext(); MessageContext mct = oct.getMessageContext(WSDLConstants.HTTP_HEADER ); It doesn't print the http headers. Thanks, Mohan -- View this message

Re: java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-27 Thread Mohan Radhakrishnan
Thanks. It is working. Which build will this be part of ? Mohan -- View this message in context: http://www.nabble.com/java.lang.NullPointerException-AbstractDispatcher.invoke-tp18070227p18148961.html Sent from the Axis - User mailing list archive at Nabble.com.

Relying on Http error codes with AXIS

2008-06-27 Thread Mohan Radhakrishnan
Hi, REST-based styles and the SOAP web service differ. Our client relies on the Http transport error codes to find out if the SOAP/Http request has reached or not. There are two styles being mixed here. Does anyone have an opinion about this ? Can the Http 200 come to the client

Re: java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-26 Thread Mohan Radhakrishnan
Thanks Sanka. I will try that. I am going to use that patch with the final release build because the nightly build uses JDK 5 ? We use 1.4 [javac] bad class file: F:\tools\eclipse\src\web\WEB-INF\lib\axis 2-kernel-SNAPSHOT.jar(org/apache/axis2/AxisFault.class) [javac] class file has

Re: java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-25 Thread Mohan Radhakrishnan
Hi, I tried the latest nightly build. Which build should I try ? I don't see any change. Thanks, Mohan -- View this message in context: http://www.nabble.com/java.lang.NullPointerException-AbstractDispatcher.invoke-tp18070227p18110687.html Sent from the Axis - User mailing list

Re: java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-25 Thread Mohan Radhakrishnan
Hi, Could you point me to the patch for this if it is not my code error ? I though I was using a simple WSDL with one operation ? Thanks, Mohan -- View this message in context: http://www.nabble.com/java.lang.NullPointerException-AbstractDispatcher.invoke-tp18070227p18126719.html Sent

Re: java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-24 Thread Mohan Radhakrishnan
Hi, The service uses XMLBeans bindings and is large but I have pasted the WSDL. The curious thing is that the same WAR works on Tomcat and is able to hit the service. 1. Is axis2.xml the problem ? 2. services.xml ?xml version=1.0 encoding=UTF-8? !-- This file was auto-generated from WSDL

java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-23 Thread Mohan Radhakrishnan
Hi, Not sure what this exception means. I have also pasted the source code at the end. Line 122 is msgctx .setProperty( Constants.AXIS_BINDING_MESSAGE,

Axis 2 Callback - Set throttling limit for non-blocking one-way transport

2008-06-10 Thread Mohan Radhakrishnan
Hi, Is there a way to set a throttling limit for non-blocking one-way transport calls ? We want to limit the number of calls made to a web service. The throttle counter has to be decremented when the response is received. Thanks, Mohan -- View this message in context:

The service cannot be found for the endpoint reference (EPR)

2008-06-06 Thread Mohan Radhakrishnan
Hi, Not sure why I am getting this fault back. I have a WAR , services.list with the name of the AAR file and the .aar file in the services folder. Since I am using XMLBeans bindings I have XBeans-packaged.jar also in the services folder. Could this be due to classloader problems ? I also

Axis 2 Callback - SSL, XMLBeans, over the internet

2008-06-03 Thread Mohan Radhakrishnan
Hi, I am using an SSL client, XMLBeans binding and a client that the server cannot connect to over the internet. The steps are 1. Client connects to service using SSL and receives sync. response. 2. We have a service URL on the client also. When the server tries to call this

Re: Document literal style - Send XML as string

2008-06-02 Thread Mohan Radhakrishnan
Hi, This is the code I am using. WSDL2Java is used. I meant to say that SOAP UI gave me a SOAP message similar to what I get using this method. It is like this test:arg0This is where the XML goes as a String/test:arg0. My operation name in the WSDL does not match the the prefix 'test'.

Document literal style - Send XML as string

2008-06-01 Thread Mohan Radhakrishnan
Hi, I am using the doc/lit style to send a xs:string type. Now if I post an entire XML then it gets wrapped in CDATA. I am using Axis 2 XMLBeans bindings. I have these questions. 1. Does this style of sending XML as string require CDATA ? 2. A new namespace is added like this in the SOAP

Re: Document literal style - Send XML as string

2008-06-01 Thread Mohan Radhakrishnan
What is the difference ? My WSDL requires me to pass a string parameter. I generated XMLBeans bindings and Axis2 stubs. There is a setter method generated and I set the XML that I want to pass. What is the rule in this case ? Should I set it as a child or let it pass the CDATA ? My second

Re: Document literal style - Send XML as string

2008-06-01 Thread Mohan Radhakrishnan
Hi, The WSDL is copied at the end of this mail. According to soap UI and the stub bindings what I am sending seems to be right. What I am sending is ?xml version=...? soapenv:Envelope xmlns:soapenv=http: //schemas.xmlsoap.org/soap/envelope/ soapenv:Bodysomething:test xmlns: