Can you attach your soap message ?

On 12/7/06, Vadim I. Gindin <[EMAIL PROTECTED]> wrote:




Hello, [email protected]



I have a problem with using MTOM on xfire server. I have a Documents
service, that had configured with property "mtom-enabled" setted to true.



The client of Documents service is a Win32 application, that had wroted on
C# (.Net Framework 2.0 and Web Services Enhancements 3.0). WSE had turned on
for my client project in client mode (and server mode is "optional").



Here's a code in client, that uses the service.



DMS.DMSDocumentsWse CategoriesService = new DMS.DMSDocumentsWse();

      CategoriesService.RequireMtom = true;

DMS.DMSCategoryInfo[] Categories =
CategoriesService.getCategories(Program.settings.folderPath);



While I'm trying to call getCategories method, I'm getting
InvalidOperationException, that holds html, containing this message:



Couldn't find MIME boundary:
----MIMEBoundary633011127118125000



On the server I have got this Exception:



java.io.IOException: Couldn't find MIME boundary:
----MIMEBoundary633011127118125000

      at
org.codehaus.xfire.attachments.StreamedAttachments.<init>(StreamedAttachments.java:73)

      at
org.codehaus.xfire.attachments.StreamedAttachments.<init>(StreamedAttachments.java:43)

      at
org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:266)

      at
org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:130)

      at
org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java:116)

      at
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

      at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      at
ru.naumen.fx.servlet.FxServlet$1.execute(FxServlet.java:316)

      at
ru.naumen.fx.services.servletlistener.FxServletListenerServiceUtils.handleFxServletListenerService(FxServletListenerServiceUtils.java:56)

      at
ru.naumen.fx.servlet.FxServlet.service(FxServlet.java:258)

      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:856)

      at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)

      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)



I have tried to turn off mtom mode on the server and client, but inspite of
this there was the same Exception.



I used the page
http://www.codeproject.com/soap/MTOMWebServices.asp



Can anoybody help me in this problem? Any help will be appreciated.



Sincerely yours, Vadim Gindin

[EMAIL PROTECTED]




--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to