0

I have a java web application using axis2 stub to call a .net webservice that receieves a string parameter. When I run the web application using tomcat server, it works fine.

But when I use Oracle weblogic server I get the following error :

org.apache.axis2.AxisFault: 
First Element must contain the local name, Envelope , but found html

What could be the cause to get this error? Please help me. I really need to fix this but I can't.

2
  • 1
    If it works in Tomcat my guess is some kind of classloading issue. Weblogic might load a different set of classes than Tomcat. You could try and to add a Weblogic.xml file to your WEB-INF folder, and in Weblogic..xml specify the classloader delegation. Commented Jan 18, 2012 at 6:22
  • See here for info: docs.oracle.com/cd/E15051_01/wls/docs103/webapp/… you're looking true prefer-web-inf-classes tag Commented Jan 18, 2012 at 6:22

1 Answer 1

1

Follow the steps @ http://axis.apache.org/axis2/java/core/docs/app_server.html for deploying axis2 onto weblogic

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.