Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6816885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:58:47+00:00 2026-05-26T20:58:47+00:00

I need to send MTOM request (having file to checked in to Documentum location),

  • 0

I need to send MTOM request (having file to checked in to Documentum location), to a AXIS2 Web Service.

The service has identified, two types of transfer mode, 64bit encoding and MTOM. Even when I use the MTOM mode and do the changes to Web.Config (WSE 3.0) to send only MTOM request, base 64 is passed over the wire.

How do I ensure that the request is MTOM? I need to share the file as a byte array. The method to check in document expects it to be a byte array.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:58:48+00:00Added an answer on May 26, 2026 at 8:58 pm
    1. Installed WSE3.0 on my laptop.
    2. Changed the Web.Config as suggested here – http://msdn.microsoft.com/en-us/library/aa528822.aspx
    3. Changed the inheritance of the class – public partial class DasStoreContentService_V1X0 from System.Web.Services.Protocols.SoapHttpClientProtocol to Microsoft.Web.Services3.WebServicesClientProtocol.
    4. Overridden the method as follows

    protected override System.Net.WebResponse GetWebResponse(System.Net.WebRequest request)
    {
    System.Net.WebResponse output = base.GetWebResponse(request);
    this.RequireMtom = false;
    return output;
    }
    5. Before sending the MTOM request, change the type of request by :
    dscsService.RequireMtom = true;

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to send a GET request. One of the parameters has URL query
I need to send an apex web service some data. Then name of the
I need to send a CSV file in HTTP response. How can I set
How to use third party api in blackberry jde ?....(I need send file to
I need to send email notifications in my Java web application. I'm using Apache
The situation is I have multiple webservices for which I need send request and
I need to send a string to server. That string is having some special
I need to send a java object and a file via HTTP in a
I need to send an image as in form of PDF file in my
I need to send an HTTPS request without using LWP::UserAgent or HTTP::request? What is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.