Re: Mapping of Map with "required=false, nillable=true"

2012-01-04 Thread Default SPAM
Thank you very much Daniel. The XmlAdapter is fixing the issue. I've used the java_first_jaxws sample in the CXF distribution as a template for the implementation. But I have added a check for null value at the beginning of marshal and unmarshal functions (to avoid NullPointerException): pub

Re: Mapping of Map with "required=false, nillable=true"

2011-12-08 Thread Daniel Kulp
You've hit one of those "funny" things with JAXB that I've never quite understood. Officially, JAXB does not support Maps. However, the JAXB runtime does kind of handle them as long as you don't specifically tell JAXB about them by annotating it with and JAXB annotation. As soon as you do

Mapping of Map with "required=false, nillable=true"

2011-12-07 Thread Default SPAM
Hi all, I would like to submit a question since I have noticed an inconsistency between WSDL generated by "org.apache.cxf.tools.java2ws.JavaToWS" and response sent by CXF. > I have a service like this: @WebService(endpointInterface = "be.eft.cbkv3.ws.WSExampleService", serviceName = "WSExampleSe