Modifiying Hash in CXF

2015-05-07 Thread Resa Rahmatulloh
Hi all, New member here :). I'm currently working with CXF client and want to send request to some WS server. I'd configured the header properly, but the server is ask #PasswordText instead of #PasswordDigest for . On the other side properties.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_D

Re: NullPointerException with WebClient

2015-05-07 Thread Kiren Pillay
Hi Binh Your issue isn't exactly the same as mine. However I have had an experience similar to yours before. It turns out that if you have jar with dependencies, classes from different versions of libraries may overwrite each other. I worked around this by using the maven-app-assembler whic

Re: NullPointerException with WebClient

2015-05-07 Thread binh.le
Hi all, I have the same issue. I'm using : cxf-rt-rs-client v3.0.4 in my project. In my IDE NB, it works fine. But when i make an distribution and run it, i receive : java.lang.NullPointerException at org.apache.cxf.jaxrs.client.AbstractClient.setupOutInterceptorChain(AbstractClient.java:8

Re: No message body writer has been found for class java.util.HashMap

2015-05-07 Thread Sergey Beryozkin
On 07/05/15 09:52, sanmitra wrote: Question 1) To serialize my domain object containing a hashmap, I am using org.apache.cxf.jaxrs.provider.json.JSONProvider but getting this error "No message body writer has been found for class java.util.HashMap, ContentType: application/json". How can I fix th

No message body writer has been found for class java.util.HashMap

2015-05-07 Thread sanmitra
Question 1) To serialize my domain object containing a hashmap, I am using org.apache.cxf.jaxrs.provider.json.JSONProvider but getting this error "No message body writer has been found for class java.util.HashMap, ContentType: application/json". How can I fix this ?