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

Installing apache.axiom in eclipse Windows

I have a special requirement on using apache.axiom for webservice purpose. I do not know how to install the plugin in it. I have searched in the Eclipse market-place but couldn't find this package. Hence, I downloaded from Apache website and got…
xingjui
  • 1
  • 1
0
votes
1 answer

Axiom getTextAsStream without caching Parser has already reached end of the document. No siblings found

I'm using Axiom in Axis2 to extract the text from a large base64Binary section of the SOAP message. My receiver is not using MTOM, and uses OMElement.getTextAsStream( false ) to extract the text. The code looks something like this: final…
Nathan
  • 1,418
  • 16
  • 32
0
votes
1 answer

C# client for OMElement from Axis2 web service

I have a Axis2 web service implemented using AXIOM that returns a list of String. The code snippet of client in Java that works is as follws. // * send SOAP message sender.fireAndForget( requestObject ); // * get response OMElement…
Calia Kim
  • 65
  • 14
0
votes
2 answers

Use a non-coalescing parser in Axis2

Does anyone know how I can get Axis2 to use a non-coalescing XMLStreamReader when it parses a SOAP message? I am writing code that reads a large base64 binary text element. Coalescing is the default behaviour, and this causes the default…
Nathan
  • 1,418
  • 16
  • 32
0
votes
1 answer

Creating an AXIOM SOAP message with a large body

I am trying to create a SOAP message with a large XML body. The XML body comes from an input stream and the SOAP message is created manually. How can I use AXIOM to create the message without loading the entire XML body into memory. The code I…
Nathan
  • 1,418
  • 16
  • 32
0
votes
1 answer

How to get Apache Axiom to correctly report source data line numbers when parsing XML

Here's what I'm doing, essentially copy/paste:ing from the Axiom Quickstart documentation: public GenericXmlParser(Reader input, String entryElementName, List dciXmlMappings) { this.input =…
Petter Måhlén
  • 225
  • 2
  • 9
0
votes
1 answer

No result with AXIOMXPath on Axis 2 web service

I am calling a SharePoint 2010 web service from a Java Axis 2 client, using ServiceClient object (no client code generation). I need to query the result with xPath to get the result code and other data in future developments. I can't get a result…
Dino
  • 710
  • 1
  • 10
  • 22
-1
votes
1 answer

OMXMLBuilderFactory.createOMBuilder().getDocumentElement() creates empty elements for elements witout a body

When I pass the string "", OMXMLBuilderFactory.createOMBuilder().getDocumentElement() creates OMElement of . what I need is OMElement of . Is there a configuration for this? Tried StAXParserConfiguration but no configurations were…
Dulmina
  • 423
  • 3
  • 15
-1
votes
1 answer

"Method threw 'java.lang.LinkageError' exception" while calling a stub method

I am trying to call a method of a web service using an auto generated stub. At following line it assigns, Method threw 'java.lang.LinkageError' exception. Cannot evaluate org.apache.axiom.soap.impl.llom.soap11.SOAP11BodyImpl.toString() as the…
Chamila Wijayarathna
  • 1,815
  • 5
  • 30
  • 54
1 2 3
9
10