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

WSO2 ESB Axis2 Service throwing Host name verification failed for host

I have created an AXIS service which connects to WSO2 Identity Server and validates a token. When I deploy this axis service on WSO2 App Server, I get the correct response. Where as when I deploy it on WSO2 ESB, I get the following…
sasi_personal
  • 249
  • 3
  • 12
8
votes
2 answers

does axis 2 automatically create (and save) wsdl file?

I have a web service up and running with eclipse/tomcat/axis2. I want to get it linked to a bpel process, so I need the wsdl file. I can display the wsdl by starting the server and going to http://localhost:8080/axis2/services/MyService?wsdl But if…
bernie2436
  • 22,841
  • 49
  • 151
  • 244
7
votes
1 answer

Migration guide from Axis2 to CxF

One of our projects we need to migrate an existing Axis2 - Jax RPC based application to a Apache CxF based runtime. Has anyone done such migration before...what could be the advantages of CxF over Axis 2? Is there any migration guide created for…
SCJ
  • 71
  • 1
  • 2
7
votes
1 answer

Whats the right choice for me for building Web Service using Axis2 - AXIOM, JAXB, ADB or XMLBeans

Axis2 supports Web Service creation using AXIOM, JAXB, ADB and XMLBeans. I am new in this area of Web Service development and want to create a Web Service using Axis2. The web service is going to be very simple but I am expecting it to change quite…
chitresh
  • 867
  • 2
  • 10
  • 17
7
votes
1 answer

IntelliJ does not generate WSDL from Java Code using Apache Axis 2

I'm trying generate a WSDL from java code with Apache Axis2 using IntelliJ (latest and greatest version of ultimate), but the following screen just jiggles for a few seconds and nothing happens. Does this actually work? My web service is a simple…
Inquisitor Shm
  • 1,433
  • 5
  • 17
  • 26
7
votes
3 answers

Axis2 is not working properly

When I try to access Services, Validate and Administration link on the URL http://localhost:82/SOAPDemo/, where my Axis2 Web Application is deployed, it gives me the following error : Servlet.init() for servlet AxisServlet threw exception At the…
Sudarshan Ekambe
  • 123
  • 1
  • 2
  • 9
7
votes
6 answers

What methods exist to auto-generate java client stubs from WSDL files?

I'm new to web-services and have read up some info about XML,SOAP,and WSDL. It's very interesting! I'm working on an existing project that has a web-service and client. However the client the 'higher ups' aren't pleased with the client application.…
ghostlines
  • 95
  • 1
  • 2
  • 7
7
votes
2 answers

Axis security header

Hi trying to generate a security header in a Java Axis2 Client program in the format of.
yurl
  • 641
  • 2
  • 6
  • 6
7
votes
1 answer

Custom service exceptions are being thrown as AxisFault

We have an Axis2 client reading from a SOAP web service; an issue occurred when new client stub classes were generated using WSDL2JAVA and their packages were renamed. The generation tool itself isn't causing the issue, but WSDL2JAVA isn't renaming…
abdelrahman-sinno
  • 1,157
  • 1
  • 12
  • 33
7
votes
2 answers

What is the best way to return big chunks of binary data from a webservice?

I am implementing a webservice that returns the content of binary files. The files are about 100MB big. The webservice and the client are build upon Axis2. What is the best joice for the return type of the method that returns the data? I tried…
ftl
  • 3,014
  • 1
  • 24
  • 25
7
votes
3 answers

JAX-RPC / JAX-WS runtime in Apache Tomcat

I am using Apache Tomcat v6 server. While creating a new Web Service, I get the Web service runtime options for "Apache Axis", "Apache Axis2" and "Apache CXF2.x". Is it possible to have the runtime as "JAX-RPC" or "Jax-WS"? I am using Eclipse IDE.
user182944
  • 7,897
  • 33
  • 108
  • 174
7
votes
2 answers

org.apache.axis2.AxisFault: First Element must contain the local name, Envelope , but found definitions

Requests works fine in my local environment and it doesn't work on the deployed environment . Requests were tried from various clients including soapui. Code is deployed on WAS Axis2 org.apache.axis2.AxisFault: First Element must contain the local…
VPR
  • 71
  • 1
  • 1
  • 2
7
votes
2 answers

Can we implement method overloading in web service class?

I would like to implement method overloading in the Java web service class as follows: public String myMethod(User user) { // My code } public String myMethod(User[] user) { for(int i=0; i
user1227035
  • 203
  • 1
  • 7
  • 19
7
votes
2 answers

Apache Unexpected subelement exception while generating a webservice client

I'm trying to generate a webservice client with wsdl2java from axis2 (version 1.6.1). ./wsdl2java.sh -uri http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/efetch_snp.wsdl When I call this service, I get an Exception.…
martin s
  • 1,121
  • 1
  • 12
  • 29
6
votes
2 answers

How to Read files in an folder inputstream

I have a Jar file that I have created using 3rd party library. When I packaged the jar file, I am including several xml files inside it in a folder named data data - file1.xml - file2.xml - file3.xml Now, I wanted to read the folder…
Mark Estrada
  • 9,013
  • 37
  • 119
  • 186