You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Liyu <ly...@rsa.com> on 2007/04/11 03:35:46 UTC
OMStAXWrapper.getProperty() throws Exception
I traced into the auto-generated skeleton (see the stack trace down below)
and found the test of
isReaderMTOMAware(reader) will always be false due to the inplementation
public Object getProperty(String s) throws IllegalArgumentException {
throw new IllegalArgumentException();
}
My questions are:
1. Does this mean the MTOM is actually NOT working?
2. How do I wire in my own handler?
Stacktrace
Thread [http-8080-Processor25] (Suspended (breakpoint at line 336 in
Base64Binary$Factory))
Base64Binary$Factory.parse(XMLStreamReader) line: 336
AttachmentType$Factory.parse(XMLStreamReader) line: 403
AttachmentRequest$Factory.parse(XMLStreamReader) line: 229
MTOMSampleMessageReceiverInOut.fromOM(OMElement, Class, Map) line: 114
MTOMSampleMessageReceiverInOut.invokeBusinessLogic(MessageContext,
MessageContext) line: 46
MTOMSampleMessageReceiverInOut(AbstractInOutSyncMessageReceiver).receive(MessageContext)
line: 39
AxisEngine.receive(MessageContext) line: 497
HTTPTransportUtils.processHTTPPostRequest(MessageContext, InputStream,
OutputStream, String, String, String) line: 328
AxisServlet.doPost(HttpServletRequest, HttpServletResponse) line: 254
AxisServlet(HttpServlet).service(HttpServletRequest, HttpServletResponse)
line: 709
AxisServlet(HttpServlet).service(ServletRequest, ServletResponse) line: 802
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse)
line: 252
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 173
StandardWrapperValve.invoke(Request, Response) line: 213
StandardContextValve.invoke(Request, Response) line: 178
StandardHostValve.invoke(Request, Response) line: 126
ErrorReportValve.invoke(Request, Response) line: 105
StandardEngineValve.invoke(Request, Response) line: 107
CoyoteAdapter.service(Request, Response) line: 148
Http11Processor.process(InputStream, OutputStream) line: 869
Http11Protocol$JmxHttp11ConnectionHandler(Http11BaseProtocol$Http11ConnectionHandler).processConnection(TcpConnection,
Object[]) line: 664
PoolTcpEndpoint.processSocket(Socket, TcpConnection, Object[]) line: 527
LeaderFollowerWorkerThread.runIt(Object[]) line: 80
ThreadPool$ControlRunnable.run() line: 684
ThreadWithAttributes(Thread).run() line: 595
--
View this message in context: http://www.nabble.com/OMStAXWrapper.getProperty%28%29-throws-Exception-tf3556828.html#a9931744
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org