axis

What does this Java error message entail? And how can i fix it?

I get this message when trying to communicate with software that communicates with SOAP? Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. I am using a third party API to communicate with an Ardome MAM system. ...

AXIS 1.4 adds elements to custom fault type

Maybe someone found a workaround for the following problem: It seems as if AXIS 1.4 adds an <exceptionName> and a <hostname> element to each custom fault element. In the WSDL the fault is defined to only consist of a custom fault message systemMessage. This is the answer returned from my service. Never mind about the error, it could be...

Excel VBA: Is there any way to format chart axes through VBA only?

Hi, I have to make column charts in Excel using VBA only (no user input). I wanted to format the labels of the x-axis so that the alignment for every label becomes -270 degrees. (This can be done manually by changing the "Custom angle" property in the "Alignment" tab of the "Format Axis" Dialog.) I have tried recording a macro for this ...

Changing port on which an Axis web service is listening to

I have a web application running on port :80, and I have an Axis web service that is part of that web application. As such, the service is running on port :80 as well. However, for security reasons our client has asked us to change the web service port to 8080 so that they can allow access only to that port for remote consumers of the w...

Ant cannot find a class needed by an externally defined taskdef

I am trying to use the axis-java2wsdl ant task to create a wsdl from one of my java classes, but I cannot get the classpath correct. I am using Ubuntu's libaxis-java package which installs axis-ant.jar in $ANT_HOME/lib and axis.jar in /usr/share/java. The interesting parts of my build.xml look like this: <property name="library.dir" v...

Where does the tomcat axis file server-config.wsdd come from?

Part of our system provides a web service through apache tomcat, the service is referenced in the server-config.wsdd file. Unfortunately nobody can remember how it got in there. The apache set up has changed, and I need to update the system for the new configuration. What magic keywords can I google for to help me work out how and why it...

Locator and stub class while migrating client side application from Axis to Axis 2

Hi everyone, I’m trying to migrate a client side application from Axis to Axis 2. The application also supports connection through RMI so previously, we abstracted away the connection by using the stub and the locator file. For example, we did something like the following: AddFunctionLocator locator = new AddFunctionLocator (); AddF...

Weird Tomcat and Axis Webservice behaviour

I have a simple web service deployed on tomcat using Apache Axis. If i access the webservice as http://localhost:8080/webservices/TransactionService i see the usual message TransactionService Hi there, this is an AXIS service! Perhaps there will be a form for invoking the service here... showing that the web service is...

How to match SOAP responses to the schema

Hi I am trying to evaluate a web service. I am using the Axis API to create the requests. I send requests with some attacks, and then want to validate the obtained response to the response schema. I don't have much idea as to how can I achieve this. Can some one help me to achieve this, or give me some pointers that would give me some id...

Axis SecureSocketFactory - Setting the constructor attributes

I have a customer SecureSocketFactory set to be used by Axis when making an https connection using the following property: AxisProperties.setProperty("axis.socketSecureFactory", "com.metavante.csp.model.manager.mobilepayments.MonitiseSSLSocketFactory"); When this class is instantiated by Axis the constructor with a Hashtable (attributes...

Java naming clash between method variable and package names

I have some classes generated from WSDL files by the Axis Framework. In one of these classes, there is a generated method public com.initechsystems.www.initech7.initechbo.Organization createOrganization(com.initechsystems.www.initech7.initechbo.Organization org) throws java.rmi.RemoteException { //(... snip ...) _call.setProperty(org....

How to animate the flex chart axis when the maximum of the data changes?

I have a flex chart feed with multiple data sets, and I want to display only one of the data set in one view. So I created multiple buttons to select different data sets. Whenever the user clicks one of the buttons, I adjust the maximum of the vertical axis so that the chart can represent the data normally (i.e. not to display the fluctu...

Decide between beans or xml in a soap message using axis

We are defining a new application interface using the paradigm of web services and axis as web services implementation. We hesitate to use beans or basic xml soap messages. We believe that beans can have compatibility problems if at the other side of the call there is no interface axis. Has anyone used axis with beans and receive calls f...

opengl rotation problem

can anyone tell me how to make my model rotate at its own center go gravity in stead of the default (0,0,0) axis? and my rotation seems to be only going left and right not 360 degree.. ...

How to resolve WSDL2Java creating a static block larger than 64K?

We're currently working with a vendor-provided WSDL schema that is very large. The binding style is RPC. As far as I know, Axis 1.x is the only Java tool supporting RPC WSDL definitions. Please do correct me if I'm wrong about that. WSDL2Java generates a service-nameSkeleton.java file that has a static intialisation block 1.3Mb in size ...

Do I need an AAR file for an Axis web service?

I am getting started with an Axis-based web service, written in Java, which will run on WebSphere. My question is, can I just bundle this up as a web application like I usually do, as a WAR file inside of an EAR file, or do I need an AAR file, inside a WAR file, inside an EAR file? Or are AAR files just for packaging up web service com...

Problem generating Java SOAP web services client with JDK tool wsimport from a WSDL generated by a .NET 2.0 application

I'm trying to generate a client for some SOAP web services using the JDK 6 tool wsimport. The WSDL was generated by a .NET 2.0 application. For .NET 3.X applications, it works fine. When I run wsimport -keep -p mypackage http://myservice?wsdl it shows several error messages like this: [ERROR] A class/interface with the same name ...

Use custom Soap Header using Axis 1.4

I'm trying to consume a .Net 2.0 web service using Axis. I generated the web services client using the Eclipse WST Plugin and it seens ok so far. Here the expected soap header: <soap:Header> <Authentication xmlns="http://mc1.com.br/"&gt; <User>string</User> <Password>string</Password> </Authentication> </soap:Header> I didn'...

JAX-WS client with AXIS server; namespace problem?

I'm having a problem related to JAX-WS and AXIS. JAX-WS (2.1.7) as a client, Axis (1.4.x) as server. Everything works OK, but the response can't be read to Java. Response: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xm...

Flex: How to add horizontal axes to a chart?

I have a dynamically created chart and I need to add a horizontal and vertical axis in a script. I can't put the chart into MXML because I'm dynamically changing the chart type, deleting and creating a new chart. Therefore, the variable that I use to create the chart, an instance of chartBase, doesn't have either a horizontalAxis or vert...