Questions tagged [axiom]

Axiom is a Java library developed by Apache that provides an XML object model implementation.

Axiom is a Java library developed by Apache that provides an XML object model implementation.

144 questions
0
votes
0 answers

Axiom throwing error for Axis2 generated WSDL

I have auto generated classes from a WSDL file using Axis2 wsdl2java script. After adding the generated Java files to a Maven project the dependencies were only axis2-adb and axis2-kernel. However during runtime it is throwing the following: Caused…
Abhiroop Sarkar
  • 2,251
  • 1
  • 26
  • 45
0
votes
2 answers

java.lang.NoClassDefFoundError: org.apache.axiom.util.UIDGenerator

I am getting the following exception org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org.apache.axiom.util.UIDGenerator. i have included axiom-api-1.2.7.jar also,…
user3588496
  • 113
  • 1
  • 6
  • 15
0
votes
1 answer

Why Woodstox takes so much memory?

I`m working on server-side Spring based application. We are using JAXB, SOAP and Axiom (wrapped in Spring WS), which marshals/unmarshals xml messages with Woodstox, but our application has problems with garbage processing. We send only 165 Mb…
A M
  • 1
  • 2
0
votes
2 answers

How to remove specific element from a XML by given tag name. AXIOM

Folks, I m just wondering how could I remove an xml element by given tag name from given xml using AXIOM xml process library. so far i have successfully build document. StAXOMBuilder builder = new StAXOMBuilder(stream); OMElement documentBuilder =…
Roshan Wijesena
  • 3,106
  • 8
  • 38
  • 57
0
votes
2 answers

Cant download file from webservice using MTOM and Axis2 stub

I m trying to download a file from my Axis2 webservice server using MTOM and ADB. I can download the file if I dont enable the MTOM both on server and the client sides. Any suggestions or code sample would be nice :) Client side ServerWSStub stub =…
0
votes
1 answer

How to add custom SOAP header in Spring WS using Axiom and XmlBeans

I'm using Spring WS 1.5.8, XmlBeans for marshalling/unmarshalling and AxiomSoapMessageFactory. My app. needs a custom SOAP header. The data that needs to be in the SOAP Header is a XmlBean (i.e sessionContext in the code below). How can I construct…
java_pill
  • 843
  • 3
  • 13
  • 23
0
votes
0 answers

Improve web service performance using AxiomSoapMesageFactory - degradation of performance with large number of users

We currently call SOAP web services which send back very big responses. We use Spring-WS (using WebServiceTemplate), JAX-WS client while invoking the web services and the application is run on Jboss EAP 6.0. We also use SaajSoapMessageFactory…
user2253556
  • 67
  • 2
  • 12
0
votes
1 answer

Changing axioms in JENA API

I have built an application that uses Jena API and lets you create an ontology for Products and have different type of products like sports, electronics products etc. Now what I have to do is to change certain rules. Like one rule is subClassOf…
0
votes
1 answer

Getting InputStream from OMElement

I tried following sample[1] ; but since my OMElement is too large, (I'm converting a file, (800MB) as OMelement, it is coming from another process) I face following issues, Process goes out of memory Serialize takes much time. Can anyone point me…
Ratha
  • 9,434
  • 17
  • 85
  • 163
0
votes
0 answers

java code to consume webservice gives NoClassDefFoundError , Why eclipse looking for latest axiom jars?

I got below NoClassDefFoundError exception while writing java code to consume web service. after some google search I realized this class is present in axiom-impl-1.2.12.jar and i am using axiom-impl-1.2.5.jar. I replaced it and then started getting…
Vipin
  • 4,851
  • 3
  • 35
  • 65
0
votes
2 answers

The XMLInputFactory does not recognize the property "reuse-instance" : Spring MVC, JUnit, RAD & Web sphere server

I have a Spring MVC project(contains Controller & jsp files) and DAO project(Contains DB operation related files) & both the project are configured using annotations. MVC project depends on DAO project. Now, I am writing JUnit test for MVC and DAO…
Vijay Krish
  • 297
  • 6
  • 23
0
votes
1 answer

Axiom test cases doesn't run

I'm working on an Apache Axiom Project. I've wrote juint test cases. And tried to run it. But every time they give this error. (saying that corresponding class has no public constructor TestCase ) junit.framework.AssertionFailedError: Class…
Asiri Liyana Arachchi
  • 2,663
  • 5
  • 24
  • 43
0
votes
1 answer

How to pass DOM Document created using Axiom to evaluate XPath in Psychopath processor

Currently Psychopath Xpath processor uses XercesLoader class to load bytestream and create org.w3c.dom.Document and it can be passed to evaluate the Xpath. InputStream is = new FileInputStream("resources/test.xml"); DOMLoader loader = new…
Asiri Liyana Arachchi
  • 2,663
  • 5
  • 24
  • 43
0
votes
1 answer

AXIS2 Webservice client SOAP envelope error

I have problem with our webservice client. I used to send data to webservice with no problem, but we migrated from Geronimo to Weblogic, and ws client stopped to work. I have investigated data, which are being sent:
holmicz
  • 577
  • 4
  • 15
0
votes
1 answer

Using database resources in Axiom Safe Request

I would like to know how to make use of an Axiom database resource inside a Safe function. Right now I'm just handling the connection manually but I know it would be better to use the already defined resources.
MrM
  • 702
  • 8
  • 12
1 2 3
9
10