posted 13 years ago
Hi All,
I am trying to create a Handler to capture the SOAPMessages and append the WS security information to it
Following is the code Excerpt:
public class securityHandler implements SOAPHandler<SOAPMessageContext>
{
Code goes in here
}
But I am getting a compile time error in this code. The error is as follows:
Error
type parameter javax.xml.rpc.handler.soap.SOAPMessageContext is not within its bound
public class securityHandler implements SOAPHandler<SOAPMessageContext> {
I am unable to comprehend why this error is coming as this is the standard code for writing SOAPHandler and it is given like this only a lot of places on the Net.
Any Help will be appreciated.
Thanks !