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

  • SEARCH
  • Home
  • 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 3340312
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:35:35+00:00 2026-05-18T00:35:35+00:00

An application which consumes my webservice sends an invalid soap-request, my service can not

  • 0

An application which consumes my webservice sends an invalid soap-request, my service can not handle this request.

The applications send an wrong tag (misspelled), but they cannot alter this behaviour.

So my question:

Is there a possibility with a filter or a listner to get the raw http stream, alter something and put it back into the chain.

Thank you, Alex

  • 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-18T00:35:36+00:00Added an answer on May 18, 2026 at 12:35 am

    I assume you want to change incoming body of the HTTP request. There is no easy way to do this. I don’t know of any Servlet API that would allow you to do this “officially”.

    “Unofficially” you can do some reflection magic on org.apache.catalina.connector.Request. If you look at this object, you will see that both methods which return the actual body (getReader() and getInputStream()) are building streams on top of input buffer, instance of org.apache.catalina.connector.InputBuffer. You would have to manipulate that buffer so it returns tainted data.

    Needless to say, this is a very volatile and dangerous hack. There are no guarantees this will work on the next Tomcat version (even minor one) and would be virtually unmaintainable.

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

Sidebar

Related Questions

We have a application which is triggered from browser. This application consumes around 800
We have developed a web application which consumes a web service. The user will
When developing an application which consumes an external webservice I have generated the sources
I have a webservice (.NET) which returns JSON result. The iOS application consumes that
I am implementing the application which consumes webservice (first authentication and then calling different
My application (which is a windows service) needs one command line argument which is
I am consuming a webservice using my java web application.This returns a number of
We have an ASMX web service which we invoke from our ASP.NET application using
I've written an ASP.NET 2.0 web service which is consumed by a web application
We have an application written in C language which interacts with Oracle database. This

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.