Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-452

CTS: IllegalStateException: Cannot obtain java/xml type mapping for: ...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jbossws-1.0RC2
    • None
    • jbossws-native
    • None

      Using current codebase I see this error running the following tests

      JBWS-405 CTS: jaxrpc/ee/wsi/document/literal/marshalltest#MarshallLiteralFaultsTest
      JBWS-404 CTS: jaxrpc/ee/wsi/document/literal/marshalltest#MarshallListTypesTest
      JBWS-403 CTS: jaxrpc/ee/wsi/document/literal/marshalltest#MarshallJavaArrayTest
      JBWS-402 CTS: jaxrpc/ee/wsi/document/literal/marshalltest#MarshallEnumTypesTest
      JBWS-400 CTS: jaxrpc/ee/wsi/document/literal/marshalltest#MarshallComplexTypesTest
      JBWS-399 CTS: jaxrpc/ee/wsi/document/literal/marshalltest#MarshallAnnotationTypeTest

      Sample log

      11:09:55,503 WARN [WSDLBinding] Cannot obtain binding operation for ref:

      {http://marshalltestservice.org/Mars hallTestService.wsdl}

      echoIncludedStringTest
      11:09:55,503 WARN [WSDLBinding] Cannot obtain binding operation for ref:

      {http://marshalltestservice.org/Mars hallTestService.wsdl}

      sendFoo1Test
      11:09:55,503 WARN [WSDLBinding] Cannot obtain binding operation for ref:

      {http://marshalltestservice.org/Mars hallTestService.wsdl}

      sendFoo2Test
      11:09:55,503 WARN [WSDLBinding] Cannot obtain binding operation for ref:

      {http://marshalltestservice.org/Mars hallTestService.wsdl}

      echoNormalizedStringTypeTest
      11:09:55,513 WARN [WSDLBinding] Cannot obtain binding operation for ref:

      {http://marshalltestservice.org/Mars hallTestService.wsdl}

      echoVariousSchemaTypesTest
      11:09:55,513 WARN [WSDLBinding] Cannot obtain binding operation for ref:

      {http://marshalltestservice.org/Mars hallTestService.wsdl}

      echoVariousSchemaTypesListTypeTest
      11:09:55,513 WARN [WSDLBinding] Cannot obtain binding operation for ref:

      {http://marshalltestservice.org/Mars hallTestService.wsdl}

      echoIntegerRangeTypeTest
      11:09:55,523 WARN [WSDLBinding] Cannot obtain binding operation for ref:

      {http://marshalltestservice.org/Mars hallTestService.wsdl}

      echoStringListTypeTest
      11:09:55,523 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type:

      {http://marshalltestservice.org/type s2}

      FooStringListType
      11:09:55,523 ERROR [MainDeployer] Could not create deployment: file:/E:/jboss-temp/deploy/tmp58665WSIDLMarshal
      lTest.ear-contents/WSIDLMarshallTest_web.war
      java.lang.IllegalStateException: Cannot obtain java/xml type mapping for:

      {http://marshalltestservice.org/type s2}

      FooStringListType
      at org.jboss.ws.metadata.AbstractMetaDataBuilder.buildParameterMetaDataDoc(AbstractMetaDataBuilder.jav
      a:731)
      at org.jboss.ws.metadata.AbstractMetaDataBuilder.setupOperationsFromWSDL(AbstractMetaDataBuilder.java:
      487)
      at org.jboss.ws.metadata.JSR109MetaDataBuilder.buildMetaData(JSR109MetaDataBuilder.java:174)
      at org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(WebServiceDeployerJSE.java:171)

      at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:85)
      at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:49)
      at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorS
      upport.java:160)
      at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:77)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:76)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:247)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy27.create(Unknown Source)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:933)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:923)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:787)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:751)
      at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:143)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:82)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:123)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:76)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
      125)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:76)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:247)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
      at $Proxy46.deploy(Unknown Source)
      at org.jboss.deployment.services.DeploymentManagerService.start(DeploymentManagerService.java:228)
      at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:143)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:82)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:247)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
      at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:251)
      at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:143)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:82)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:123)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:76)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
      125)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:76)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:247)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
      at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
      at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:143)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:82)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:247)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
      at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:802)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:403)
      at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
      at sun.rmi.transport.Transport$1.run(Transport.java:153)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      at java.lang.Thread.run(Thread.java:595)

            olubyans@redhat.com Alexey Loubyansky
            olubyans@redhat.com Alexey Loubyansky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: