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

Apache Axis: no containing element

I received the following WSDL from a vendor. The sample service behind it runs on Microsoft .NET. I need to create a web service in Java based on this WSDL.
Michael Sobczak
  • 1,045
  • 1
  • 24
  • 45
6
votes
2 answers

running an axis2 client version 1.5

So I'm running out of ideas to try to actually get a client to connect to the SOAP service I'm running through axis2. I tried two methods, one was to use wsdl2java to build the stub and associated client side classes, and then write a Client class…
Rich
  • 2,805
  • 8
  • 42
  • 53
6
votes
0 answers

Axis2 1.4 Client Side Concurrency Issue (Re-Using Stub)

I've been assigned a piece of work to investigate and propose a fix for an intermittent and (apparently) non-replicable bug which is causing web service calls to fail with the following error: Message does not conform to configured policy […
TomCo
  • 95
  • 1
  • 7
6
votes
3 answers

Accessing a web service from your browser

I'm relatively new to how web services work so I've gone though a tutorial from http://blog.saminda.org/2008/07/light-weight-osgi-based-axis2-powered.html which sets up a web service that prints hello. The code to print out hello is here. In the…
Steve
  • 11,831
  • 14
  • 51
  • 63
6
votes
3 answers

How to catch "Unable to sendViaPost to url"?

I am running two axis2 services which communicate with each other. On every service startup I get this error: 2014-02-24 13:02:31,258 [INFO ] HTTPSender - Unable to sendViaPost to…
Danijel
  • 8,198
  • 18
  • 69
  • 133
6
votes
2 answers

server does not have an epr for the wsdl epr - Axis2

I have been trying to find out the exact reason for the error and this looks like a common error to many of them using Axis but i could not able to fix them with any thing which i was able to find on net. I am able to see my service at…
Harika Mamidi
  • 452
  • 4
  • 20
6
votes
2 answers

Huge Axis2 stubs are not identified as java class files in intelliJ IDEA 12

We have a Java EE application with Java 6, JSF 1.2, Icefaces 1.8.2, Axis 1.4.1 on Eclipse 3.7 and want to upgrade our development pipeline and product to Java 7 JSF 2, Icefaces 3.3.0 Axis 1.4.1 (for now, upgrade later to current stable) on…
zerni
  • 87
  • 4
6
votes
2 answers

Axis2 problem in setting SOAPAction HTTP header

I am trying co connect to a 3'rd party SOAP web service. It seems that the service can work when the HTTP SOAPAction header is an empty String (""). This is the snippet of the wsdl:
rperez
  • 8,430
  • 11
  • 36
  • 44
6
votes
6 answers

Java Web Services - Is Axis Necessary?

Is AXIS or CXF necessary for Java web services? Can it be all done via the JDK (1.6)?
user353829
  • 1,244
  • 5
  • 25
  • 38
6
votes
1 answer

How to invoke a axis2 web service project added as jar dependency to another Maven project?

I created Axis2 web service as a maven project ProjectB and packaged it as jar.I added this ProjectB jar as dependency to the another maven project which is ProjectA in pom.xml. jar file of my ProjectB added as dependency to ProjectA…
SRy
  • 2,901
  • 8
  • 36
  • 57
6
votes
4 answers

Difference between Axis and Axis2 to develop Web Service

In my project, I will have to develop a some data in/out interfaces based on Web Service technology. So until now I have studied about it. What I am curious about Web Service with Java is what library I can use or not. As I searched java library, I…
nick
  • 229
  • 3
  • 5
  • 10
6
votes
2 answers

Apache AXIS Ignore/Skip additional element while parsing

We consume the web service of third party. Whenever they update the XML schema like add the new element we got the following error message. "SAXException: Invalid Element ... " Is there any way in AXIS to ask skip the additional element received on…
Ankur Raiyani
  • 1,509
  • 5
  • 21
  • 49
5
votes
3 answers

Configure webservice URL for client from properties file with Netbeans 7 and Axis2

I'm new to webservice development. I'm using Netbeans 7.0 with the Axis2 plugin and Tomcat 7. I created one project for the server components where I define the web methods, and then created another project for the client components. The client…
Jim
  • 6,753
  • 12
  • 44
  • 72
5
votes
1 answer

wsdl2java client stubs for only some operations supported by the wsdl?

Using Axis2 Wsdl2Java: is there a way to generate the relevant client code from a wsdl, but only for a subset of the supported operations in the wsdl that are of interest. i.e. if the wsdl has say a hundered operations is it possble to only generate…
Mark
  • 141
  • 1
  • 5
5
votes
2 answers

Does Apache Rampart work with maven?

In the project I'm working we are using maven to manage dependencies. However we are having problems with the apache rampart which is a security module to Axis2. We have tried to use the following dependencies tags:
Alceu Costa
  • 9,733
  • 19
  • 65
  • 83