-
1. Re: WS security : Unprocessed 'mustUnderstand' header elemen
davideling Jul 3, 2007 11:14 AM (in response to abatecruento)Hi Angelo,
I suppose Your service isn't enabled to receive WS-Security SOAP envelopes.
Have you the @EndpointConfig annotation in your code?@WebService(endpointInterface="myPackage.SayHelloCiphered", serviceName="SayHelloCiphered", portName="SayHelloCipheredSOAP", targetNamespace="http://www.tai.it/SayHelloCiphered" ) @EndpointConfig(configName = "Standard WSSecurity Endpoint") public class SayHelloCipheredImpl implements SayHelloCiphered { //... }
-
2. Re: WS security : Unprocessed 'mustUnderstand' header elemen
abatecruento Jul 3, 2007 11:24 AM (in response to abatecruento)No I haven't this annotation.
What it is really strange is that the same WS, deployed in the JbossWS 1.2.1 with Jboss 4.2.0 (obviously with the libraries updated to this versions) runs correctly.
Maybe a problem with the libraries? Perapsh some important library that there isn't? -
3. Re: WS security : Unprocessed 'mustUnderstand' header elemen
davideling Jul 3, 2007 11:29 AM (in response to abatecruento)Can you try to put that annotation now?
-
4. Re: WS security : Unprocessed 'mustUnderstand' header elemen
abatecruento Jul 3, 2007 11:52 AM (in response to abatecruento)I've tried, but Eclipse sign the annotation as an error.
Now, I'm not so skilled in the use of the annotation, but I think I shouldn't define it, should I?
Isn't this annotation already defined? -
5. Re: WS security : Unprocessed 'mustUnderstand' header elemen
davideling Jul 3, 2007 12:02 PM (in response to abatecruento)My web service code have this import
import org.jboss.ws.annotation.EndpointConfig;
... but I used JBossWS 1.2.1GA
Bye -
6. Re: WS security : Unprocessed 'mustUnderstand' header elemen
abatecruento Jul 4, 2007 3:05 AM (in response to abatecruento)I checked and the only annotation provided in the version of Jboss I'm using is @PortComponent.
-
7. Re: WS security : Unprocessed 'mustUnderstand' header elemen
davideling Jul 4, 2007 3:15 AM (in response to abatecruento)Are you developing JAX-WS Web Service or JAX-RPC Web Service?
-
8. Re: WS security : Unprocessed 'mustUnderstand' header elemen
abatecruento Jul 4, 2007 3:24 AM (in response to abatecruento)I'm developing JAX-RPC.
-
9. Re: WS security : Unprocessed 'mustUnderstand' header elemen
davideling Jul 4, 2007 3:45 AM (in response to abatecruento)Now I understand why You don't use annotations.
I'm sorry, but I cannot help you with JAX-RPC Web service
and WS-Security.
I'm quite sure You have to configure the skeleton artifacts creation
at first step but i don't know how.
Bye