Hey,

Beating my head on this...pardon my ignorance - new to CXF.

I've got a simple service that looks like this:

@WebService
public interface SettingsManager {

    Boolean addSetting(@WebParam(name="namespace") String namespace,
                    @WebParam(name="settingName") String settingName,
@WebParam(name="settingValue") String settingValue);

    String getSetting(@WebParam(name="namespace") String namespace,
                      @WebParam(name="settingName")String param);

HashMap<String, String> getAllSettings(@WebParam(name="namespace")String namespace);

    Boolean deleteSetting(@WebParam(name="namespace") String namespace,
                      @WebParam(name="settingName")String param);

    List<String> list(@WebParam(name="namespace") String namespace);

}

With no special data bindings the HashMap returned by getAllsettings is always empty. So, tried to use the Aegis data binding, but as soon as I do anything with my Spring config the service breaks completely. Here's the snip from the config:

<jaxws:endpoint id="GlobalSettings"
implementor="com.accenture.manager.settings.GlobalSettingsManager"
                    address="/globalSettings">

        <!-- signed and encrypted -->
        <jaxws:inInterceptors>
<bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" /> <bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
                <constructor-arg>
                    <map>
                        <entry key="action" value="Signature" />
<entry key="signaturePropFile" value="server- sign.properties" />
                    </map>
                </constructor-arg>
            </bean>
        </jaxws:inInterceptors>

</jaxws:endpoint>

Any pointers to get me going in the right direction? Maybe with a JAXB configuration?

TIA,
Kit

Reply via email to