Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-839

XMLBean genearted objects for schema elements are not handled in JWS.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web Services (181)
    • Labels:
      None

      Description

      If a JWS mathod uses a xmlbeans generated type based on a global element in the schema (xxxDocument object) the type mapping the following exception is thrown:

      Note: the code works fine if types are used in the interface, but not documents.

      • Error in type registeration
        javax.xml.rpc.JAXRPCException: Null qualified name specified.
        at org.apache.axis.encoding.TypeMappingImpl.internalRegister(TypeMappingImpl.java:236)
        at org.apache.axis.encoding.TypeMappingImpl.register(TypeMappingImpl.java:218)
        at org.apache.axis.encoding.TypeMappingDelegate.register(TypeMappingDelegate.java:73)
        at org.apache.beehive.wsm.axis.AxisHook.configureTypeMapping(AxisHook.java:355)
        at org.apache.beehive.wsm.axis.AxisHook.createServiceDesc(AxisHook.java:155)
        at org.apache.beehive.wsm.axis.handlers.AnnotatedWebServiceDeploymentHandler.createSOAPService(AnnotatedWebServiceDeploymentHandler.java:158)
        at org.apache.beehive.wsm.axis.handlers.AnnotatedWebServiceDeploymentHandler.getSOAPService(AnnotatedWebServiceDeploymentHandler.java:117)
        at org.apache.beehive.wsm.axis.handlers.AnnotatedWebServiceDeploymentHandler.invoke(AnnotatedWebServiceDeploymentHandler.java:76)
        at org.apache.beehive.wsm.axis.handlers.AnnotatedWebServiceDeploymentHandler.generateWSDL(AnnotatedWebServiceDeploymentHandler.java:102)
        at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)

        Attachments

        1. wsmdiff.txt
          67 kB
          daryoush mehrtash
        2. server.zip
          15 kB
          daryoush mehrtash
        3. client.zip
          349 kB
          daryoush mehrtash

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dmehrtash daryoush mehrtash
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: