Hello, <mailto:[email protected]> [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>(StreamedAttachment
s.java:73)
at
org.codehaus.xfire.attachments.StreamedAttachments.<init>(StreamedAttachment
s.java:43)
at
org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServlet
Controller.java:266)
at
org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServ
letController.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.handleFx
ServletListenerService(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(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va: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.processConne
ction(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a: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]