[jboss-user] [JBossWS] - Autogeneration of wrapper beans not supported with JAXRPC

timeagentess do-not-reply at jboss.com
Tue May 1 09:00:09 EDT 2007

Hello all,

I am using JBoss as the application server for deploying web services.  In particular, I use wscompile to generate the wsdl file, and I am starting from java beans with xdoclet annotations.
The rpc/literal web services work perfectly, even tested them with a .NET client, arrays are passed ok as well.

When I set wscompile to use document/literal (without any other modifications), though, JBoss complains on deployment about the .ear file and says :

org.jboss.deployment.DeploymentException: Cannot start service endpoint; - nested throwable: (org.jboss.ws.WSException: Autogeneration of wrapper beans not supported with JAXRPC)

The only Google hits when searching for that error point to the JBossWS SVN repository. Browsing through the JBossWS SVN, I suspect that one of these two operations:

+         ClassLoader loader = getOperationMetaData().getEndpointMetaData().getClassLoader();
+         wrapperBean = JavaUtils.loadJavaType(javaTypeName, loader);

returns a null in the loadWrapperBean() method in the org.jboss.ws.metadata.umdm.ParameterMetaData class. But these are only speculations.

Has someone any idea regarding this problem, perhaps something that I am doing wrong? Or maybe a more straightforward way of building document/literal WS, if nothing else?

Thanks a lot!

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

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

More information about the jboss-user mailing list