Hi Wadi,
What is the rampart and axis2 versions you are using ?
It seems message is not passed to axis2 at server side at all.
Hope you have deployed axis2 as a webapp in tomcat and installed
rampart libraries and rampart modules to axis2 webapp. You can verify
this by going to "tomcat-installation-dir/webapps/axis2/WEB-INF/lib"
directory and check whether rampart jars are in there (rampart-*.jar).
If rampart jars are not properly installed please install them.

If above suggestion doesnt work please attach the complete tomcat
server log. We may able to gather more info about the error from the
complete log.

Thanks
AmilaJ

On Wed, Feb 23, 2011 at 12:09 AM, wadi wadi <wadie...@gmail.com> wrote:
> Hi,
> I am trying to run the example of signing and encryption described
> here https://www.ibm.com/developerworks/java/library/j-jws5/.
> I am getting the following error when running the client, any help please!
> Many thanks,
>
> Client log:
> =======
> run:
> java Connecting to http://localhost:8080/axis2/services/library-signencr
> java 16:32:59,188 ERROR AxisEngine:211 - SOAP header missing
> java org.apache.axis2.AxisFault: SOAP header missing
> java at
> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
> java at
> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
>
> Tomcat log
> ========
> ERROR org/opensaml/xml/validation/ValidatingXMLObject
> java.lang.NoClassDefFoundError:
> org/opensaml/xml/validation/ValidatingXMLObject

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to