configuring HttpCoreNIOSender

2011-10-17 Thread Dan Haywood
Newbie question... How do I configure axis2 (v1.4) to use HttpCoreNIOSender for a simple, http, synchronous invocation. Right now I can see that request is sent, but there is nothing to handle the response inputstream. Searching the code looks like I ought to use org.apache.axis2.transport.nhttp.

Returning response to client from handler

2011-10-17 Thread Kudret Serin
Hi, I am developing a web service using Axis2 and have a question about handlers and message flow. I implemented a handler, and in some cases I would like to give response to client without any further processing. (throwing an AxisFault with a message would be an option but I do not want to do this

Re: Returning response to client from handler

2011-10-17 Thread Deepal Jayasinghe
You probably need to do what the Message Receiver does, create a response message and send it. Deepal > Hi, > I am developing a web service using Axis2 and have a question about > handlers and message flow. > I implemented a handler, and in some cases I would like to give > response to client wit

Re: Latest axis distribution on OAS (using jdk 1.4)

2011-10-17 Thread Deepal Jayasinghe
As I remember correct Axis2 1.5 came with JDK 1.5 support, so any earlier version should work for you. But, I would not recommend using older version, because most of the issues we encountered in early version have been fixed in current releases. Deepal On 10/17/2011 1:26 AM, Abhijeet C Kale wr

Re: [Rampart-1.6.0] Build fails with JDK 15.0 but succeeds with JDK 1.6.0

2011-10-17 Thread Andreas Veithen
Josef, Rampart normally builds fine with Java 1.5. There is however a known issue that occurs when the JRE provides a Xerces version that uses the original package name (org.apache.xerces). I've seen this on IBM JDKs, while with Sun/Oracle JDKs, they normally use a Xerces version with a modified p

Re: com.ctc.wstx.stax.WstxInputFactory cannot be located

2011-10-17 Thread Andreas Veithen
That is because the StAX API relies on the thread context class loader to locate the StAX implementation, but in contrast to J2EE, the context class loader is not set in an OSGi environment. Ideally, instead of embedding these dependencies, you should use a fully OSGi aware StAX API bundle (geronim

[Axis2] WSDL2java conversion

2011-10-17 Thread Kalpana Prakasam
I am trying to convert the following wsdl file ( https://api.yieldmanager.com/api-1.33/adjustment.php?wsdl) to java. It throws the following error under axis2-1.6.1, but the same file works fine under axis-1_4. What change should I do in order to resolve this error. *Caused by: org.apache.axis2.A