title: java.lang.UnsupportedClassVersionError: /entirex/xml/mapping/jaxws_asm/package-info : Unsupported major.minor version 0.0
body: <p>I have created WS client from a WSDL using wsimport of jdk 1.7.
  the client works fine when it is running as a standalone application .</p>
  
  <p>When I run it on JBoss 7 I am getting :</p>
  
  <p>[END]</p>
  
  <pre><code>java.lang.UnsupportedClassVersionError: rqbalamWs/com/softwareag/namespace/entirex/xml/mapping/jaxws_asm/package-info : Unsupported major.minor version 0.0
  
        at java.lang.ClassLoader.defineClass1(Native Method)
  
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
  
        at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
  
        at org.apache.cxf.common.util.ASMHelper$TypeHelperClassLoader.defineClass(ASMHelper.java:367)
  
        at org.apache.cxf.common.util.ASMHelper.loadClass(ASMHelper.java:316)
  
        at org.apache.cxf.jaxws.WrapperClassGenerator.generatePackageInfo(WrapperClassGenerator.java:267)
  
        at org.apache.cxf.jaxws.WrapperClassGenerator.createWrapperClass(WrapperClassGenerator.java:169)
  
        at org.apache.cxf.jaxws.WrapperClassGenerator.generate(WrapperClassGenerator.java:122)
  
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:683)
  
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:653)
  
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:440)
  
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:548)
  
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:265)
  
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:215)
  
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
  
        at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
  
        at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
  
        at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
  
        at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:478)
  
        at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:558)
  
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:345)
  
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:336)
  
        at javax.xml.ws.Service.getPort(Service.java:99)
  
        at rqbalamWs.com.softwareag.namespace.entirex.xml.mapping.RQFXONLN.getDB2RQLIBSOAP11Port(RQFXONLN.java:72)
  
        at rqbalamWs.WsClient.send(WsClient.java:16)
  
        at calypsox.engine.FXBalamEngine.handlePSEventTrade(FXBalamEngine.java:87)
  
        at calypsox.engine.FXBalamEngine.process(FXBalamEngine.java:53)
  
        at com.calypso.engine.Engine$EngineThread.run(Engine.java:1413)
  </code></pre>
  
  <p>Does it means the in the classpath while running on JBoss , the Apache CXF jars  comes before the JDK WS implementaion , and this cause the error ? should I create the client using some  Apache CXF wizard (eclipse) instead of using wsimport ? if I will remove Apache CXF module from JBoss will it be ok ?</p>
  
  <p>wsdl :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  - &lt;definitions name="RQFXONLN" targetNamespace="http://namespace.softwareag.com/entirex/xml/mapping" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://namespace.softwareag.com/entirex/xml/mapping" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sn0="urn:com-softwareag-entirex-rpc:DB2RQLIB" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"&gt;
  - &lt;types&gt;
  - &lt;xsd:schema targetNamespace="urn:com-softwareag-entirex-rpc:DB2RQLIB"&gt;
  - &lt;xsd:element name="RQFXONLN"&gt;
  - &lt;xsd:complexType&gt;
  - &lt;xsd:sequence&gt;
    &lt;xsd:element name="RQFXONLN_INPUT_DEAL" type="xsd:string" /&gt;
    &lt;/xsd:sequence&gt;
    &lt;/xsd:complexType&gt;
    &lt;/xsd:element&gt;
  - &lt;xsd:element name="RQFXONLNResponse"&gt;
  - &lt;xsd:complexType&gt;
  - &lt;xsd:sequence&gt;
  - &lt;xsd:element name="RQFXONLN_OUTPUT_RC"&gt;
  - &lt;xsd:simpleType&gt;
  - &lt;xsd:restriction base="xsd:decimal"&gt;
    &lt;xsd:totalDigits value="5" /&gt;
    &lt;xsd:fractionDigits value="0" /&gt;
    &lt;/xsd:restriction&gt;
    &lt;/xsd:simpleType&gt;
    &lt;/xsd:element&gt;
  - &lt;xsd:element name="RQFXONLN_OUTPUT_RC_INFO"&gt;
  - &lt;xsd:simpleType&gt;
  - &lt;xsd:restriction base="xsd:string"&gt;
    &lt;xsd:maxLength value="70" /&gt;
    &lt;/xsd:restriction&gt;
    &lt;/xsd:simpleType&gt;
    &lt;/xsd:element&gt;
    &lt;/xsd:sequence&gt;
    &lt;/xsd:complexType&gt;
    &lt;/xsd:element&gt;
    &lt;/xsd:schema&gt;
    &lt;/types&gt;
  - &lt;message name="RQFXONLNSoapIn"&gt;
    &lt;part name="parameters" element="sn0:RQFXONLN" /&gt;
    &lt;/message&gt;
  - &lt;message name="RQFXONLNSoapOut"&gt;
    &lt;part name="parameters" element="sn0:RQFXONLNResponse" /&gt;
    &lt;/message&gt;
  - &lt;portType name="DB2RQLIBPort"&gt;
  - &lt;operation name="RQFXONLN"&gt;
    &lt;input message="tns:RQFXONLNSoapIn" /&gt;
    &lt;output message="tns:RQFXONLNSoapOut" /&gt;
    &lt;/operation&gt;
    &lt;/portType&gt;
  - &lt;binding name="DB2RQLIBSOAP11Binding" type="tns:DB2RQLIBPort"&gt;
    &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /&gt;
  - &lt;operation name="RQFXONLN"&gt;
    &lt;soap:operation soapAction="RQFXONLN" /&gt;
  - &lt;input&gt;
    &lt;soap:body use="literal" /&gt;
    &lt;/input&gt;
  - &lt;output&gt;
    &lt;soap:body use="literal" /&gt;
    &lt;/output&gt;
    &lt;/operation&gt;
    &lt;/binding&gt;
  - &lt;binding name="DB2RQLIBSOAP12Binding" type="tns:DB2RQLIBPort"&gt;
    &lt;soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /&gt;
  - &lt;operation name="RQFXONLN"&gt;
    &lt;soap12:operation soapAction="RQFXONLN" /&gt;
  - &lt;input&gt;
    &lt;soap12:body use="literal" /&gt;
    &lt;/input&gt;
  - &lt;output&gt;
    &lt;soap12:body use="literal" /&gt;
    &lt;/output&gt;
    &lt;/operation&gt;
    &lt;/binding&gt;
  - &lt;service name="RQFXONLN"&gt;
  - &lt;port name="DB2RQLIBSOAP12Port" binding="tns:DB2RQLIBSOAP12Binding"&gt;
    &lt;soap12:address location="http://entirextest:9080/wsstack/services/RQFXONLN.DB2RQLIBSOAP12Port/" /&gt;
    &lt;/port&gt;
  - &lt;port name="DB2RQLIBSOAP11Port" binding="tns:DB2RQLIBSOAP11Binding"&gt;
    &lt;soap:address location="http://entirextest:9080/wssta`enter code here`ck/services/RQFXONLN.DB2RQLIBSOAP11Port/" /&gt;
    &lt;/port&gt;
    &lt;/service&gt;
    &lt;/definitions&gt;
  </code></pre>