Hi,

 

After enabling the WS-Security X509V3 token profile in AXIS-2 1.3
client, I noticed that attachment file is being sent as base64 string as
a parameter inside soap envelope mime part. 

With Security disabled, file is correctly attached as second mime-part
outside main soap envelope. 

 

Any help on this will be greatly appreciated.

 

Regards, Narayan

 

(1) MTOM with WS-Security

dd5

--MIMEBoundaryurn_uuid_9395065C4A7701CDBE1196433529155

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>

            <wsse:Security>....

            </wsse:Security>

         </soapenv:Header>

         <soapenv:Body>

            <ns1:request xmlns:ns1="urn:com.test.request">

               <requestId
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urity-utility-1.0.xsd" wsu:Id="id-3571905">STS2S.zip</requestId>

               <file>QA4AAAAwAAAAAAA...</painSubmission>

            </ns1:InitiatePaymentRequest>

         </soapenv:Body>

      </soapenv:Envelope>

3a

--MIMEBoundaryurn_uuid_9395065C4A7701CDBE1196433529155--

 

(2) MTOM without WS-Security

--MIMEBoundaryurn_uuid_8D93BCF1C2142A74821196338403433

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/";
xmlns:wsa="http://www.w3.org/2005/08/addressing";>

         <soapenv:Header>

 
<wsa:To>http://localhost:8090/axis2/services/PaymentInitiation2</wsa:To>

 
<wsa:MessageID>urn:uuid:8D93BCF1C2142A74821196338403338</wsa:MessageID>

            <wsa:Action>""</wsa:Action>

         </soapenv:Header>

         <soapenv:Body>

            <ns1:request xmlns:ns1="urn:com.test.request">

               <requestId>STS2S.zip</requestId>

               <file>

                  <xop:Include
href="cid:1.urn:uuid:[EMAIL PROTECTED]"
xmlns:xop="http://www.w3.org/2004/08/xop/include"; />

               </file>

            </ns1:InitiatePaymentRequest>

         </soapenv:Body>

 
</soapenv:Envelope>--MIMEBoundaryurn_uuid_8D93BCF1C2142A7482119633840343
3Content-Type: application/octet-streamContent-Transfer-Encoding:
binaryContent-ID: 

 
<1.urn:uuid:[EMAIL PROTECTED]>......--MIMEBound
aryurn_uuid_8D93BCF1C2142A74821196338403433--0


*****************************************************
This email is issued by a VocaLink group company. It is confidential and 
intended for the exclusive use of the addressee only. You should not disclose 
its contents to any other person. If you are not the addressee (or responsible 
for delivery of the message to the addressee), please notify the originator 
immediately by return message and destroy the original message. The contents of 
this email will have no contractual effect unless it is otherwise agreed 
between a specific VocaLink group company and the recipient.
 
The VocaLink group companies include, among others: VocaLink Limited (Company 
No 06119048, VAT No. 907 9619 87) which is registered in England and Wales at 
registered office Drake House, Homestead Road, Rickmansworth, WD3 1FX. United 
Kingdom, Voca Limited (Company no 1023742, VAT No. 907 9619 87) which is 
registered in England and Wales at registered office Drake House, Three Rivers 
Court, Homestead Road, Rickmansworth, Hertfordshire. WD3 1FX. United Kingdom, 
LINK Interchange Network Limited (Company No 3565766, VAT No. 907 9619 87) 
which is registered in England and Wales at registered office Arundel House, 1 
Liverpool Gardens, Worthing, West Sussex, BN11 1SL and VocaLink Holdings 
Limited (Company No 06119036, VAT No. 907 9619 87) which is registered in 
England and Wales at registered office Drake House, Homestead Road, 
Rickmansworth, WD3 1FX. United Kingdom.
 
The views and opinions expressed in this email may not reflect those of any 
member of the VocaLink group. This message and any attachments have been 
scanned for viruses prior to leaving the VocaLink group network; however, 
VocaLink does not guarantee the security of this message and will not be 
responsible for any damages arising as a result of any virus being passed on or 
arising from any alteration of this message by a third party. The VocaLink 
group may monitor emails sent to and from the VocaLink group network.
 
This message has been checked for all email viruses by MessageLabs.
*************************************************************

Reply via email to