Announcement Announcement Module
Collapse
No announcement yet.
Spring-WS with JiBX binding Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring-WS with JiBX binding

    Hi All,

    I am using spring web services in my project and with JiBX binding for XML binding

    I am using
    RSA with WAS 6.1 App server

    When I try to hit the deployed web service I am getting the following error

    <faultstring>JiBX unmarshalling exception: No unmarshaller for element "{http://rxhd.rxsol.com/ws/ivr/model/}ANIAuthenticationRequest" (line 1, col 116); nested exception is org.jibx.runtime.JiBXException: No unmarshaller for element "{http://rxhd.rxsol.com/ws/ivr/model/}ANIAuthenticationRequest" (line 1, col 116)</faultstring>


    Here is my beans details in config xmls file

    <bean id="aniAuthenticationEndPoint" class="com.rxsol.rxhd.ws.service.aniauth.service.A NIAuthenticationEndPoint">
    <description>
    This endpoint handles ANIAuthentication requests.
    </description>
    <property name="aniAuthenticationService"
    ref="aniAuthenticationService" />
    <property name="marshaller" ref="marshaller" />
    <property name="unmarshaller" ref="unmarshaller" />
    </bean>



    <bean id="marshaller" class="org.springframework.oxm.jibx.JibxMarshaller ">
    <property name="targetClass">
    <value>com.rxsol.rxhd.ws.service.aniauth.model.ANI AuthenticationResponse</value>
    </property>
    </bean>


    <bean id="unmarshaller" class="org.springframework.oxm.jibx.JibxMarshaller ">
    <property name="targetClass">
    <value>com.rxsol.rxhd.ws.service.aniauth.model.ANI AuthenticationRequest</value>
    </property>
    </bean>

    I have configured Unmarshallers for my request object.....Still I am getting the error that "No Unmarshallers found for the element{} Request

    Am I missing something in my configuration?

    Appreciate your help.....Thanks in advance......
    Last edited by skoorella; Oct 4th, 2010, 01:34 PM. Reason: Making clear
Working...
X