Hi,
Iam trying to port my service running fine in tomcat to weblogic. I read through the topics discussed and did the following. (My WLS version is 9.1)
1) Introduced a weblogic.xml in WEB-INF/. with the below said description.
2) Downloaded Axis 2 to get access to the following resources.Code:<!-- This is required for weblogic server -->
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
(Easiest way to get the dependent jars found inside the lib of axis 2)
3) After doing the above i added the line in my spring context/application xmlCode:<!-- To Make Weblogic work with the application-->
<dependency>
<groupId>xerces</groupId>
<artifactId>xerces</artifactId>
<version>2.8.1</version>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.03</version>
</dependency>
<dependency>
<groupId>stax-api</groupId>
<artifactId>stax-api</artifactId>
<version>1.0.1</version>
</dependency>
4) When i tried invoking the WSDL from the url it gave me CLASSDEFOUND for "SOAP11Factory". Hence includedCode:<bean id="messageFactory" class="org.springframework.ws.soap.axiom.AxiomSoapMessageFactory">
<property name="payloadCaching" value="true"/>
</bean>
Which gave rise to CLASSDEFOUND "SOAPFactory" hence includedCode:<dependency>
<groupId>axiom-impl</groupId>
<artifactId>axiom-impl</artifactId>
<version>1.2.4</version>
</dependency>
Which gives meCode:<dependency>
<groupId>axiom-api</groupId>
<artifactId>axiom-api</artifactId>
<version>1.2.4</version>
</dependency>
Did i do the right steps ? If not please help me resolve this.Code:java.lang.ClassCastException: weblogic.xml.stax.XMLStreamInputFactory
Thanks and warm regards
Vignesh

