1 Reply Latest reply on Apr 14, 2010 5:19 PM by Henrique Oliveira

    Error signing message: element  has a relative namespace

    Henrique Oliveira Newbie

      Hi,

       

           I have the class extension

       

      @XmlElement

      ClassA {

       

      }

       

      @XmlElement

      @XmlRootElement

      ClassB extends ClassA {

       

      }

       

      ClassContainer {

           @XmlElementRef   

           private ClassA classA;

       

      }

       

       

      The services are in the namespace "http://ws.services" and the classes are int "model.domain"

       

      List<ClassA> getAllClasses();

       

      List<ClassContainer> getAllClassContainer();

       

       

           The services was working before I add the ws-security.

           Now when a calling the services the following message occurs:

       

      WSSecurityException: Error signing message: element classA has a relative namespace: ns4="model.domain"

       

       

      I not found nothing in google to solve this problem.

       

      Thanks