8 Replies Latest reply on Aug 28, 2008 2:46 PM by Jon Simmons

    NullPointerException from JBossXSEntityResolver

    Maximilian Schmidt Newbie

      Hi *,

      I know, I'm going to open a second topic on this, although there's already a similar problem posted here: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110298#4110298.

      However, in my case I'm using the opposite direction. I've set up a webservice using an underlying EJB(3) for the implementation. The SEI contains only one method, which uses a message that was compiled before from various schemas (containing UBL2,e-GIF) by using JAXB2.1. Once that webservice is deployed on JBoss he is trying to map all these classes back to XSDs and I receive the same NPE:

      java.lang.NullPointerException
       at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.getXMLInputSource(JBossXSEntityResolver.java:167)
       at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.resolveEntity(JBossXSEntityResolver.java:135)
       at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
       at org.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(Unknown Source)
       at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
       at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
       at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
      ....
      


      I'm using JBoss4.2.2GA. Is this bug already confirmed?

      I'm going to try to work around this problem by using a WSDL generated by wsprovide and doing wsconsume on it to receive the necessary interfaces for the implementation, but if that is really working, it's not a nice way of solving this issue.

      Any help is highly appreciated :)

      Thanks,
      Max

        • 1. Re: NullPointerException from JBossXSEntityResolver
          Alessio Soldano Master

          Hi,
          did your workaround work? Please post some further details about your contract and/or service implementation (as far as I understand, you used a bottom up approach, didn't you?), this way we can better understand / reproduce your issue.
          Which version of JBossWS are you using? (the one that comes with 4.2.2.GA ?)

          • 2. Re: NullPointerException from JBossXSEntityResolver
            Maximilian Schmidt Newbie

            Hi,

            no, unfortunately the workaround does not solve the issue. Using wsconsume to produce a WSDL from sources, afterwards doing wsprovide to generate sources from that WSDL, creating a dummy implementation for the generated interfaces and deploying all those classes on JBoss produces the very same error. I'm using JBossWS that comes with 4.2.2GA.
            However, this webservice is only one part of a asynchronous pair of webservices for server<->server communications and the second webservice is using Axis on the remote side - so in the meantime I've already decided to stick to simple communications via strings, doing marshalling/unmarshalling with JAXB right before sending and after receiving.
            I don't have time to further look into this, but anyways, I've uploaded the old WS contract produced by wsconsume right here (http://page.mi.fu-berlin.de/schmidtm/jbossws-jaxb/), so you may reproduce the error.

            Thanks,
            Max

            • 3. Re: NullPointerException from JBossXSEntityResolver
              Martin Letis Newbie

              Using JBossWS out-of-box from 4.2.1-GA or 4.2.2-GA - same problem
              Is any workaround available?
              Thanks

              • 4. Re: NullPointerException from JBossXSEntityResolver
                Maximilian Schmidt Newbie

                There is an ant/eclipse project to reproduce the problem right here:
                http://page.mi.fu-berlin.de/schmidtm/jbossws-jaxb/TestJBossWS.zip
                The download is quite big as it contains all those library dependencies.

                Run ant to get a WAR that can be used for deployment on JBoss 4.2.2GA. Also tried with the current jbossws-3.0.1-native-2.0.4.GA, but seems to be not fixed yet.

                The included WSDL was generated using wsprovide, now doing wsconsume to generate the service interface which is then implemented by one simple class.
                I might also upload the original sources used to generate the WSDL if necessary.

                • 5. Re: NullPointerException from JBossXSEntityResolver
                  Maximilian Schmidt Newbie

                  Running jboss-4.2.2GA with debug messages, produces the following:


                  DEBUG [WebModule] Started jboss.web.deployment:war=TestJBossWS.war,id=-1506356400
                  DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=TestJBossWS.war,id=-1506356400 dependent components: []
                  DEBUG [JAXWSDeployerHookPostJSE] deploy: TestJBossWS.war
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory Implementation: org.jboss.wsf.framework.deployment.DefaultDeploymentAspectManagerFactory@dc5733
                  DEBUG [DefaultDeploymentAspectManagerFactory] DeploymentAspectManager for: WSDeploymentAspectManagerPostJSE
                  DEBUG [DeploymentAspectManagerImpl] RuntimeLoaderDeploymentAspect:Create
                  DEBUG [DeploymentAspectManagerImpl] EndpointHandlerDeploymentAspect:Create
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.invocation.RequestHandlerFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.invocation.RequestHandlerFactory Implementation: org.jboss.wsf.stack.jbws.RequestHandlerFactoryImpl@1e0f790
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@9d1714
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.deployment.LifecycleHandlerFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.deployment.LifecycleHandlerFactory Implementation: org.jboss.wsf.framework.deployment.DefaultLifecycleHandlerFactory@15660ef
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.invocation.InvocationHandlerFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.invocation.InvocationHandlerFactory Implementation: org.jboss.wsf.container.jboss42.InvocationHandlerFactoryImpl@1f61bcf
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.invocation.ResourceInjectorFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.invocation.ResourceInjectorFactory Implementation: org.jboss.wsf.framework.invocation.DefaultResourceInjectorFactory@9bc36d
                  DEBUG [DeploymentAspectManagerImpl] EndpointRecordProcessorDeploymentAspect:Create
                  DEBUG [EndpointRecordProcessorDeploymentAspect] Cannot register endpoint with JMX server, trying with the default ManagedRecordProcessor: Class does not expose a management interface: java.lang.Object
                  DEBUG [DeploymentAspectManagerImpl] JAXBIntroDeploymentAspect:Create
                  DEBUG [DeploymentAspectManagerImpl] UnifiedMetaDataDeploymentAspect:Create
                  DEBUG [JAXWSMetaDataBuilderJSE] START buildMetaData: [name=TestJBossWS.war]
                  DEBUG [WebappClassLoader] loadClass(de.fraunhofer.elan.testing.ws.TestServiceWS, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(de.fraunhofer.elan.testing.ws.TestServiceWS)
                  DEBUG [WebappClassLoader] loadClass(org.sweb.adaptationlayer.ws.IM2SService, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb.adaptationlayer.ws.IM2SService)
                  DEBUG [WebappClassLoader] loadClass(java.lang.Object, false)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.jws.WebService, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb.adaptationlayer.ws.IM2SService, false)
                  DEBUG [WebappClassLoader] Returning class from cache
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.LegacyResponseType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.LegacyResponseType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.jws.WebMethod, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.ws.RequestWrapper, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.ws.ResponseWrapper, false)
                  DEBUG [WebappClassLoader] loadClass(javax.jws.WebParam, false)
                  DEBUG [EndpointMetaData] setParameterStyle: WRAPPED
                  DEBUG [EndpointMetaData] Using default style: document
                  DEBUG [EndpointMetaData] Create new config [name=Standard Endpoint,file=META-INF/standard-jaxws-endpoint-config.xml]
                  DEBUG [JBossWSConfigFactory] getConfig: [name=Standard Endpoint,url=META-INF/standard-jaxws-endpoint-config.xml]
                  DEBUG [JBossWSConfigFactory] parse: file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
                  DEBUG [EndpointMetaData] Configure EndpointMetaData
                  DEBUG [EndpointMetaData] Added 1 PRE handlers
                  DEBUG [EndpointMetaData] Added 0 ENDPOINT handlers
                  DEBUG [EndpointMetaData] Added 0 POST handlers
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponse, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.al.m2s.ReceiveResponse)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponse, false)
                  DEBUG [WebappClassLoader] Returning class from cache
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponseResponse, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.al.m2s.ReceiveResponseResponse)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponseResponse, false)
                  DEBUG [WebappClassLoader] Returning class from cache
                  DEBUG [JAXWSWebServiceMetaDataBuilder] JAXBContext [types=[class org.sweb_project.al.m2s.ReceiveResponse, class org.sweb_project.al.m2s.ReceiveResponseResponse],tns=http://www.sweb-project.org/al/m2s]
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlAccessorType, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlAccessType, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlType, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.package-info, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.al.m2s.package-info)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlSchema, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElement, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.package-info, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.package-info)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(java.lang.String, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.MunicipalityIDType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.MunicipalityIDType)
                  DEBUG [WebappClassLoader] loadClass(java.lang.Enum, false)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBServiceDataType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBServiceDataType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlEnum, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.package-info, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.package-info)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(java.lang.Throwable, false)
                  DEBUG [WebappClassLoader] loadClass(java.lang.IllegalArgumentException, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificateType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificateType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.InvoiceNotificationType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.InvoiceNotificationType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.NegativeResponseType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.NegativeResponseType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(java.util.List, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailsType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.AddressDetailsExtendedType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.AddressDetailsExtendedType)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.AddressDetailsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.AddressDetailsType)
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AddressType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AddressType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.CommentsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.CommentsType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailsNameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailsNameType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailIdentificationType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailIdentificationType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailBirthType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailBirthType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailSexType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailSexType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.MaritalStatusType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.al.m2s.MaritalStatusType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CityNameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CityNameType)
                  DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.NameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.NameType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlSchemaType, false)
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.package-info, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.package-info)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.package-info, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.package-info)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlValue, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlAttribute, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.adapters.CollapsedStringAdapter, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.AddressDetailsValueType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.AddressDetailsValueType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.CountryType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.CountryType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType)
                  DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.IdentifierType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.IdentifierType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TimezoneOffsetType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TimezoneOffsetType)
                  DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.TextType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.TextType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AddressTypeCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AddressTypeCodeType)
                  DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.CodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.CodeType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AddressFormatCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AddressFormatCodeType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PostboxType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PostboxType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.FloorType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.FloorType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RoomType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RoomType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StreetNameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StreetNameType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AdditionalStreetNameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AdditionalStreetNameType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BlockNameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BlockNameType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BuildingNameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BuildingNameType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BuildingNumberType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BuildingNumberType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InhouseMailType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InhouseMailType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DepartmentType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DepartmentType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MarkAttentionType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MarkAttentionType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MarkCareType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MarkCareType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PlotIdentificationType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PlotIdentificationType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CitySubdivisionNameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CitySubdivisionNameType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PostalZoneType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PostalZoneType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CountrySubentityType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CountrySubentityType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CountrySubentityCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CountrySubentityCodeType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RegionType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RegionType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DistrictType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DistrictType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.LocationCoordinateType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.LocationCoordinateType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.package-info, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.package-info)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlNsForm, false)
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AddressLineType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AddressLineType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.adapters.NormalizedStringAdapter, false)
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LineType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LineType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IdentificationCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IdentificationCodeType)
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.CountryIdentificationCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.CountryIdentificationCodeType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NameType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NameType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.package-info, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.package-info)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CoordinateSystemCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CoordinateSystemCodeType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeDegreesMeasureType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeDegreesMeasureType)
                  DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.MeasureType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.MeasureType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeMinutesMeasureType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeMinutesMeasureType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeDirectionCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeDirectionCodeType)
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.LatitudeDirectionCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.LatitudeDirectionCodeType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeDegreesMeasureType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeDegreesMeasureType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeMinutesMeasureType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeMinutesMeasureType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeDirectionCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeDirectionCodeType)
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.LongitudeDirectionCodeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.LongitudeDirectionCodeType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(java.math.BigDecimal, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBRequestDocumentsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBRequestDocumentsType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificationRequestType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificationRequestType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.LegacyRequestType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.LegacyRequestType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.InvoiceType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.InvoiceType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.RequesterDetailsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.RequesterDetailsType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ConcernedPersonDetailsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ConcernedPersonDetailsType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificationServiceDetailsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificationServiceDetailsType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationDetailsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationDetailsType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationRequestType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationRequestType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LanguageIDType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LanguageIDType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationFrequencyType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationFrequencyType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationDetailLevelType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationDetailLevelType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationSecureLevelType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationSecureLevelType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBServiceMessageType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBServiceMessageType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebServiceIDType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebServiceIDType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebRoleType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebRoleType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBMessageContainerCollectionType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBMessageContainerCollectionType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBServicePointContainerCollectionType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBServicePointContainerCollectionType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBMessageContainerType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBMessageContainerType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElements, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBMessageType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBMessageType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(java.lang.Integer, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebDocumentTypeType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebDocumentTypeType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebDocumentFormatType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebDocumentFormatType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.ForwardMessageType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.ForwardMessageType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificationResponseType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificationResponseType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificateCommentsType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificateCommentsType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBServicePointContainerType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBServicePointContainerType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElementRefs, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElementRef, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.JAXBElement, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.ObjectFactory, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.ObjectFactory)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.namespace.QName, false)
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBTaskType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBTaskType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.NotificationSimpleMessageType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.NotificationSimpleMessageType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBTaskParameterType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBTaskParameterType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.NotificationMessageType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.NotificationMessageType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.NotificationSOAPMessageType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.NotificationSOAPMessageType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBURIType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBURIType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBTaskParameterContainerType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBTaskParameterContainerType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebTaskDocumentStatusType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebTaskDocumentStatusType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebTaskServiceStatusType, false)
                  DEBUG [WebappClassLoader] Searching local repositories
                  DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebTaskServiceStatusType)
                  DEBUG [WebappClassLoader] Loading class from local repository
                  DEBUG [WebappClassLoader] loadClass(javax.xml.datatype.XMLGregorianCalendar, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElementDecl, false)
                  DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlEnumValue, false)
                  DEBUG [WebappClassLoader] loadClass(com.sun.xml.bind.v2.runtime.reflect.Accessor, false)
                  DEBUG [WebappClassLoader] loadClass(com.sun.xml.bind.v2.runtime.reflect.Accessor, false)
                  DEBUG [WebappClassLoader] loadClass(java.lang.Long, false)
                  DEBUG [WebappClassLoader] loadClass(com.sun.xml.bind.v2.runtime.reflect.Accessor, false)
                  DEBUG [WebappClassLoader] Returning class from cache
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponse, false)
                  DEBUG [WebappClassLoader] Returning class from cache
                  DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponseResponse, false)
                  DEBUG [WebappClassLoader] Returning class from cache
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@3c58a9
                  DEBUG [WSDLDefinitionsFactory] parse: file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/TestServiceWSService18289.wsdl
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/I_M2SService_PortType18290.wsdl,sysid=file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/I_M2SService_PortType18290.wsdl]
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@3f0bc0
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@11c7295
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@1187984
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@1d2052b
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@151574b
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@13a1324
                  DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
                  DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@1bed674
                  DEBUG [JavaToXSD] Load schema: http://www.sweb-project.org/ServiceSchemas-0.1=file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/JBossWS_www.sweb-project.org_ServiceSchemas-0.118296.xsd
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=null,sysid=file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/JBossWS_www.sweb-project.org_ServiceSchemas-0.118296.xsd]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xmlsoap.org/soap/encoding/,sysid=null]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=http://www.sweb-project.org/eDocument-0.1,sysid=null]
                  DEBUG [JBossEntityResolver] Cannot resolve [publicID=http://www.sweb-project.org/eDocument-0.1,systemID=null]
                  DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=http://www.sweb-project.org/eDocument-0.1,sysid=null]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=http://www.sweb-project.org/al/m2s,sysid=null]
                  DEBUG [JBossEntityResolver] Cannot resolve [publicID=http://www.sweb-project.org/al/m2s,systemID=null]
                  DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=http://www.sweb-project.org/al/m2s,sysid=null]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2,sysid=null]
                  DEBUG [JBossEntityResolver] Cannot resolve [publicID=urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2,systemID=null]
                  DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2,sysid=null]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2,sysid=null]
                  DEBUG [JBossEntityResolver] Cannot resolve [publicID=urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2,systemID=null]
                  DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2,sysid=null]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2,sysid=null]
                  DEBUG [JBossEntityResolver] Cannot resolve [publicID=urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2,systemID=null]
                  DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2,sysid=null]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2,sysid=null]
                  DEBUG [JBossEntityResolver] Cannot resolve [publicID=urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2,systemID=null]
                  DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2,sysid=null]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=null,sysid=null]
                  DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=null,sysid=null]
                  DEBUG [JBossWSEntityResolver] resolveEntity: [pub=null,sysid=null]
                  DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=null,sysid=null]
                  ERROR [MainDeployer] Could not start deployment: file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/deploy/TestJBossWS.war
                  java.lang.NullPointerException
                  org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.getXMLInputSource(JBossXSEntityResolver.java:167)
                  org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.resolveEntity(JBossXSEntityResolver.java:135)
                  ...

                  So it seems like he generates all XSDs and a proper WSDL, but afterwards fails importing some namespaces. The generated WSDL contains some empty import statements, but according to the other entities that failed, I don't think this is the main problem here.
                  Any idea what to try next?

                  • 7. Re: NullPointerException from JBossXSEntityResolver
                    Martin Schweigert Newbie

                    Now I patched "JBossXSEntityResolver" - it seems to work ;)


                    @@ -164,6 +164,7 @@

                    private XMLInputSource getXMLInputSource(InputSource inputSource, XMLResourceIdentifier resId)
                    {
                    + if (inputSource == null) return null;
                    String encoding = inputSource.getEncoding();
                    InputStream byteStream = inputSource.getByteStream();
                    return new XMLInputSource(resId.getPublicId(), resId.getExpandedSystemId(), resId.getBaseSystemId(), byteStream, encoding);

                    • 8. Re: NullPointerException from JBossXSEntityResolver
                      Jon Simmons Newbie

                      I'm encountering this same problem. Has a fix been made or a different version of jboss-ws available to correct this problem?

                      Or is martinschweigert's solution the only working solution?