Announcement Announcement Module
No announcement yet.
How to configure in spring for client interface Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to configure in spring for client interface


    I have a WSDL with me. I need to create Client interface.

    I have used WSDL2Java command from Axis to create POJOs , It has created 60 POJOs, I included them in my project.

    I need to create an interface using Spring Webservices.

    What else do I need to have to use marshalSendAndReceive method.

    I don't have any Request or Response classes created.

    Please help me in writing the method and configuring in application context.

    Thanks in advance.

    My spring configuration would look like:

    <bean id="marshaller"
    class="org.springframework.oxm.jaxb.Jaxb2Marshalle r">
    <bean id="webserviceTemplate"
    class=" ceTemplate">
    <property name="messageFactory">
    class=" ssageFactory" />
    <property name="messageSender">
    <bean id="messageSender"
    class=" rlConnectionMessageSender" />
    <property name="defaultUri" value="${ERPServicesEndPointUrl}" />
    <property name="marshaller" ref="marshaller" />
    <property name="unmarshaller" ref="marshaller" />

    Thanks in advance,