Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-469

org.apache.axiom.om.impl.builder.SAXOMBuilder class missing from Axiom API 1.2.15

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.2.15
    • None
    • API
    • None
    • Windows 7 Professional 32-bit, Eclipse, Java, Tomcat Server 8, Axis 2 1.6.3, wsdl2java
    • Important

    Description

      I'm using wsdl2java (from Axis 2 1.6.3) to generate JAXBRI proxies from WSDL files. Each of the generated proxy files contains a JaxbRIDataSource class declaration with an override of the getReader() function. The getReader() function is invoking an org.apache.axiom.om.impl.builder.SAXOMBuilder object. Unfortunately, it appears that this class is no longer present in Axiom API 1.2.15. The generated function is below. According to the "grepcode" site, the class existed in 1.2.14, but I can't find the class in the Project Explorer within Eclipse.

      I need a fix/workaround for this as quickly as possible.

      public javax.xml.stream.XMLStreamReader getReader()
      throws javax.xml.stream.XMLStreamException {
      try

      { javax.xml.bind.JAXBContext context = wsContext; org.apache.axiom.om.impl.builder.SAXOMBuilder builder = new org.apache.axiom.om.impl.builder.SAXOMBuilder(); javax.xml.bind.Marshaller marshaller = context.createMarshaller(); marshaller.marshal(new javax.xml.bind.JAXBElement( new javax.xml.namespace.QName(nsuri, name), outObject.getClass(), outObject), builder); return builder.getRootElement().getXMLStreamReader(); }

      catch (javax.xml.bind.JAXBException e)

      { throw new javax.xml.stream.XMLStreamException("Error in JAXB marshalling", e); }

      }

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            OrbitalGolem Anthony Sute
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment