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
1
vote
0 answers

XmlStreamException - Got character[0] expected a valid XML character

I am seeing a strange behavior in invoking a webservice. I get the response successfully after this line is executed- OMElement result = client.sendReceive(payload); Now if I hover the mouse and inspect the result which is an OMElement, then…
Aravind
  • 53
  • 1
  • 5
1
vote
1 answer

Improve reading of web service responses at the client side by using AxiomSoapMessageFactory

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
1
vote
2 answers

org.apache.axiom.om.impl.llom.OMTextImpl cannot be cast to org.apache.axiom.om.OMElement

I'm trying to do the following. OMElement soapEnvelope = new StAXOMBuilder(soapEnvelopXMLFilePath).getDocumentElement(); OMElement firstElement = soapEnvelope.getFirstElement().getFirstElement(); Then i iterate through the child elements of the…
GayashanNA
  • 478
  • 12
  • 22
1
vote
0 answers

Spring WS attachments- SaajSoapMessage vs AxiomSoapMessage

I have a spring web service which accepts multi-part files in requests. I was using default SaajSoapMessageFactory and testing my web service with SoapUI. When I attach multiple files with the request and when trying to access them at the service…
Thudani Hettimulla
  • 754
  • 1
  • 12
  • 32
1
vote
1 answer

axis2 WS in Websphere 8 - JVMVRFY013

I have a classloading issue in the following project setup: our EAR contains multiple WARs, two of which are relevant, let's call them web and ejb. We are using Websphere 8. Now, the ejb.war contains a number of webservices, one of them being newly…
EvilPuma
  • 115
  • 1
  • 2
  • 7
1
vote
1 answer

Coq, Pattern matching an Axiom with a wildcard

I was working with Coq, and I ran into some trouble trying to pattern match objects constructed with Axiom using a wildcard. I have created a minimal Coq program which demonstrates my problem. Inductive MyType : Set := | A | B. Definition…
Matthew
  • 92
  • 7
1
vote
3 answers

Can't invoke the protected method in StAXOMBuilder() class

I want to create w3c Document using StAXOMBuilder class in Axiom. And there is a method which can be used to achieve that task. OMElement documentElement = new StAXOMBuilder("resources/test.xml").getDocumentElement(); XMLStreamReader…
Asiri Liyana Arachchi
  • 2,663
  • 5
  • 24
  • 43
1
vote
1 answer

Is it safe to re-read an attachment from a DataHandler in Apache Axis2, MTOM or not?

I have a SOAP web service based on Axis2 1.4.1 that accepts MTOM uploads using the pattern from the docs: public class MTOMService { public void uploadFileUsingMTOM(OMElement element) throws Exception { OMText binaryNode = (OMText)…
Rup
  • 33,765
  • 9
  • 83
  • 112
1
vote
1 answer

How to write axioms in Z3 Java API?

In Z3 api, FuncDecl has a DeclKind() to indicates if it is a rewrite rule. But how to create a rewrite rule in Z3 java API?
Betsy
  • 95
  • 5
1
vote
1 answer

axiom builder is null error

I am not sure whether it is relevant but We are using in our system axis2 and JAXB for xml parsing and soap for communication(On tomcat). Everything works well, however, I receive in my logs the following debug message repeatedly after each incoming…
user502490
  • 146
  • 1
  • 10
1
vote
2 answers

Error: org.apache.axis2.AxisFault: No method specified in request

I have problem to make a client with axis2-1.6.2 Then I summarize the problem. I'm trying to use the next wsdl to make a client: http://www.mobilefish.com/services/web_service/countries.php?wsdl I'm using this line in windows: WSDL2Java.bat -uri…
user1889819
  • 11
  • 1
  • 2
1
vote
1 answer

Soap Handler org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

I'm using JAX-WS in a stateless bean exposed as a web service using Spring configuration (not Spring-WS). I've added a SOAP Handler and in handler, when I try to getMessage() on the SOAPMessageContext, I get a An attempt was made to insert a node…
user994165
  • 9,146
  • 30
  • 98
  • 165
1
vote
3 answers

How to control Spring-WS namespace single or double quote with XSLT

I want to change the double quotes to single quotes for a single namespace declaration in my document, while leaving all other namespace declarations as double quotes. How can I do this? Here's the response document from the server:
jasonk
  • 969
  • 5
  • 9
1
vote
1 answer

Different ways of axiomatising a contains-function for Z3 lists

Axiomatising the contains-operation on lists (on Rise4Fun) as (declare-fun Seq.in ((List Int) Int) Bool) (assert (forall ((e Int)) (not (Seq.in nil e)))) (assert (forall ((xs (List Int)) (e Int)) (iff (not (= xs nil)) (= (Seq.in…
Malte Schwerhoff
  • 12,684
  • 4
  • 41
  • 71
0
votes
2 answers

What does "om" in org.apache.axiom.om means?

I'm pretty new to Web Services in java. I was starting on a project where one is already implemented, and there are lots of references to org.apache.axiom.om namespace. What does the om stands for ?
Stephane Rolland
  • 38,876
  • 35
  • 121
  • 169