When sending information to a ESB Web Service a java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused is returned.
Problem
If you try and access a ESB webservice on a webserver other than localhost and port 8888 the following error message is returned and the ESB flow is not run:
java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
Resolution
The ESB System that the Web Service is running under has not been configured to use the correct host and port.
In ESB Control click on the System that is running the Web Service (ie DefaultSystem).
Change:
Virtual Host = <hostname of the application server>
Port = Port number OC4J is running on