https://issues.apache.org/bugzilla/show_bug.cgi?id=46888





--- Comment #6 from Edgar Higgins <edgar.j.higg...@gmail.com>  2009-06-08 
08:01:24 PST ---
Colm,

I was incorrectly using MessageFactoryImpl instead of SOAPMessageFactory1_1Impl
(which does implement the createMessage() method).  I instantiated the
implementation directly because MessageFactory.newInstance() will return the
weblogic implementation.  Below is the new spring configuration I used:

    <bean id="wsTemplate"
class="org.springframework.ws.client.core.WebServiceTemplate">
        <property name="interceptors" ref="wsInterceptors"/>
        <property name="marshaller" ref="wsMarshaller"/>
        <property name="unmarshaller" ref="wsMarshaller"/>
        <property name="messageFactory" ref="wsMessageFactory"/>
    </bean>

    <bean id="messageFactory"
class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory">
        <property name="messageFactory">
            <bean
class="com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl"/>
        </property>
    </bean>

And now everything works perfectly!  Thanks for all of your help Colm.

-Edgar

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to