I'm using Apache Tomcat 5.5. I wrote a simple java client to test a work
with xfire service using mtom. It work's fine. Unfortunately I can't resolve
my problem by writing client application on java. I intercepted soap
message, that this test-client sent to xfire service. Here it is:


POST /fx/xfire/DMSDocuments HTTP/1.1
SOAPAction: ""
Content-Type: multipart/related; type="application/xop+xml";
start="<[EMAIL PROTECTED]>"; start-info="text/xml"; 
        boundary="----=_Part_0_32803057.1165581414434"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; XFire Client
+http://xfire.codehaus.org)
Host: 195.64.216.157:8080
Expect: 100-continue
Transfer-Encoding: chunked

HTTP/1.1 100 Continue

23f2

------=_Part_0_32803057.1165581414434
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: 8bit
Content-ID: <[EMAIL PROTECTED]>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soap:Body><addFileToD
ocument
xmlns="http://DMSDocuments.dms.naumen.ru";><documentUUID>corebood0dh780000gum
u6kjdu2i84ec</documentUUID><filename>exported.xml</filename><type>don't
know</type><data xmlns:ns1="http://www.w3.org/2004/11/xmlmime";
ns1:mimeType="application/octet-stream"><Include
xmlns="http://www.w3.org/2004/08/xop/include";
href="cid:11655814144242-1492422856@http://www.w3.org/2001/XMLSchema";
/></data></addFileToDocument></soap:Body></soap:Envelope>
------=_Part_0_32803057.1165581414434
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-ID: <[EMAIL PROTECTED]://www.w3.org/2001/XMLSchema>

<?xml version="1.0" encoding="UTF-8"?>
<objects>
        <categories>
                <category>
                        <attr value="│Ъ│-TВ│││││-TА│┐TП 1" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1145005924907"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЮTВTЗ││TВ │- │││-│-│-│-│+│┐TА│-│-││││"
name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1147854146462"
name="identifier"/>
                        <categoryattributes>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="catalogitem" name="type"/>
                        <attr value="│Ъ│-│-│-│-│+│┐TАTГ│││-TЛ││"
name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="kamandiruemiy" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr
value="│Я│-│┐TМ│┐│-│-│-TВ│││┐TМ:null"/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="│Ф│-TВ│- │-│-TЗ│-│┐│-
│││-│-│-│-│+│┐TА│-│-│││┐" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="date_begin" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value="17.05.2006"/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="│Ф│-TВ│- │-│││-│-TЗ│-│-│┐TП
│││-│-│-│-│+│┐TА│-│-│││┐" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="date_end" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value="22.05.2006"/>
                                        </DefaultValue>
                                </categoryattribute>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЮTВTЗ││TВ │- TБ│-│-TЛTВ│┐│┐"
name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148282947331"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЮTВTЗ││TВ │- │┐TА│-│+│││┐│-│-│-│-││
TА│-│-│-TВ││" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148283200488"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЮTВTЗ││TВ TБ│-│-TБTВ│-│││-│-│┐││TГ"
name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148283214704"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│Ф│-│┐│││-│-TБTВ│-TЛ││
│┐│-TБTВTАTГ││TЖ│┐│┐" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148283253761"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│Ю│-│┐│-TА │┐TА││TБTБTЛ" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148283267790"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЯTА│┐│││-│┐ │-│- │-TВ│┐TГTБ││││"
name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148299901435"
name="identifier"/>
                        <categoryattributes>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="date_begin" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Ф│-TВ│- │-│-TЗ│-│┐│- │-TВ│┐TГTБ│││-"
name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value="25.05.2006"/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="date_end" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Ф│-TВ│- │-│││-│-TЗ│-│-│┐TП
│-TВ│┐TГTБ│││-" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value="25.05.2006"/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="employee" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│б│-TВTАTГ│+│-│┐││" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЯTА│┐│││-│┐ │- │┐TА│┐│││-││ │-│-
TА│-│-│-TВTГ" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148299913461"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЯTА│┐│││-│┐ │-│- TГ│-│-│┐TМ│-│││-│┐│┐"
name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148299924447"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЯTА│┐│││-│┐ │- │┐│-│-TЙTА│││-│┐│┐
TБ│-TВTАTГ│+│-│┐│││-" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148299940582"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЯTА│┐│││-│┐ │- │-│┐TЛTБ│││-│-│┐│┐"
name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148299948051"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│Р│-││││TВ│- │-│- TБ│-TВTАTГ│+│-│┐│││-
│-│- │┐TБ│┐TЛTВ│-TВ│││┐TМ│-│-│- TБTА│-││││" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300066443"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│ЯTА│││┐│││-TВ│-TЖ│┐TП" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300082342"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│Р│-│-│┐│┐│┐ TАTЛ│-│││-" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300089319"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│││-│-│-││TАTЗ││TБ│││-││
│┐TА│││+│┐│-│││││-│┐││ │┐│- │-TА│││-│+││" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300109987"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│││-│-│-││TАTЗ││TБ│││-││
│┐TА│││+│┐│-│││││-│┐││ built-to-suit" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300132807"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│Ы│-TЖ│┐│┐" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300146715"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│в││TЕ│-│┐TЗ││TБ│││-││ │┐│-│+│-│-│┐││"
name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300156973"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│в│││-│+││TА│-│-TП
│+│-││TГ│-│││-TВ│-TЖ│┐TП" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300170348"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│С│┐│┐│-││TБ │┐│┐│-│-" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300185101"
name="identifier"/>
                        <categoryattributes>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="obj_name" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Э│-│┐│-│││-│-│-│-│-│┐││
│-│-TК││││TВ│-" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="customer_bp" name="identifier"/>
                        <attr val
2000
ue="0" name="isReadOnly"/>
                        <attr value="│Ч│-│││-│┐TЗ│┐││
│-│┐│┐│-││TБ│┐│┐│-│-│-" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="TА│-TБTЗ││TВ
TА│││-TВ│-│-│││┐TМ│-│-TБTВ│┐" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300192422"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│-TО│+││││TВ" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148300200614"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│Ф│-│││-│-│-TА" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148461103435"
name="identifier"/>
                        <categoryattributes>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="kontr_agent_dogovor"
name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Ъ│-│-TВTА│-│││││-TВ │┐│-
│+│-│││-│-│-TАTГ" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="1" name="isMandatory"/>
                        <attr value="money" name="type"/>
                        <attr value="dogovor_price" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│ж│││-│- │+│-│││-│-│-TА│-"
name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="currency_of_contract"
name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│бTА│-││ │+││││TБTВ│-│┐TП
│+│-│││-│-│-TА│-" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value="22.11.2006"/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="developmen" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Ю│-TК││││TВ" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="kompany_name" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Э│-│┐│-│││-│-│-│-│-│┐││
│Ъ│-│-│┐│-│-│┐│┐" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="vid_dogovora" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Т│┐│+ │+│-│││-│-│-TА│-" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│Ф│-│-││TА│││-│-│-TБTВTМ"
name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1148461112387"
name="identifier"/>
                        <categoryattributes>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="authorized_person" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│г│┐│-│┐│-│-│-│-TЗ│││-│-│-││ │┐│┐TЖ│-"
name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="date_of_letter" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Ф│-TВ│- │-TЛ│+│-TЗ│┐
│+│-│-││TА│││-│-│-TБTВ│┐" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value="24.05.2006"/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="term_of_validity" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│бTА│-││ │+││││TБTВ│-│┐TП
│+│-│-││TА│││-│-│-TБTВ│┐" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value="24.05.2006"/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="organization" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Э│-│┐│-│││-│-│-│-│-│┐││
│-TА│││-│-│┐│┐│-TЖ│┐│┐ │- │││-TВ│-TАTГTО │┐TА│││+│-TБTВ│-│-│┐TП││TВTБTП
│+│-│-││TА│││-│-│-" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="│Ф│-││TГ│-│││-TВ" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1158736631874"
name="identifier"/>
                        <categoryattributes>
                                <categoryattribute>
                        <attr value="1" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="organization" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│ЮTА│││-│-│┐│┐│-TЖ│┐TП" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="0" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="incomingNumber" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│ТTЕ│-│+TПTЙ│┐││ │-│-│-││TА"
name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="1" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="theirDate" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│ШTЕ │+│-TВ│-" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="1" name="isMandatory"/>
                        <attr value="string" name="type"/>
                        <attr value="signer" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Я│-│+│┐│┐TБ│-│-TВ" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="1" name="isMandatory"/>
                        <attr value="text" name="type"/>
                        <attr value="movement" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Ф│-│┐│││││-│┐││ │+│-││TГ│-│││-TВ│-"
name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="1" name="isMandatory"/>
                        <attr value="date" name="type"/>
                        <attr value="srok_isp" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│бTА│-││ │┐TБ│┐│-│┐│-│││-│┐TП"
name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        </DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="1" name="isMandatory"/>
                        <attr value="text" name="type"/>
                        <attr value="comment" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│а│││┐│-│┐TОTЖ│┐TП" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value=""/>
                                        
2e5
</DefaultValue>
                                </categoryattribute>
                                <categoryattribute>
                        <attr value="1" name="isMandatory"/>
                        <attr value="int" name="type"/>
                        <attr value="pages" name="identifier"/>
                        <attr value="0" name="isReadOnly"/>
                        <attr value="│Ы│┐TБTВ│-││" name="title"/>
                        <attr value="0" name="isMultiple"/>
                                        <DefaultValue isMultiple="0">
                                                <attr value="1"/>
                                        </DefaultValue>
                                </categoryattribute>
                        </categoryattributes>
                </category>
                <category>
                        <attr value="Testovii dogovor" name="title"/>
                        <attr value="" name="lifecycle"/>
                        <attr value="category_1164100785221"
name="identifier"/>
                        <categoryattributes>
                        </categoryattributes>
                </category>
        </categories>
</objects>

------=_Part_0_32803057.1165581414434--

0

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: multipart/related; type="application/xop+xml";
start="<[EMAIL PROTECTED]>"; start-info="text/xml";
boundary="----=_Part_2_32582392.1165581281296"
Transfer-Encoding: chunked
Date: Fri, 08 Dec 2006 12:34:41 GMT

216

------=_Part_2_32582392.1165581281296
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: 8bit
Content-ID: <[EMAIL PROTECTED]>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soap:Body><addFileToD
ocumentResponse
xmlns="http://DMSDocuments.dms.naumen.ru";><out>corebood0dh780000guogestik95k
qn0</out></addFileToDocumentResponse></soap:Body></soap:Envelope>
2b

------=_Part_2_32582392.1165581281296--

0

So we having posted different kind of messages and founded out that this
error message appears when http message has no chunks. Java client holds
this:
        soapClient.setProperty(HttpTransport.CHUNKING_ENABLED, "true");
and therefore all works fine, but I don't know how to set up chunking in
.Net client. 

Sincerely yours, Vadim Gindin
[EMAIL PROTECTED]

-----Original Message-----
From: Tomek Sztelak [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 08, 2006 4:59 PM
To: [email protected]
Subject: Re: [xfire-dev] Couldn't find MIME boundary
----MIMEBoundary633011127118125000

No, 1.4 should be fine. What application server are you using ? Btw,
did you try to connect to service with other client then .net ? Maybe
try to create java client ( if you have java interfaces from server
side, then its 10 min of work ) and check if comunication works.

On 12/8/06, Vadim I. Gindin <[EMAIL PROTECTED]> wrote:
> Thank's for answer, Tomek. The version of mail.jar is 1.4. Is it the
> version, that causes these troubles?
>
> Sincerely, Vadim Gindin
> [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Tomek Sztelak [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 08, 2006 3:48 PM
> To: [email protected]
> Subject: Re: [xfire-dev] Couldn't find MIME boundary
> ----MIMEBoundary633011127118125000
>
> Sorry for delay but was a little busy. Can you also check what
> mail.jar version are you using ? As i remember older version causes
> some trouble.
>
> On 12/8/06, Vadim I. Gindin <[EMAIL PROTECTED]> wrote:
> > Hello, Tomek.
> >
> > Sorry to trouble you. Are there any news about my letter?
> >
> > Sincerely, Vadim Gindin
> > [EMAIL PROTECTED]
> > -----Original Message-----
> > From: Tomek Sztelak [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, December 07, 2006 6:42 PM
> > To: [email protected]
> > Subject: Re: [xfire-dev] Couldn't find MIME boundary
> > ----MIMEBoundary633011127118125000
> >
> > 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>(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]
> > >
> > >
> >
> >
> > --
> > -----
> > 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
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
>
> --
> -----
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


-- 
-----
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


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

    http://xircles.codehaus.org/manage_email

Reply via email to