Azeez, Could u please use a property in Options instead of a separate method? and please use SOAP11_FACTORY_NAME_PROPERTY as the name of the property since it is used om/FactoryFinder
thanks, dims On 12/29/05, Afkham Azeez <[EMAIL PROTECTED]> wrote: > Hi Folks, > I propose the attached patch where the SOAPFactory implementation > class name can be set in the Options and in the MEPClient, we check > whether this > property is set in its Option attribute, and if so calls the newly > added OMAbstractFactory#getSOAPFactory(String soapFactory) method. > This way, we can make it work with different SOAPFactory > implementations. > > Regards > Azeez > > On 12/29/05, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > Hi Folks, > > I'm having this issue with SAAJ over DOOM where I try to call the > > org.apache.axis2.client.Call #invokeBlocking(String axisop, OMElement > > toSend) method. > > > > The issue is with MEPClient#prepareTheSOAPEnvelope(OMElement toSend), > > where it calls OMAbstractFactory.getSOAP12Factory().getDefaultEnvelope() > > or OMAbstractFactory.getSOAP11Factory().getDefaultEnvelope(). This > > call returns a "org.apache.axis2.soap.impl.llom.soap11.SOAP12Factory" > > or "org.apache.axis2.soap.impl.llom.soap11.SOAP11Factory". So, the > > returned factory is an LLOM implementation. Hence we cannot use the > > call class with DOOM!!! As a fix, we can modify the code so that we > > may pass in the soap factory class as a string and based on that, to > > return the relevant SOAPFactory. > > > > What are your thoughts? > > > > -- > > Thanks > > Afkham Azeez > > > > > -- > Thanks > Afkham Azeez > > > -- Davanum Srinivas : http://wso2.com/blogs/