[jira] [Commented] (AXIOM-469) org.apache.axiom.om.impl.builder.SAXOMBuilder class missing from Axiom API 1.2.15

2015-08-24 Thread Anthony Sute (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIOM-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14709834#comment-14709834
 ] 

Anthony Sute commented on AXIOM-469:


Additional info - if I revert back to Axiom 1.2.14 in my pom.xml file, the 
proxy code does build correctly, showing that the 
org.apache.axiom.om.impl.builder.SAXOMBuilder class was removed from 1.2.15.

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

 Key: AXIOM-469
 URL: https://issues.apache.org/jira/browse/AXIOM-469
 Project: Axiom
  Issue Type: Bug
  Components: API
Affects Versions: 1.2.15
 Environment: Windows 7 Professional 32-bit, Eclipse, Java, Tomcat 
 Server 8, Axis 2 1.6.3, wsdl2java
Reporter: Anthony Sute

 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);
 }
 }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Commented] (AXIOM-469) org.apache.axiom.om.impl.builder.SAXOMBuilder class missing from Axiom API 1.2.15

2015-08-24 Thread Andreas Veithen (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIOM-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14709842#comment-14709842
 ] 

Andreas Veithen commented on AXIOM-469:
---

That class has been deprecated, but still exists. It has been moved from 
axiom-api to axiom-compat. Both are transitive dependencies of axis2-jaxbri, so 
if you use Maven (or another tool that uses Maven metadata), axiom-compat 
should be added automatically to your project. If you don't use Maven, you need 
to add it manually.

The Axiom 1.2.15 artifacts have not yet been indexed by grepcode; that's the 
reason why you were unable to locate the SAXOMBuilder class in that version.

Finally, it should be noted that Axis2 1.6.3 was released with Axiom 1.2.14, 
and depending on the Axis2 features you use, there may be issues with newer 
Axiom versions. You may want to consult 
http://svn.apache.org/viewvc?view=revisionrevision=1693811 to see which Axis2 
components are affected by an upgrade to 1.2.15.

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

 Key: AXIOM-469
 URL: https://issues.apache.org/jira/browse/AXIOM-469
 Project: Axiom
  Issue Type: Bug
  Components: API
Affects Versions: 1.2.15
 Environment: Windows 7 Professional 32-bit, Eclipse, Java, Tomcat 
 Server 8, Axis 2 1.6.3, wsdl2java
Reporter: Anthony Sute

 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);
 }
 }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Commented] (AXIOM-469) org.apache.axiom.om.impl.builder.SAXOMBuilder class missing from Axiom API 1.2.15

2015-08-24 Thread Anthony Sute (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIOM-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14709882#comment-14709882
 ] 

Anthony Sute commented on AXIOM-469:


Many thanks for the clarification and fast reply.  It's concerning that Axis2 
1.6.3 which was released in June of this year is supporting a three-year-old 
version of Axiom.  Do you know if the Axis2 team will be incorporating official 
support for 1.2.15 anytime soon?

Are the changes/fixes to Axiom for 1.2.15 worth the effort to try to make work 
in Axis2 1.6.3?

I added axiom-compat-1.2.15.jar to my pom.xml and the build errors were 
resolved.  Thanks again.

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

 Key: AXIOM-469
 URL: https://issues.apache.org/jira/browse/AXIOM-469
 Project: Axiom
  Issue Type: Bug
  Components: API
Affects Versions: 1.2.15
 Environment: Windows 7 Professional 32-bit, Eclipse, Java, Tomcat 
 Server 8, Axis 2 1.6.3, wsdl2java
Reporter: Anthony Sute

 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);
 }
 }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org



[jira] [Commented] (AXIOM-469) org.apache.axiom.om.impl.builder.SAXOMBuilder class missing from Axiom API 1.2.15

2015-08-24 Thread Andreas Veithen (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIOM-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14709908#comment-14709908
 ] 

Andreas Veithen commented on AXIOM-469:
---

 It's concerning that Axis2 1.6.3 which was released in June of this year is 
 supporting a three-year-old version of Axiom.

That was actually a conscious decision. Axis2 1.6.3 and Axiom 1.2.15 were 
released at about the same time, but the Axis2 1.6 branch was still using Axiom 
1.2.14 (On a maintenance branch it is generally better to depend on released 
versions of dependencies, so that was the right thing to do), meaning that 
there would not have been enough time for people to test and report issues.

 Do you know if the Axis2 team will be incorporating official support for 
 1.2.15 anytime soon?

After the 1.6.3 release, the 1.6 branch was updated to use Axiom 1.2.15. Axis2 
1.6.4 (which should be released in the not too distant future) will depend on 
that Axiom version.

 Is there too much risk associated with using Axiom 1.2.15 with Axis2 1.6.3?

As I said, it depends on the features you use. If you use anything related to 
SAAJ or JAX-WS, you will probably run into troubles. Otherwise there should be 
no major issues, except that you may need to add JavaMail (which used to be a 
dependency of Axiom, but which no longer is in version 1.2.15; see AXIOM-418) 
as an explicit dependency to make Axis2 happy.

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

 Key: AXIOM-469
 URL: https://issues.apache.org/jira/browse/AXIOM-469
 Project: Axiom
  Issue Type: Bug
  Components: API
Affects Versions: 1.2.15
 Environment: Windows 7 Professional 32-bit, Eclipse, Java, Tomcat 
 Server 8, Axis 2 1.6.3, wsdl2java
Reporter: Anthony Sute

 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);
 }
 }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org