[JBossWS] - Re: WSDL is correctly modified to use the configured https p
by rnagy
Thanks for the suggestion. We had the opportunity to test out the suggestion, but it is still setting the SOAP address location to be HTTP instead of HTTPS.
We made the web.xml changes as described in the Wiki link -- this had no discernible impact on the generated SOAP address location in the WSDL. It still uses a regular HTTP address when generating the service URL.
We did confirm that the new web.xml was being deployed, as this file was made available through the temporary expansion of the EAR file created when deploying the web service. Despite the change, we are still seeing an HTTP address being generated.
Are there any other SSL configuration resources available that discuss this issue? We've scoured most of the web resources and haven't found anything, but are curious to see if there's anything else that may be helpful.
--Rich.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203664#4203664
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203664
17 years, 3 months
[Beginners Corner] - Re: Problem with sending Email from jBoss
by j-n00b
Hi!
In one of my lasts projects I wrote an MDB, which reads text messages from a queue and sends mails to some my mail account. Maybe this helps you a little.
First of all, you have to set up the JBoss mail service in server//deploy/mail-service.xml. You need to specify the connection properties to the mail server which is used.
Secondly you write the code to send a mail, for example:
// who should receive the mail
| Address[] to = InternetAddress.parse("duke@java.sun.com,homer(a)simpson.net", false);
|
| // create a simple text message
| javax.mail.Message message = new MimeMessage(session);
| message.setFrom();
| message.setRecipients(javax.mail.Message.RecipientType.TO, to);
| message.setSubject("Mail subject goes here");
| message.setSentDate(new Date());
| message.setText("java mail rocks!");
|
| // ... and send it
| Transport.send(message);
That's it it :-) If you do not specify the "from" property, the default value defined in mail-service.xml is used.
Hope that helped! Keep asking, if you have any problems.
cheers,
Andre
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203659#4203659
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203659
17 years, 3 months