Re: axis2 email transport

Eriza Fazli <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CADfQMS73gY8Jz+TtYnGQXD+8r_oPz3yC7-NxPdzTRFNomrGi-A@mail.gmail.com>
ping.....

anyone?


On 4 December 2012 19:29, Eriza Fazli <[email protected]> wrote:

> yep... been there, and almost all other howto pages that one can possible
> get by googling "axis2 email transport", e.g.
> http://amilachinthaka.blogspot.de/2008/09/using-ws-commons-mail-transport-with.html
>
>
> So here's what I do:
> - define the wsdl for the web service (e.g.
> http://ddweerasiri.blogspot.de/2011/09/how-to-send-email-notifications-via.html
> )
> - generate client stub using wsdl2java eclipse plugin
> - configure axis2.xml for the client to include mailto transport receiver
> and sender (i.e. SMTP server, username, password, etc.) parameters
> - configure axis2.xml and services.xml for the web service (i.e. POP3
> server, etc)
> - use the stub to set the soap body (based on the schema defined in the
> wsdl), and invoke the web service
>
> that's just how far I can go.. from there, I get an authentication failure
> exception. It seems like the client stub does not take into account
> whatever parameters I set in the axis2.xml file.
>
> The code examples in the two links above don't use automatically generated
> client stubs to call the web service. So I tried both, to no avail. The
> only way I can set the authentication parameters right is by using my own
> javax.mail.transport... but that kinda means I'm gonna need to craft my own
> SOAP envelope .....
>
>
>
>
> On 4 December 2012 18:55, Yashwanth Rajaram -X (yrajaram - ZENSAR
> TECHNOLOGIES INC at Cisco) <[email protected]> wrote:
>
>>  Did you check: http://axis.apache.org/axis2/java/transports/mail.html ?*
>> ***
>>
>> If I remember right there was a sample in the source too…****
>>
>> ** **
>>
>> Sincerely, Yashwanth****
>>
>> Technical Architect, EBIS****
>>
>> ** **
>>
>> *From:* Eriza Fazli [mailto:[email protected]]
>> *Sent:* Tuesday, December 04, 2012 9:35 AM
>> *To:* [email protected]
>> *Subject:* axis2 email transport****
>>
>> ** **
>>
>> Hi,****
>>
>> ** **
>>
>> I'm having some problems configuring axis2 email transport. I posted some
>> details on stackoverflow:
>> http://stackoverflow.com/questions/13703995/axis2-mail-transport-authentication-failed-exception
>>  ****
>>
>> ** **
>>
>> Basically, it seems like I have done everyone's suggested on configuring
>> the axis2.xml, services.xml, use every single possible combinations of
>> codes that invoke the service, but nothing works...... I keep on getting an
>> authentication failed exception....****
>>
>> ** **
>>
>> sorry for cross-posting.. but I'm really desperate here... I had the
>> impression that axis2 is a nice and functional library, but the seemingly
>> dysfunctional email transport really confuses me...****
>>
>> ** **
>>
>> ** **
>>
>> Thanks...
>> ****
>>
>> ** **
>>
>> --
>> Eriza/97.1910****
>>
>> -So long and thanks for all the fish!-****
>>
>> ** **
>>
>
>
>
> --
> Eriza/97.1910
> -So long and thanks for all the fish!-
>
>


-- 
Eriza/97.1910
-So long and thanks for all the fish!-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.