« Return to Thread: SSL Inside a BPEL?
Jason Baragry-2 wrote:First, I think you will get more answers on the users@openesb mailing list.
OpenESB is a JBI compliant infrastructure. That means there is a
difference between Service Engines that provide functionality (like the
BPEL engine) and Binding Components that provide connectivity (like the
SOAP/HTTP BC).
In this infrastructure, the BPEL engine does not talk directly to the
EJB, the communication goes via a SOAP/HTTP Binding Component. So if you
want to use SSL transport between BPEL and an EJB then you need to
configure SSL in the SOAP/HTTP BC that BPEL uses to communicate over the
wire to the EJB.
See:
http://wiki.open-esb.java.net/Wiki.jsp?page=CommonUserScenariosForHTTPBindingComponent
However, there is another issue you need to consider. If the BPEL
component and the EJB are included in the same service assembly
(composite application) then the infrastructure routes the communication
within the JVM - i.e., it doesn't go over the wire. In this case its not
possible to use SSL because there is no over-the-wire transport involved.
This is partially described here:
http://blogs.sun.com/jason/entry/removing_the_default_soap_binding
hth
Jason
jsexton0 wrote:
> Today I've been experimenting with SSL/HTTPS in Glassfish. I'm working with
> a BPEL that includes an invocation of an EJB. The BPEL and the EJB are
> deployed in the same SA. I changed the EJB to use HTTPS, which seemed to
> work. The invocation of the BPEL is through a normal HTTP SOAP request.
> When the BPEL comes to the invoke element to the now secure EJB WSDL, I get
> an exception:
>
> javax.xml.ws.soap.SOAPFaultException: Security Requirements not met - No
> Security header in message
>
> Is this normal? The BPEL can not invoke an EJB through HTTPS even
> internally, and even though the EJB is in the same SA?
>
> Thanks
>
--
<http://www.java.com> * Jason Baragry *
Senior Solution Architect
Software Practice
*Sun Microsystems, Inc.*
Central & Northern Europe
Phone x43697/+47-23-369 697
Mobile +47 4899 4603
Email Jason.Baragry@Sun.COM
<http://www.java.com>
« Return to Thread: SSL Inside a BPEL?
| Free embeddable forum powered by Nabble | Forum Help |