Re: Using ws--addressing to field to send a email

2009-09-23 Thread Upul Godage
I guess you have to enable the mail transport.
http://ws.apache.org/axis2/1_4_1/mail-configuration.html

Depending on the version you may need,
http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/axis2-transport-mail/1.0-SNAPSHOT/


2009/9/23 Håkon Sagehaug :
> Hi all
>
> I'm experimenting with ws-addressing and axis2, so far I've used it for my
> async service where the client sets the replayTo header, to a new port on
> the client machine where the server response should be recieved this works
> fine. Now I wanted to test out to send the response to a email, with thw
> replyTo header looks like this
>
>  
>  mailto:my.addr...@mail.com
> 
>
> But my server responds with
>
>
> org.apache.axis2.AxisFault: Can not find the transport sender : mailto
>
> Also tried to add smtp infront of mailto, but now luck. Does anyone have a
> tip one this? Is it me that is not able to specify the mail property
> correct? Looked in the ws-addressign spec and looked at example using this
> as a example
>
>   mailto:fabri...@example.com
>
> cheers, Håkon
>
>
> --
> Håkon Sagehaug, Scientific Programmer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>



-- 
http://upulgodage.com


Using ws--addressing to field to send a email

2009-09-23 Thread Håkon Sagehaug
Hi all

I'm experimenting with ws-addressing and axis2, so far I've used it for my
async service where the client sets the replayTo header, to a new port on
the client machine where the server response should be recieved this works
fine. Now I wanted to test out to send the response to a email, with thw
replyTo header looks like this

 
 mailto:my.addr...@mail.com


But my server responds with


org.apache.axis2.AxisFault: Can not find the transport sender : mailto

Also tried to add smtp infront of mailto, but now luck. Does anyone have a
tip one this? Is it me that is not able to specify the mail property
correct? Looked in the ws-addressign spec and looked at example using this
as a example

  mailto:fabri...@example.com

cheers, Håkon



-- 
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)