[jboss-user] [JBossWS] - TypeNotPresentExceptionProxy when trying to get the Port of

mnemonics do-not-reply at jboss.com
Thu Jun 19 06:29:18 EDT 2008


Hi,

We've generated code with wsimport (sun) from a wsdl and imported that in our webapp. When we try to get the port from the service (in order to make a web service call) it fails wirth the following error:


  | java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
  |         at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
  |         at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
  |         at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
  |         at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
  |         at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
  |         at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
  |         at java.lang.Class.initAnnotationsIfNecessary(Class.java:3031)
  |         at java.lang.Class.getAnnotation(Class.java:2989)
  |         at java.lang.Class.isAnnotationPresent(Class.java:3001)
  |         at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.assertSEIConstraints(ServiceDelegateImpl.java:283)
  |         at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:180)
  |         at javax.xml.ws.Service.getPort(Service.java:143)
  | 

When running this code from a (simple) client with Java EE5 libraries (javaee.jar, webservices-rt.jr) it's ok.
But from within JBoss 4.2.2 it fails. We also tried the JBoss-ws update, but same problem.

Any ideas?


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

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



More information about the jboss-user mailing list