• Post Reply Bookmark Topic Watch Topic
  • New Topic

org.apache.axis2.AxisFault: Transport error 500 . Error Message is ..

 
lekkie Nakel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
New to Axis 2. I must confess, tis quite complex.

I see this error (on the client side) whenever I try to return an OMElement back to the client application.

org.apache.axis2.AxisFault: Transport error 500 . Error Message is <html><head><title>Apache Tomcat/5.0.28 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet execution threw an exception </pre></p><p><b>root cause</b> <pre>java.lang.NoSuchMethodError: org.apache.axiom.om.OMOutputFormat.setAutoCloseWriter(Z)V org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:268) org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208) org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714) org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:319) org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

I av a web app with its own context. I 'd like to integrate axis2 wit it.
I wrote a service.xml


see client code


I did not define any .wsdl neither did I add the axis2.xml file as part of the application.This is because the generated wsdl - from the service class - has no effect when I added it and removed it.

This is the exception thrown on the server side

[ October 28, 2008: Message edited by: lekkie Nakel ]
 
lekkie Nakel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my wsdl file


here is my service xml



And here is my service implementation


Is anything wrong with one of them?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!