I know that this is something that's got to do with JAXB. how do i get over it? what
is it exactly?
below is my source code :
@WebService(
name = "UpdateService",
targetNamespace = "http://deshaw.com",
serviceName = "NmUpdateService")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL)
public class NmUpdateService extends HttpServlet
{
/*some declarations and code go in here */
@WebMethod
@WebResult(name="returnValues")
public String[] updateAttributes(@WebParam(name="spn")Integer spn,
@WebParam(name="attributes")SecurityAttributes[] attributes,
@WebParam(name="userName")String userName,
@WebParam(name="date")Date date,
@WebParam(name="source")Integer source
)
{
StringBuffer cmd = prepareCommand(spn, attributes, date, source);
cmd.append(");}; " );
String[] returnValues = {};
try {
Object result = pit.submit(cmd.toString(), returnValues.getClass());
returnValues = (String[]) result;
}
catch(Exception e) {e.printStackTrace();}
return returnValues;
}
}
the web service basically invokes a perl engine and passes a command to it. the exception
however has got to do with the datatypes used by the web method, if i am right.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030726#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...