axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mancinelli Elodie <elodie.mancine...@bull.net>
Subject [Axis2] Messages differents on client and on server
Date Fri, 21 Jul 2006 14:04:58 GMT
Hi all,

I use apache-tomcat-5.5.15, axis2 1.0 and sandesha2 1.0.

I try to implement WSRM with MTOM and my problem is a difference between 
message send and message received.
The message which is create on the client is:
Document sent :
<m:submitOneWay xmlns:m="http://dgme.finances.gouv.fr/presto">
    <m0:testDocIn xmlns:m0="http://dgme.finances.gouv.fr/prototype">
        <m0:intStrElement>
            <m0:intElement>0</m0:intElement>
            <m0:strElement>String</m0:strElement>
        </m0:intStrElement>
        
<m0:binaryElement>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</m0:binaryElement>
        <m0:anyElement>
            <test123>1 2 3 4 5 6</test123>
        </m0:anyElement>
    </m0:testDocIn>
    <m:attachment>
 ZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkDQpmc2R2Z2ZzZHZnZmRmc2R2Z2ZzZHZnZmRmc2R2Z2ZzZHZnZmQ=
    </m:attachment>
    <m:mtomrm>true</m:mtomrm>
    <m:sequence>ping3</m:sequence>
</m:submitOneWay>

In TCPMon:
...
...
<soapenv:Body>
               <m:submitOneWay 
xmlns:m="http://dgme.finances.gouv.fr/presto">
                  <m0:testDocIn 
xmlns:m0="http://dgme.finances.gouv.fr/prototype">               
                     <m0:intStrElement>                   
                        <m0:intElement>0</m0:intElement>                   
                        <m0:strElement>String</m0:strElement>            
   
                     </m0:intStrElement>               
                     
<m0:binaryElement>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</m0:binaryElement>
   
           
                     <m0:anyElement>                   
                        <test123>1 2 3 4 5 6</test123>               
                     </m0:anyElement>
                  </m0:testDocIn>
                  <m:attachment>
                     <xop:Include 
href="cid:1.urn:uuid:DD530DB2A0C18615C211534898500779@apache.org" 
xmlns:xop="http://www.w3.org/2004/08/xop/include" />
                  </m:attachment>
                  <m:mtomrm>true</m:mtomrm>
                  <m:sequence>ping3</m:sequence>
               </m:submitOneWay>
            </soapenv:Body>
         
</soapenv:Envelope>--MIMEBoundaryurn_uuid_DD530DB2A0C18615C2115348985007710content-id:
         
<1.urn:uuid:DD530DB2A0C18615C211534898500779@apache.org>content-type:text/plaincontent-transfer-encoding:binaryfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfd--MIMEBoundaryurn_uuid_DD530DB2A0C18615C2115348985007710--

And on the server side, the document past in service method parameter is:
<m:submitOneWay xmlns:m="http://dgme.finances.gouv.fr/presto" 
xmlns:wsa="http://www.w3.org/2005/08/addressing" 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
    <m0:testDocIn xmlns:m0="http://dgme.finances.gouv.fr/prototype">
       <m0:intStrElement>
           <m0:intElement>0</m0:intElement>
           <m0:strElement>String</m0:strElement>
       </m0:intStrElement>
           
<m0:binaryElement>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</m0:binaryElement>
       <m0:anyElement>
           <test123>1 2 3 4 5 6</test123>
       </m0:anyElement>
    </m0:testDocIn>
    <m:attachment>
ZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkDQpmc2R2Z2ZzZHZnZmRmc2R2Z2ZzZHZnZmRmc2R2Z2ZzZHZnZmQ=
    </m:attachment>
</m:submitOneWay>

Can someone explain why there are differences between messages?

Regards,

Elodie

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message