[jboss-user] [JBossWS] - Caused by: org.jboss.ws.WSException: Cannot obtain java type

patel_123 do-not-reply at jboss.com
Mon Jun 25 02:14:04 EDT 2007


hi

I am exposing my EJB3 components as web services.
WSDL document is generated correctly.
But when my client application tries to access the webservice it throws the following exception,
Caused by: org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://wb1-329:8080}validateUser
	at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:451)
	at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200)
	at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaDataInternal(JSR109ClientMetaDataBuilder.java:208)
	at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:126)
	at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82)
	at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96)
	at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
	at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
	at client.UserBean.loginUser(UserBean.java:90)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)


please help me in resolving this error


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

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



More information about the jboss-user mailing list