hi * I captured the following messages with tcpmon. my current configuration has a apache proxy that forwards all requests to /axis2 to :8080/axis2 (tomcat) and so on.... I'm running jdk1.5, apache 2 wth mod_proxy, tomcat5
here the request: POST /axis2/services/mtomSample HTTP/1.1 User-Agent: Axis/2.0 SOAPAction: "" Host: 127.0.0.1:8080 Transfer-Encoding: chunked Content-Type: multipart/related; boundary=MIMEBoundaryurn:uuid:A599D27AD45D8EAD6E11436193135604; type="application/xop+xml"; start="<0.urn:uuid:[EMAIL PROTECTED]>"; start-info="text/xml"; charset=UTF-8 b53 --MIMEBoundaryurn:uuid:A599D27AD45D8EAD6E11436193135604 content-type:application/xop+xml; charset=UTF-8; type="text/xml"; content-transfer-encoding:binary content-id:<0.urn:uuid:[EMAIL PROTECTED]> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><my:mtomSample xmlns:my="http://localhost/my"><my:image><xop:Include href="cid:1.urn:uuid:[EMAIL PROTECTED]" xmlns:xop="http://www.w3.org/2004/08/xop/include" /></my:image><my:fileName>whatever.jpg</my:fileName></my:mtomSample></soapenv:Body></soapenv:Envelope> --MIMEBoundaryurn:uuid:A599D27AD45D8EAD6E11436193135604 content-id:<1.urn:uuid:[EMAIL PROTECTED]> content-type:image/jpeg content-transfer-encoding:binary (all that binary crap...) --MIMEBoundaryurn:uuid:A599D27AD45D8EAD6E11436193135604-- 0 and here the response: HTTP/1.1 200 OK Date: Wed, 29 Mar 2006 07:58:53 GMT Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=0AEE678508C90F365D4E0838FD321A93; Path=/axis2 Content-Type: application/soap+xml;charset=UTF-8 Transfer-Encoding: chunked cbf <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:ReplyTo xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">urn:uuid:6B4BFAA852DA9F50F811436191338122</wsa:MessageID><wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Sender</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text xml:lang="en-US">Mime parts not found. Stream ended while searching for the boundary; nested exception is: org.apache.ws.commons.om.OMException: Mime parts not found. Stream ended while searching for the boundary</soapenv:Text></soapenv:Reason><soapenv:Detail><Exception xmlns="">org.apache.axis2.AxisFault: Mime parts not found. Stream ended while searching for the boundary; nested exception is: org.apache.ws.commons.om.OMException: Mime parts not found. Stream ended while searching for the boundary at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:295) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.ws.commons.om.OMException: Mime parts not found. Stream ended while searching for the boundary at org.apache.ws.commons.attachments.MIMEHelper.<init>(MIMEHelper.java:148) at org.apache.axis2.transport.TransportUtils.selectBuilderForMIME(TransportUtils.java:200) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:190) ... 17 more </Exception></soapenv:Detail></soapenv:Fault></soapenv:Body></soapenv:Envelope> 0 Cumprimentos, ___________________________________ Thomas Kroner mailto: [EMAIL PROTECTED] Interbancos Telefone: +(258) 21 313858 Telemóvel: +(258) 82 8806360 Eran, Tuesday, March 28, 2006, 5:38:23 PM, you wrote: I don't think this is a problem with the infrastructure you have, its something to do with the message you receive. Can you catch a message you receive and send it over here. -- Chinthaka Thomas Kroner wrote: > hi chintaka, > > i am running tomcat over apache using jk2, is there any problem with > that, or is there any configuration needed in axis2? > > > Cumprimentos, > ___________________________________ > Thomas Kroner > mailto: [EMAIL PROTECTED] > Interbancos > Telefone: +(258) 21 313858 > Telemóvel: +(258) 82 8806360 > > > Eran, > > Sunday, March 26, 2006, 6:14:45 PM, you wrote: > > From transport information you can deduce the version of the SOAP > envelope that the AxisEngine has received. But when AxisEngine checks > the enclosed envelope, if it has a different version than we deduced > from the transport information, you get this error. > > Example in HTTP case, If the ContentType is text/xml and SOAPAction > header is present, then this is considered as a SOAP 1.1 request. If the > SOAP envelope in this request is SOAP 1.2 you get this error. > > -- Chinthaka > > Thomas Kroner wrote: >> hi, >> >> what doas this error tell me when running the mtomSample: >> >> org.apache.axis2.AxisFault: Transport level information does not match >> with SOAP Message namespace URI; nested exception is.... >> ... >> ... >> ... >> ... >> >> Thanks >> thomas >> >> > > > > >
