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/lib
folder (and subfolders) in order to select all the libraries, listed below. - Click OK.
- Have fun. :-)
lib/endorsed
subfolder):- activation.jar
- appserv-deployment-client.jar
- appserv-launch.jar
- appserv-admin.jar
- appserv-ext.jar
- appserv-rt.jar
- javaee.jar (oh my...)
- webservices-rt.jar
- webservices-tools.jar
- webservices-api.jar
No comments:
Post a Comment