[jboss-user] [JBossWS] - JSR 181 JBoss 4.0.4

fancoli do-not-reply at jboss.com
Wed Aug 9 06:04:38 EDT 2006


This not Works 

@WebMethod
public void doReport(@WebParam(name = "user") String user, @WebParam(name = "pwd") byte[] pwd, @WebParam(name = "terminal") String terminal, @WebParam(name = "amid") int amid, @WebParam(name = "reportId") String reportId) throws Exception {
}
and I receive this exception during deployment

org.jboss.ws.WSException: Element message found in jaxrpc-mapping but not in the schema: {http://webservice.wsdl/WbsReport}Exception

if I remove throws Exception all works fine
@WebMethod
public void doReport(@WebParam(name = "user") String user, @WebParam(name = "pwd") byte[] pwd, @WebParam(name = "terminal") String terminal, @WebParam(name = "amid") int amid, @WebParam(name = "reportId") String reportId){
}

Is it a bug ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964010#3964010

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964010



More information about the jboss-user mailing list