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 9271781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:42:32+00:00 2026-06-18T15:42:32+00:00

http://docs.oracle.com/javaee/5/api/javax/xml/ws/handler/soap/SOAPHandler.html How can I associate an inbound handleMessage(SOAPMessageContext) call with and outbound handleMessage(SOAPMessageContext) .

  • 0

http://docs.oracle.com/javaee/5/api/javax/xml/ws/handler/soap/SOAPHandler.html

How can I associate an inbound handleMessage(SOAPMessageContext) call with and outbound handleMessage(SOAPMessageContext).

I’ve tried a few things, Weblogic doesn’t reuse the context object so reference checking doesn’t work. I can’t find any property that indicates the request distinctly and therefor I can’t seem to create a link between the request and response.

Alternatively is there a better way to get the request and response on web-logic problematically and associated together such that they can be dumped to the database for future debugging purposes.

  • 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-06-18T15:42:34+00:00Added an answer on June 18, 2026 at 3:42 pm

    Okay, so this may not work on all implementations of JAX-WS but for weblogic this certainly does.

    What I’ve done

    public final boolean handleMessage(SOAPMessageContext context) {
        // Using `Object` type as we don't have any need to import servlet libraries into a JAX-WS library
        Object o = context.get(MessageContext.SERVLET_REQUEST);
        // o will hold a reference to the request 
        // if inbound.o == outbound.o the request objects are identical and therefor we can associate them.
        return true;
    }
    

    I don’t see why this wouldn’t work in other containers but please double check before using this method.

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

Sidebar

Related Questions

http://docs.oracle.com/javaee/6/api/javax/xml/rpc/soap/SOAPFaultException.html I am trying to import javax.xml.rpc.soap.SOAPFaultException More details in the Oracle's documentaiton. As
http://docs.oracle.com/javaee/1.4/api/javax/jms/Session.html#createTopic(java.lang.String ) This API says that session.createTopic(topicname) is not for creating the physical topic.
http://download.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlSeeAlso.html According to this, I should be able to make my root element have
Possible Duplicate: String and Final From http://docs.oracle.com/javase/6/docs/api/java/lang/String.html I can read that: Strings are constant;
I'm looking at the documentation here: http://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.html I'm not seeing an option to flag
I am trying to run a small example which i found from here http://docs.oracle.com/javase/7/docs/api/javax/swing/Timer.html
I'm looking at http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html I am trying double b = Math.sqrt(absoluteNumber); int c =
Here is the java package-tree: http://docs.oracle.com/javase/7/docs/api/java/lang/package-tree.html I read a tutorial on Java which stated
http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Timer.html The reason for this question is that I have a timer running at
The link http://download.oracle.com/javase/6/docs/api/java/util/concurrent/package-summary.html describes several interesting data structures like concurrent skip-list. Is there any

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.