javax.xml.ws.soap.SOAPFaultException: ERROR: No security header found in the messageThe problem is that NetBeans is using "old" JAX-WS libraries instead using WSIT. Solution is to remove all the JAX-WS
To those, who need step-by-step instructions:
- In NetBeans IDE, right-click on the client project and select "Properties". "Project Properties" dialog appears.
- From the "Categories" tree at the left side of the dialog, select "Libraries" item.
- Remove all the JAX-WS libraries—do not worry, your project is completely broken anyways. :-)
- On the right side of the dialog, click on "Add JAR/Folder" button. "Add JAR/Folder" dialog appears.
- Browse to
$GLASSFISH_HOME/libfolder (and subfolders) in order to select all the libraries, listed below.
- Click OK.
- Have fun. :-)
- javaee.jar (oh my...)