Announcement Announcement Module
Collapse
No announcement yet.
Configure services.xml in XFIRE Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configure services.xml in XFIRE

    I have a ws with 12 methods, but i only need to use the handlers (InHandler) with one of these. Can you help to customize the file?

    This is my services.xml, the problem is that this file use the InHandler with all methods.

    <?xml version="1.0" encoding="UTF-8"?>
    <beans>
    <service xmlns="http://xfire.codehaus.org/config/1.0">
    <name>WebServicesImplServiceImpl</name>
    <namespace>http://pasarela/service/ws</namespace>
    <serviceClass>pasarela.service.ws.WebServicesImplS erviceImpl</serviceClass>
    <!-- <method name="apertura" exclude="true"/> -->
    <serviceFactory>org.codehaus.xfire.jaxb2.JaxbServi ceFactory</serviceFactory>
    <inHandlers>
    <handler handlerClass="org.codehaus.xfire.util.dom.DOMInHan dler" />
    <bean class="org.codehaus.xfire.security.wss4j.WSS4JInHa ndler" xmlns="">
    <property name="properties">
    <props>
    <prop key="action">Signature</prop>
    <prop key="signaturePropFile">META-INF/xfire/insecurity_sign.properties</prop>
    <prop key="passwordCallbackClass">pasarela.service.handl ers.PasswordHandler</prop>
    </props>
    </property>
    </bean>
    </inHandlers>
    </service>
    <bean id="config" class="org.codehaus.xfire.aegis.type.Configuration ">
    <property name="defaultExtensibleElements" value="false" />
    <property name="defaultExtensibleAttributes" value="false" />
    <property name="defaultNillable" value="false" />
    <property name="defaultMinOccurs" value="1" />
    </bean>
    <bean name="jsr181ServiceFactory" class="org.codehaus.xfire.annotations.AnnotationSe rviceFactory">
    <constructor-arg ref="xfire.transportManager" index="0" />
    <constructor-arg ref="config" index="1" type="org.codehaus.xfire.aegis.type.Configuration" />
    </bean>
    </beans>

    Regards.
Working...
X