Re: [Axis2] MTOM question

2006-06-29 Thread Michele Mazzucco
Hi Ajith,

I've got 2 machines, A and B. On A is running my handler (which runs
before the transport phase) while on B is running a service. When the
handler on A invokes the service on B, the replyTo field is set by Axis2
(B side) to
http://null:8080/axis2/services/annonService5978327/annonOutInOp. I hope
you'll agree with me that something does not work as expected.
Furthermore, server A is running on port 18080 while server B is running
on port 28080.

Any idea?

Thanks,
Michele

Ajith Ranabahu wrote:
> Hi Michele,
> This whole scenario is not very clear to me. Ofcourse a handler can
> invoke a web service call but I don't understand the part "It seems to
> me that the problem is the handler endpoint generated by Axis2"
> 
> Ajith
> 
> On 6/27/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> is it possible to use MTOM from a handler? In other words, can a handler
>> send a request (say, for a file) to a web service? It seems to me that
>> the problem is the handler endpoint generated by Axis2, needed to
>> receive the response, which is wrong.
>>
>>
>>
>> Thanks in advance,
>> Michele
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] MTOM question

2006-06-27 Thread Michele Mazzucco
Saminda,

I don't know how Synapse works, however I add some informations at any
stage.

Michele

Saminda Abeyruwan wrote:
> Aha, it has the typical semantics of  Synapse pass through scenario.
> 
> Saminda
> 
> Michele Mazzucco wrote:
>>> Hi Ajith ,
>>>
>>> I'll try to clarify my scenario:
>>> service A.a() sends a request to B.foo(). The message is intercepted by
>>> a handler (on the B side) before it hits the target. If needed the
>>> handler sends a message to a service C.c() to get a file. After getting
>>> a file it allow the message sent by A to pass through. After executing
>>> the request, the response is intercepted again and redirected to service
>>> A.b().
>>>
>>> Ajith Ranabahu wrote:
>>>
 Hi Michele,
 This whole scenario is not very clear to me. Of course a handler can
 invoke a web service call but I don't understand the part "It seems to
 me that the problem is the handler endpoint generated by Axis2"

>>> What I mean is that to receive the file from C.c(), the handler needs an
>>> address, doesn't it?, but the one provided by Axis2 (I guess replyTo())
>>> is wrong. How can the handler receive the response from service C.c()
>>>
>>> Hope this clarifies your doubts,
>>> Michele
>>>
>>>
 Ajith

 On 6/27/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> is it possible to use MTOM from a handler? In other words, can a handler
> send a request (say, for a file) to a web service? It seems to me that
> the problem is the handler endpoint generated by Axis2, needed to
> receive the response, which is wrong.
>
>
>
> Thanks in advance,
> Michele
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] MTOM question

2006-06-27 Thread Saminda Abeyruwan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Aha, it has the typical semantics of  Synapse pass through scenario.

Saminda

Michele Mazzucco wrote:
> Hi Ajith ,
> 
> I'll try to clarify my scenario:
> service A.a() sends a request to B.foo(). The message is intercepted by
> a handler (on the B side) before it hits the target. If needed the
> handler sends a message to a service C.c() to get a file. After getting
> a file it allow the message sent by A to pass through. After executing
> the request, the response is intercepted again and redirected to service
> A.b().
> 
> Ajith Ranabahu wrote:
> 
>>Hi Michele,
>>This whole scenario is not very clear to me. Of course a handler can
>>invoke a web service call but I don't understand the part "It seems to
>>me that the problem is the handler endpoint generated by Axis2"
>>
> 
> What I mean is that to receive the file from C.c(), the handler needs an
> address, doesn't it?, but the one provided by Axis2 (I guess replyTo())
> is wrong. How can the handler receive the response from service C.c()
> 
> Hope this clarifies your doubts,
> Michele
> 
> 
>>Ajith
>>
>>On 6/27/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
>>
>>>Hi all,
>>>
>>>is it possible to use MTOM from a handler? In other words, can a handler
>>>send a request (say, for a file) to a web service? It seems to me that
>>>the problem is the handler endpoint generated by Axis2, needed to
>>>receive the response, which is wrong.
>>>
>>>
>>>
>>>Thanks in advance,
>>>Michele
>>>
>>>-
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEoRFeYmklbLuW6wYRAnA5AJ0QsEyXf0urW+ngy3wNx6L64dDq9ACgjK2u
0l0zCTT8pDhGv7KAf7L/eSY=
=85qQ
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] MTOM question

2006-06-27 Thread Michele Mazzucco
Hi Ajith ,

I'll try to clarify my scenario:
service A.a() sends a request to B.foo(). The message is intercepted by
a handler (on the B side) before it hits the target. If needed the
handler sends a message to a service C.c() to get a file. After getting
a file it allow the message sent by A to pass through. After executing
the request, the response is intercepted again and redirected to service
A.b().

Ajith Ranabahu wrote:
> Hi Michele,
> This whole scenario is not very clear to me. Of course a handler can
> invoke a web service call but I don't understand the part "It seems to
> me that the problem is the handler endpoint generated by Axis2"
> 
What I mean is that to receive the file from C.c(), the handler needs an
address, doesn't it?, but the one provided by Axis2 (I guess replyTo())
is wrong. How can the handler receive the response from service C.c()

Hope this clarifies your doubts,
Michele

> Ajith
> 
> On 6/27/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> is it possible to use MTOM from a handler? In other words, can a handler
>> send a request (say, for a file) to a web service? It seems to me that
>> the problem is the handler endpoint generated by Axis2, needed to
>> receive the response, which is wrong.
>>
>>
>>
>> Thanks in advance,
>> Michele
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] MTOM question

2006-06-27 Thread Ajith Ranabahu

Hi Michele,
This whole scenario is not very clear to me. Ofcourse a handler can
invoke a web service call but I don't understand the part "It seems to
me that the problem is the handler endpoint generated by Axis2"

Ajith

On 6/27/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:

Hi all,

is it possible to use MTOM from a handler? In other words, can a handler
send a request (say, for a file) to a web service? It seems to me that
the problem is the handler endpoint generated by Axis2, needed to
receive the response, which is wrong.



Thanks in advance,
Michele

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Ajith Ranabahu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]