Hi,

I would like to bind a POJO web service to the esb. I've tried the
following:
<sm:activationSpec componentName="xfireComp" service="foo:mainframe">
<sm:component>
  <jsr181:component>
    <jsr181:endpoints>
      <jsr181:endpoint pojoClass="test.MyService" service="foo:mainframe"
endpoint="endpoint" /> 
      </jsr181:endpoints>
  </jsr181:component>
</sm:component>
</sm:activationSpec>                                              
When I run it I get the following error:

Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/codehaus/xfire/annotations/jsr181/Jsr181WebAnnotations (Unsupported
major.minor version 49.0)

This means that the class Jsr181WebAnnotations was compiled with Java5, but
I'm using Java1.4. Due to company policies I have to use JDK1.4.

Are there any other options to expose a POJO based web service with JDK1.4?

Thank you
--
View this message in context: 
http://www.nabble.com/POJO-Web-Service-JDK1.4-t1799206.html#a4903391
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to