[jboss-user] [JBoss Web Services] - setProperty must be overridden by all subclasses of SOAPMessage ?

Alexander Bätz do-not-reply at jboss.com
Mon Oct 25 12:30:51 EDT 2010


laures [http://community.jboss.org/people/laures] created the discussion

"setProperty must be overridden by all subclasses of SOAPMessage ?"

To view the discussion, visit: http://community.jboss.org/message/568269#568269

--------------------------------------------------------------
Hi, i wrote a Webservice. When i try to test it with SoapUI i get a UnsupportedOperationException.

java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage


@Stateless
@WebService
public class BPStatisticsServiceBean implements BPStatisticsService {
    
    @EJB
    private BPAccountManagement accountManagement;
        
    public String getUserStats() {
        return "<statistics><users>" + users.size() + "</users><gmean>" + "</gmean></statistics>";
    }
}


I'm running my jboss from within eclipse.
Any ideas what goes wrong?

Greetings,
Alexander
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/568269#568269]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101025/05fc43a0/attachment.html 


More information about the jboss-user mailing list