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

WSDLException : An error occurred trying to resolve schema referenced at

I'm trying to generate a proxy class from a local WSDL file with eclipse Galileo and axis 2 1.4 on windows xp . My problem is that i get an error due to an imported schema inside the WSDL . The line tha troubles me is :
user260192
5
votes
1 answer

SOAP message MUST NOT contain a Document Type Declaration(DTD)

I'm trying to understand ws-security signing and encryption. I've followed this guide. As mentioned I've Installed rampart, have created the relevant *.aar file successfully and deployed it in the tomcat servlet engine, added the…
Asiri Liyana Arachchi
  • 2,663
  • 5
  • 24
  • 43
5
votes
1 answer

Axis2(aar) + spring, without a servletContext

Greetings dear Stackoverflow users, I have been lately in lots of pain with one specific problem with axis2 web services with Spring framework. I have read lots of different guides and read different forums but found people with the same problems…
st6mm
  • 239
  • 2
  • 14
5
votes
1 answer

Generating Arrays for XSD Sequences via JaxB JXC

I've got a XSD describing some sequences of complex types e.g.
Peter Ilfrich
  • 3,727
  • 3
  • 31
  • 35
5
votes
1 answer

SOAP Webservice call from Java gives "Object reference not set to an instance of an object"

I have a requirement where I call a SOAP based web service from Java using Axis2 from eclipse. The web service code is in C#, with a BasicHttpBinding. But when I call the method from the client stub I get this error. org.apache.axis2.AxisFault:…
james2611nov
  • 473
  • 2
  • 10
  • 27
5
votes
2 answers

axis2 Fault: The input stream for an incoming message is null

I am new to java web service and apache axis2.Every time i run my client i get an error that the input stream for an incoming message is null. What could the the issues? I have attached my log log4j:WARN No appenders could be found for logger…
Martin
  • 471
  • 3
  • 8
  • 13
5
votes
2 answers

Axis 2 SOAP call hitting a 4KB limit with CF/AJP 1.3/IIS 7.5

I'm using Coldfusion 10 to build a SOAP webservice, I am running on IIS 7.5, Coldfusion connects to a standalone Java Tomcat server via the AJP 1.3 connector. I'm hitting what seems to be a 4-8KB limit on the size of SOAP requests that my server…
Clarence Liu
  • 3,874
  • 2
  • 25
  • 29
5
votes
2 answers

Axis2 ServiceClient options ignore timeout

I am using Axis2 in version: Implementation-Version: 1.7.0-SNAPSHOT Implementation-Vendor-Id: org.apache.axis2 Implementation-Vendor: The Apache Software Foundation Jenkins-Build-Number: 1847 I want to set the timeout of the ServiceClient to 2000…
seba.wagner
  • 3,800
  • 4
  • 28
  • 52
5
votes
1 answer

Axis2 and customizing an XML schema in a bottom-up approach

I am using axis2 to create a web service from a java class I created. Everything works well, but I'd like to be able to customize the wsdl and I cannot figure out how to do it. I tried using some JAXB annotations with my objects (using axis1) but…
ravun
  • 1,523
  • 9
  • 27
  • 45
5
votes
1 answer

Axis2 SOAP Envelope Header Information

I'm consuming a web service that places an authentication token in the SOAP envelope header. It appears (through looking at the samples that came with the WS WSDL) that if the stub is generated in .NET, this header information is exposed through a…
Zack Angelo
  • 425
  • 3
  • 8
5
votes
2 answers

Why classes generated by wsimport requires JAXBElement parameters?

I have a WSDL file which is from an Axis2 Web Service. When I generate a client stub using wsimport given the WSDL file, the resulting classes require JAXBElement paramaters. Why is it like that? Sample Method from one of the Generated…
Arci
  • 6,647
  • 20
  • 70
  • 98
5
votes
1 answer

Migrating from Axis to Axis2

I need help migrating an Axis project to Axis2. I'm working on an older Axis project, and some of the Java classes were generated from WSDL using the older WSDL2Java tool. The problem now is, Java sees that as an error, since I have the latest…
user1406126
  • 115
  • 4
  • 9
5
votes
1 answer

Best practices for Axis2 with Maven

I'm a novice both to Maven and Axis2. My project consists of three modules: client, interface and server. Service is POJO-based. WSDL is being built at the server module. Interface module contains common stuff like service interface and…
no id
  • 1,642
  • 3
  • 24
  • 36
5
votes
1 answer

Office365 Sharepoint Webservices access via Java - Axis2

We are currently building a Java based server that can interact with Sharepoint 2007/2010 and the Office365 version webservices via Axis2. It seems that we can get Basic/NTLM authentication to work with the Sharepoint 2007/2010 but not with the…
4
votes
1 answer

Which web service engine/framework should I use for high security applications?

I'm working for a company which is involved in developing highly secure web services for banking applications. Web services will be created and consumed inorder to establish communication with applications already in use at the bank. The web…
HariShankar
  • 859
  • 1
  • 10
  • 21