HI :How to add Empty soap header element to SOAP envelope using AXIS2 client API

2009-12-08 Thread Vishnu Vardhan Reddy
HI all, How to add empty SOAP Header element to SOAP request , using AXIS2 API. Soap Request should be like this ?xml version=1.0 encoding=http://schemas.xmlsoap.org/soap/envelope/; standalone=no? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Header

Problem using WSSPolicy with generated client stubs

2009-12-08 Thread Shaan Jayaratna
Hi. I want to use WSSPolicy with Axis2 1.5.1 and Rampart 1.4. Deploying the service with an attached Policy works fine. Creating the stubs with WSDL2Java don't cause an error. But when I send a request there are no WSSHeaders generated. Rampart is engaged. Using the OutflowSecurity

Re: Axis2 1.4 not preserving CDATA

2009-12-08 Thread Andreas Veithen
On Mon, Dec 7, 2009 at 23:43, Ramya K Grama ramyakgr...@gmail.com wrote: I dont understand. It is a simple case where a Axis2 webservice, implemented with XMLBeans databinding, needs to send CDATA out in the response XML, preserved/intact - without characters being escaped. This is not

Question About Axis2 1.4.1 and \n

2009-12-08 Thread Triquoit Mathieu
Hi all, I have a webservice which contains two operations. For the first one, I have a field address (with type string). If the response contains a \n; I have something like: addressAddress line 1 Address line 2 Address line 3 /address My other operation contains also a field address... If

java.lang.NoClassDefFoundError - both classes in same aar class tree

2009-12-08 Thread monkeyden
I have an authentication service, which builds and deploys just fine. Inside of the aar file I have the following structure: hibernate-config.xml com \ mycompany lib \ [dependent jars] META-INF \ services.xml My service uses a utility class, named UserOracleDAOImpl, which itself uses

Re: java.lang.NoClassDefFoundError - both classes in same aar class tree

2009-12-08 Thread monkeyden
Incidentally, the HappyAxis page seems perfectly happy: Found Axis2 default Version service and Axis2 is working properly. monkeyden wrote: I have an authentication service, which builds and deploys just fine. Inside of the aar file I have the following structure:

Providing rpc/encoded jax-ws webservice

2009-12-08 Thread Michael Rohleder
Hi, does anybody have a solution for providing a rpc-encoded jax-ws webservice for backward compatibility and for giving clients time to migrate to a new document-literal webservice? I think xml transformation (rpc-encoded - document-literal) could be possible, like this:

Creating Web Service client using HTTPS from wsdl files

2009-12-08 Thread Vadim Letitchevski
I am trying to configure my client auto-generated from WSDL to use SSL. I have read already the recommendations to set these: System.setProperty(javax.net.ssl.trustStore, /path/to/.keystore); System.setProperty(javax.net.ssl.trustStorePassword, changeit); Unfortunately this is not all I need to

SOAP De-serialization

2009-12-08 Thread Rahul Rulz
Hi Users, I am looking for a tool like a SOAP UI or something similar to generate multireferences to hit the axis2 server. The axis2 server supports multiref and I want to explore more in this area before I create a client to do the actual sending of the message. It would be helpful if some