Questions tagged [apache-axis]

Apache Axis is a Web Services engine/framework that works with multiple languages. Use for all versions of Apache Axis. If your question is about a specific language version, use the tag for that language (i.e. Axis C should use [c] )

2412 questions
10
votes
7 answers

Axis error about runtime location

The error is: Exception occurred while reading or writing file {0}The Axis2 facets cannot be installed since the Axis2 runtime location has not been set. Go to the Web Services preference page and set the Axis2 runtime location under Axis2…
Ayrad
  • 3,996
  • 8
  • 45
  • 86
10
votes
3 answers

First call to JAX-WS web service is too slow

Overview: currently we have a web application with multiple module in it. We are using following technology stack JAX-WS Spring framework (except spring MVC) JSF Hibernate Application Server: IBM Websphere 7.0 (Production), Apache Tomcat 7.0.X…
kamigenius
  • 111
  • 1
  • 6
10
votes
5 answers

Getting raw XML SOAP-response on client side using ADB-stubs created by AXIS2

I access a SOAP service using ADB-stubs created by AXIS2. I would like to log the raw XML response of any Axis Fault, that is returned by the service. I can catch those errors as "ServiceError". However, I do not find a way to retreive the raw XML…
Daniel
  • 2,343
  • 2
  • 20
  • 24
10
votes
6 answers

how to add a http header to a soaprequest in java

I try to connect to a Yahoo webservice. I generated the classes by axis2. The problem I am facing right now is, that the webservice requires a specific key value pair in the header and I am absolutely not able, to do so. I searched the web and found…
tgr
  • 3,557
  • 4
  • 33
  • 63
9
votes
1 answer

Jax-WS Axis2 Proxy over SSL error using ProxySelector

In my project I have the following project structure: I have a module that is producing a war file and can be deployed inside a Tomcat application server. This module has dependencies on Axis2 libraries:
Mathias G.
  • 4,875
  • 3
  • 39
  • 60
9
votes
1 answer

Maven cannot find Axis2 1.6.4 or higher

As clearly visible here, the Axis 2 Maven dependency has several versions higher than version 1.6.3. However, they all fail to download when I build (actually when I edit & save my pom.xml) in Eclipse. I have a java 8 project and version 1.5.4…
user1884155
  • 3,616
  • 4
  • 55
  • 108
9
votes
5 answers

java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/resolver/URIResolver

I'm trying to create a simple "Hello" web service and I'm getting the following error: type Exception report message Servlet.init() for servlet AxisServlet threw exception description The server encountered an internal error that prevented it from…
George Melidis
  • 599
  • 3
  • 9
  • 25
9
votes
2 answers

What is the difference between aar and war file?

I don't know what are aar archive files and how they differ from war. I read that they are somewhat convertible. When to use which one? What are pros and cons and limitations.
teodozjan
  • 913
  • 10
  • 35
9
votes
5 answers

Axis2 error : Unable to add the following facets

I am trying to generate an axis2 webservice from a wsdl file in eclipse. I am hitting this error message : Unable to add the following facetsto project AnnuaireAAAAAAAA: Axis2 Web Services Extensions, Axis2 Web Services Core. …
flow
  • 4,828
  • 6
  • 26
  • 41
9
votes
4 answers

Axis2 - Date Format

Scenario The date format which is output as a response to the Web Service client by Axis2 is formatted as "2009-08-28+01:00". I would like to change this to show only the date without the timezone information…
Dynamicbyte
  • 541
  • 1
  • 5
  • 13
8
votes
1 answer

Attach client certificates with Axis2?

Is it possible to easily attach a client certificate to a Axis2 stub generated using wsdl2java? I need to change the client certificate dynamically on a per-request basis, so simply storing it in the keystore won't work for our case. I've found…
Sunny
  • 1,129
  • 4
  • 13
  • 25
8
votes
2 answers

How do I add a namespace reference to a SOAP response with Apache Axis2 and WSDL2Java

I'm looking at the SOAP output from a web service I'm developing, and I noticed something curious:
user13224
  • 101
  • 1
  • 2
  • 4
8
votes
3 answers

How to create an Axis2 Web Service Client in Eclipse?

I'd like to use the "Web Service Client" wizard to create a web service client in Eclipse, but the wizard doesn't allow me to choose Axis2 as the web service runtime; I'm stuck with just plain Axis. I start off at the following screen (which I got…
Jay Sullivan
  • 17,332
  • 11
  • 62
  • 86
8
votes
3 answers

How to preserve the Content-Type header of a Tomcat HTTP response sent through an AJP connector to Apache using mod_proxy

I'm having a problem with an incorrect HTTP Response Content-Type header while accessing an Axis2 web service hosted in Tomcat behind Apache through an AJP/1.3 connector. I can access the web service without problems in the browser through its…
tsbnunes
  • 1,003
  • 2
  • 10
  • 11
8
votes
3 answers

How do I use WS-Addressing properly in an Axis2 client?

All, I'm attempting to write a Junit test that calls a Web Service client in Axis2.1.5, and I've gotten confused about how to exactly to set it up to use WS-Addressing. I've generated a client stub using wsdl2java, and I'm using the axis2.xml and…
elduff
  • 1,178
  • 3
  • 14
  • 22