s (jars). You might (I'm not sure)
>> be able to apply AOP (AspectWerkz, ...) on them.
>>
>> Cheers.
>>
>> --- El jue, 9/9/10, Benedikt Heintel
>> escribió:
>>
>>> De: Benedikt Heintel
>>> Asunto: Re: Modify Web Service Call
>>>
) on them.
>
> Cheers.
>
> --- El jue, 9/9/10, Benedikt Heintel
> escribió:
>
>> De: Benedikt Heintel
>> Asunto: Re: Modify Web Service Call
>> Para: [email protected]
>> Fecha: jueves, 9 de septiembre, 2010 14:08
>> Hi nch,
>>
>>
I thought you'd said you had the binaries (jars). You might (I'm not sure) be
able to apply AOP (AspectWerkz, ...) on them.
Cheers.
--- El jue, 9/9/10, Benedikt Heintel
escribió:
> De: Benedikt Heintel
> Asunto: Re: Modify Web Service Call
> Para: java-user@axis
Hi nch,
I checked AOP and it looks promising, but I'm not sure how I can use it
with unknown implementations of web services.
If I would use it for WS logging I need to parse the WSDL because I
don't know anything about the service and its methods.
Benedikt
On 09.09.2010 09:19, nch wrote :
>
>
AOP might also help you. Logging is one of the most common use cases.
--- El mié, 8/9/10, Glen Daniels escribió:
> De: Glen Daniels
> Asunto: Re: Modify Web Service Call
> Para: [email protected]
> Fecha: miércoles, 8 de septiembre, 2010 16:41
> Hi Benedikt,
>
&
Hi Glen
> It is certainly very easy (as Deepal has described) to use a Handler to
> execute arbitrary code during the execution of a service request, so you just
> need to figure out how to enable/disable your logging for particular threads
> and you should be good to go.
>
> Are you using a home
Hi Benedikt,
On 9/8/2010 10:20 AM, Benedikt Heintel wrote:
> If all web service instances are started in the same container, I need
> to find out how to separate them for logging.
>
> Since we cannot change the web services (they are jared and will not
> contain source code), we need to find a wa
Hi Glen,
Your information brings me a big step closer to my goal, however makes
it bit more complicate in logging issues. Now I understand the internal
behavior of Axis2. The whole issue was really based on misunderstanding.
If all web service instances are started in the same container, I need
t
Hi Benedikt,
On 9/8/2010 5:57 AM, Benedikt Heintel wrote:
> If there is no id in the header, Axis will proceed its normal procedure
> and in the end call the service with "java -cp
> de.tud.informatik.seceng.calc.Calculator.class add 40 10".
>
> Else if the id parameter is set, it should call the
I'm sorry, I forgot to mention two important things:
1) I'm not able to change the java class (the actual web service),
otherwise it would be easy to get the ID inside and start a class.
2) I need to start a logger that runs in the same JVM instance as the
web service. As far as I know it is only
Now I understand what you want to do. You can achieve this very easily
by doing the following.
- Using your handler extract the value of ID and add as a property (in
MessageContext)
- At the Java class you can get the MessageContext and look for the
property
- If the property is there then y
I actually think it must be more easy than this. Let me give an example.
In my humble opinion Axis2 is working like this:
--SOAP-->|--Check-->--Do something-->--call WS-->|--Java call-->
let's assume the following SOAP message, calling a service that should
add 40 and 10:
http://schemas.xmlsoap.
I'm not sure about the property usage. Did you mean I should let the
handler process (e.g. start a service) the information?
In my special case this is not wanted. I really need to start a so
called java agent for special logging purposes. The Agent and the web
service need to run in the same in
Alright,
What I have so far is a WS client that sends a SOAP message with a
"special" header and a handler (as module) that reads the header and
searches for the argument.
I'm not sure about the property usage. Did you mean I should let the
handler process (e.g. start a service) the information?
On 9/7/2010 9:32 AM, Benedikt Heintel wrote:
Thanks Deepal for the information provided. Adding a handler works, I
can access the data and work on it. Great.
I meant Axis2 modules, right.
However, I think my first question is wrong or wrongly asked. I try to
rewrite it:
Which class does "trans
Thanks Deepal for the information provided. Adding a handler works, I
can access the data and work on it. Great.
I meant Axis2 modules, right.
However, I think my first question is wrong or wrongly asked. I try to
rewrite it:
Which class does "translate" the SOAP call into a java executable
comman
Dear List,
I'm on a project that needs to change a web service call based on the
header of a SOAP message. The goal is to implement a switch in axis,
that enables an additional "-javaagent" call if a special header is set.
I thought about using the module architecture if possible.
I need to un
17 matches
Mail list logo