ping..... anyone?
On 4 December 2012 19:29, Eriza Fazli <erizzaa...@gmail.com> 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) <yraja...@cisco.com> 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:erizzaa...@gmail.com] >> *Sent:* Tuesday, December 04, 2012 9:35 AM >> *To:* java-user@axis.apache.org >> *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!-