Simon Jensen

Greenhorn
+ Follow
since Nov 26, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Simon Jensen

I came across the javax.xml.ws.Provider interface, which seems to be what I'm looking for. Any thoughts on this?

Kind regards,
Simon
11 years ago
Hi,

I was wondering whether it's possible to create a JAX-WS web service which doesn't do type mapping? That is, I would like to do the type mapping myself using XPath for instance.
The question is, if the JAX-WS web service can be created in such a way, that it simply provides either a SOAPMessage object, or for instance a bytestream representation of the message, which can then be parsed manually.
I know it's possible to get the SOAPMessage from the MessageContext, but I would still like to avoid the web service to spend any time on doing automatic type mapping.

Kind regards,
Simon
11 years ago
Hi Ivan,

Thanks for your input. Unfortunately Weblogic 9.2 uses JAX-RPC and not JAX-WS, so the BindingProvider tip is not applicable.
Any other ideas? I'm thinking ThreadLocal as an alternative hack to pass properties from the client to the MessageHandler, but it sure would be nice if there was a less hacky way to do this.
11 years ago
Hi everyone,

I'm trying to pass an object to the MessageContext from a Weblogic webservice client (Weblogic 9.2). The problem is that the MessageContext does not yet exist prior to invoking the send method on the client, thus it's not possible to retrieve a MessageContext and pass any objects to it using its setProperty(String, Object) method. I want to pass an object to the MessageContext so I can later on retrieve this object in the client's MessageHandler.

Any thoughts on how to achieve this?

Kind regards,
Simon
11 years ago