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
1 answer

MSF4J micoservice trying to communicate with a SOAP service

I am trying to develop a microservice using MSF4J. The service gets the header details of the input request and try to communicate with a SOAP service for further operations. This logic when written as a normal application works fine but when…
Meeran Mohideen
  • 169
  • 1
  • 3
  • 14
0
votes
1 answer

How to get OMElement value?

OMElement.ToString() returns 0d02 but how to I get the exact value 0d02 ? String val = OMElement.GetText(); returns java.lang.NullPointerException I don't get it. Added: Here's more of my code: OMElement elem = null; OMNode node =…
ifuwannaride
  • 121
  • 3
  • 13
0
votes
1 answer

Understanding sequences and returning arrays in WSDL

So my web service is supposed to take one column of data (IDs) and return 2-column table of corresponding data to requested ID's. I understood that I should use a sequence for that purpose so I've made this schema:
ifuwannaride
  • 121
  • 3
  • 13
0
votes
1 answer

axis2 "unexpected subelement value"

I'm trying to use Axis2 to connect to a SOAP webservice. This was previously working in Axis 1, but 2 is causing problems. I've regenerated the Java code using wsdl2java which has generated the stubs for Axis2, but it's falling over when processing…
Submonoid
  • 2,809
  • 2
  • 20
  • 25
0
votes
0 answers

XOPEncodingStreamWriter incompatible with DataHandlerWriter -- WAS8.5.5.2 + AXIOM

Can any one tell me why the below error comes... Unable to perform rendering due to exception (java.lang.ClassCastException: org.apache.axiom.util.stax.xop.XOPEncodingStreamWriter incompatible with…
Naresh
  • 147
  • 4
  • 14
0
votes
1 answer

XSD validation fails with UndeclaredPrefix when using AxiomSoapMessageFactory in Spring WS

I'm building a contract-first SOAP web service with spring-ws 2.2.3. My XML Schema uses extensions, leading to xsi:type= attributes in the XML requests. Since some respones can be very large (30MB), I'm using a AxiomSoapMessageFactory instead of the…
dnswlt
  • 2,925
  • 19
  • 15
0
votes
1 answer

Classcast exception during Rendering while using AXIOM in WAS 8.5.5.2

I am working on application deployed in WAS 8.5.5.2. I am getting the below error while rendering TIF image. I have kept Axiom 1.2.14 which is latest in classpath and restarted the server. Got a classcast exception. Then, i have searched the entire…
Naresh
  • 147
  • 4
  • 14
0
votes
1 answer

Custom Mule Cloud Connector with Axis2 Client

I have developed a custom cloud connector for Mule. I have developed it in IntelliJ using Maven. I generated code from a 3rd party WSDL using Axis2 and XMLBeans. I have developed test cases that pass and show the expected results after…
MonomiDev
  • 301
  • 2
  • 8
0
votes
1 answer

Axiom consistently divides huge CDATA block into several CDATA blocks

I faced with folowing problem I need to send XML message with one huge CDATA block via SOAP service.When AXIOM performs processing parameter it has consistently divide one large CDATA block into smaller blocks like this How I can fix this? try { …
0
votes
0 answers

Axis2 on Weblogic 9

I am trying to use Axis2 on Weblogic 9.2 and getting errors. My code works as I have successfully tested it in Eclipse. When I run from my EAR deployed on Weblogic 9.2, I get the following. Wed Nov 11 15:59:27 GMT…
0
votes
1 answer

How to ignore DTD parsing in Apache's AXIOM

In my xml document , doctype is present. While parsing the xml document using Apache Axiom , it throws an following error msg "org.apache.axiom.om.OMException: Cannot create OMDocType because the XMLStreamReader doesn't support the DTDReader…
V_Dev
  • 83
  • 6
0
votes
1 answer

axiom xpath addnamespace not working

I've created an Axis2 web service client. The response being returned is:
rangelot
  • 1
  • 3
0
votes
1 answer

How can I create and Apache Axiom element from a E4X object from a script running in Rhino?

I am running a script running in Rhino, which creates an E4X object like this: var s = Google Search https://google.com I want to…
Tahir Akhtar
  • 11,385
  • 7
  • 42
  • 69
0
votes
4 answers

Apache axis2/axiom NoSuchMethodError

Using RAD v7 with WebSphere AS v6.1, I am receiving the following; java.lang.NoSuchMethodError: org/apache/axiom/om/OMAbstractFactory.getMetaFactory()Lorg/apache/axiom/om/OMMetaFactory; Other answers (here and here) have indicated that this is…
martieva
  • 131
  • 2
  • 11
0
votes
1 answer

Parsing SOAP request sent from SOAPUI - using Axis2 Servlet

Here's the SOAP request that I am submitting using SOAPUI
gEqx
  • 1
  • 1