Hello,

I am developing a web service with WS-Security and I am using a UsernameToken + 
Password, Signatur and Encryption.
I am using the wssec_sign_enc-example for my application and I am able to start 
the Server.java class and the Client.java class.
After I am able to see the header from the client (via logging on the client 
side), with all the encryption-headers and signature-headers,
An error appears:
Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading 
XMLStreamReader: Unexpected EOF in prolog

I don't know why I am getting the error, can somebody give me a clue?
Is it possible that the header is to big?? Because there is a lot of stuff 
written into it...

Thanks in advance

Stephanie

Reply via email to