axis

ERROR: Attempted to write schema for bad QName

Hey everyone I'm trying to import a Java axis web service into C# to be used in my application; however, it is giving me the following error: Attempted to write schema for bad QName Any idea what this could be? I've imported schema before no problem, but this one won't budge. Also, it's important to note that whenever I click the lin...

Moving Axis 1.4 stub project to a Maven based project (Type Access restriction)

For compatibility reasons I have to build Axis 1.4 skeleton classes from exiting an wsdl-file. I use the shipped wsdl2java ant-task from Axis 14. I'm using MyEclipse 8.5 on Java SDK 1.6.0_18, I added the required libraries to my build path and everything goes fine. Now I moved my normal project to a Apache Maven2 project, as I added t...

Connect to AXIS Web Service Issues

So here's the deal. I'm attempting to use Visual Studio to connect to an AXIS web service. Unfortunately, the Web Service does not have a public WSDL file available on the server. I know the location of the Web Service, but it will not let me open the WSDL file from a browser. Luckily, I do have a local copy of the WSDL file that the...

WSDL2Java Throws Could not find main class: org.apache.axis.wsdl.WSDL2Java

I'm trying to use WSDL2Java on my Mac. I setup the CLASSPATH in bash. AXIS=/Users/bernie/axis-1_4/lib CLASSPATH=".:$AXIS/axis-ant.jar:$AXIS/axis.jar:$AXIS/commons-discovery-0.2.jar:$AXIS/commons-logging-1.0.4.jar:$AXIS/jaxrpc.jar:$AXIS/log4j-1.2.8.jar:$AXIS/saaj.jar:$AXIS/wsdl4j-1.5.1.jar"; But when I run java -cp $CLASSPATH org.ap...

Axis 1.4 Handler: How to read multi-ref element values

Hi I am trying to parse a SOAP response containing multi-refs. Could someone provide a code sample of how this should be done? I have access to the SOAPElement type. Thanks for your help. Ranga ...

How to see what Axis2 sends and receives?

I have Axis2 created web service client. This service uses both SSL and WS-Security so I use rampart. I think that my client sends correct query, but I got exception: org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security at org.apa...

What the difference between JAXB and CXF?

Hi, I have tried to generate java classes from a schema xsd with JAXB2.1 and run XJC and it works. I have included the schema in a wsdl file and i generate java classes with wsdl2java command using CXF. The problem is abouta java class where there are difference: The difference is the content attribute and its getter and setter which is...

Why is IDL adding it's own tick marks to my custom plot tick marks?

I'm trying to specify custom Y axis tick marks, but IDL is not cooperating. http://i.imgur.com/BFqMO.png In the top left, 1.0000 should be the max value, but IDL puts a 57 there. 57 is the max array dimension of my data. I have an array of eta levels(strings) corresponding 1:1 with the array indices, and I want to use them as tick m...

Histogram with numeric x-axis in gnuplot?

Hi all, I'm having this file as data.dat: Xstep Y1 Y2 Y3 Y4 332 1.22 0.00 0.00 1.43 336 5.95 12.03 6.11 10.41 340 81.05 81.82 81.92 81.05 394 11.76 6.16 10.46 5.87 398 0.00 0.00 1.51 1.25 1036 0.03 0.00 0.00 0.00 I can plot this data as histogram with this script, hist-v1.gplot (using set style data histogram): set xlabel "X value...

SOAP message response format/layout - web service implemented with Axis 1.4 on Tomcat 5.5 (Linux)

I am having the same issue presented here. http://stackoverflow.com/questions/1294975/specify-order-of-elements-in-a-soap-response-using-java Out of fear of my post in that thread not being answered, i have posted a new question as it is slightly different also. I am utilising Tomcat 5.5 and Axis 1.4. Created Java classes from WSDL cod...

How to get all additional attributes of Magento Product without explicitly specifying them

My goal is to get and display all additional attributes for the Magento product using SOAP API. For example Gender, Shirt Size and Color for T-Shirt product. But the program shouldn't know the attribute names. In the SOAP Call: catalogProductInfo there is additional attributes parameter and it looks like I have to explicitly specify add...

accessing a web service using axis and maven

Im trying to figure out how to access Web Services in Java using Axis. As far as I understand, Here's what I need to do : Use WSDL File + Axis tools to generate Java files. Compile and package generated Java files and then consume those objects by using connection methods on these. In trying to do this, here's where I'm stuck: I pi...

WSS4J kills SOAP envelope when used with SSL

I am trying to consume a .NET web service (secured with SSL and WS-Security - UsernameToken) with Axis (in Java). I don't operate the service, I'm just building the client. The operator of the service turned off SSL and WS-Security, and we got everything communicating properly. Then, they turned SSL on, and everything was still workin...

Adding child elements with diffrent namespace to SOAPHeader - apache axis webservice client

I am developing a client to a webservice using apache axis 1.5 I am trying add 2 child elements to SOAP header with different namespaces for example <soapenv:Header> <wsse:Security soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/...

Where to place .dll files in Axis server.

Hi All, My requirement is to access .dll file (having c++ methods) from a java web service using JNA. If I execute my java code as a stand alone programme I am able to access .dll (placed in the same folder as classes files). But if I use the same code in a web service I am getting below error. I placed .dll file in lib bolder of tomca...

Dynamic invocation with Axis / WSIF and complex types from WSDL

Hi To avoid repeating a lot, I will link to this post which is exactly my problem. So what I'm trying to do is to invoke a web service with complex input types where I just have raw XML in a string as input. Obviously the XML can be parsed into xml nodes etc. but I don't have the custom complex classes which would make it easy of cours...

Getting java.lang.reflect.InvocationTargetException while accesing the webservice

Hi i m new to Axis.Axis(1.4) has been added to my webapp that runs on Jboss. While invoking any service getting-ERROR [STDERR] AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.reflect.InvocationTargetException faultActor: faultNode: faultDetail: {http...

Which is the best maven's plugin to generate a Web Service Client?

I have to generate a WS Client and I can't decide wich plugin to use. Until now my options are: jaxb2-maven-plugin, axistools-maven-plugin and jaxws-maven-plugin. Thanks in advance ...

How to make ggplot2 plots prettier?

I have generated the following plot using the R code that follows it: ggplot(lengths, aes(length, fill = library)) + geom_density(alpha = 0.2) + coord_cartesian(xlim = c(0, 60000)) Now I would like to make the plot a bit prettier: Make the x-axis show length every 5000 units (instead of every 20000) Add x-values on top of the thre...

access to an axis ip-camera

In a future project, I need to access Axis IP-cameras from c# and show the current video-stream of multiple cams in a (WPF)-app. The app must be capable of making snapshots of the current stream. I have looked around and found multiple APIs to access the cams. Axis provides an html-API and an API to use the the ActiveX display-control. ...