• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
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?
And inside of my fortune cookie was this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic