axis

org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented

自闭症网瘾萝莉.ら 提交于 2019-12-11 13:28:26
问题 I am trying to call an Axis2 web service using a code like: stub = new MyServiceStub("http://server/app/services/MyService"); stub.ping(); Stubs/skeletons are generated with codegen. I can interact correctly with the web service from other clients (even something low level written with SAAJ) but not from a stupid stub call. I am getting the following error: org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented at org.apache.axis2.transport.http.HTTPSender.handleResponse

Adding ws-security to SOAP axis 1.4 web service built with Eclipse?

独自空忆成欢 提交于 2019-12-11 12:26:32
问题 I built a simple SOAP web service using Eclipse and axis 1.4. Everything is working well. I'd like to enhance it to: 1) require digital signatures with requests 2) validate those signatures 3) allow me to examine the cert used to sign the requests Any guidance at all would be appreciated. I don't mind RTFM but I don't even know what manual to start with. Thanks in advance. 回答1: It appears I can integrate Axis with WSS4J to accomplish what I am after: http://ws.apache.org/wss4j/axis.html Will

Aligning and Synchronising X Axes in MS Chart Doesn't Work

◇◆丶佛笑我妖孽 提交于 2019-12-11 12:18:03
问题 I have a chart control (from System.Windows.Forms.DataVisualization) with two chart areas. ChartArea2 is aligned to ChartArea1 as follows: ChartArea2.AlignWithChartArea = "ChartArea1"; ChartArea2.AlignmentOrientation = AreaAlignmentOrientations.Vertical; ChartArea2.AlignmentStyle = AreaAlignmentStyles.All; This works well except the X Axes are not aligned, despite being included in the AlignmentStyle. Instead, their minimum, maximum, interval, etc remain independent and are set according to

How to trigger a handler class when consuming web-service in java

妖精的绣舞 提交于 2019-12-11 12:16:56
问题 Using Axis 1.4 I built client application that will consume external server services. The server application response with soap message that include header tag along with body tag. My problem with the header tag, I am trying to find away to get the header element. What is done so far: I found that I need to use a handler that extends BasicHandler using this class I can get the header tag. source: Dealing with SOAP Headers in Axis But how to make this handler work when consuming web-service? I

Displaying an inverted vertical date axis

一笑奈何 提交于 2019-12-11 11:59:29
问题 The chart I'm trying to make is a 2D-array with date as its vertical dimension. By convention, the dates should increase from the top down. Displaying the date the other way around works fine with this code: import numpy as np import matplotlib as mpl import matplotlib.colorbar as cb import matplotlib.pyplot as plt from datetime import datetime y = np.reshape(np.random.rand(100), (10, 10)) f1 = plt.figure() ax1 = f1.add_axes([0.15, 0.15, 0.76, 0.80]) mindate = mpl.dates.date2num(datetime(2010

Double x-axis on a spider plot with Gnuplot

扶醉桌前 提交于 2019-12-11 11:51:59
问题 I'm making a spider (or chart, polar, etc.) plot using Gnuplot. The code works properly, but in the output figure I get a duplicate positive x-axis (looking at the figure, you can observe that the line is darker) and also a duplication of labels. How can I solve that? The code is this: #!/usr/bin/env gnuplot unset border set polar set angles degrees set term pngcairo enhanced size 800,800 set output 'graph_eff_10_3_accuracy_spider.png' set xtics axis set ytics axis set grid polar 90 set style

Controlling position of subsystems in Sankey-diagram with matplotlib

自闭症网瘾萝莉.ら 提交于 2019-12-11 09:02:56
问题 I have the following question: I would like to add two subfigures to a Sankey diagram, that are not connected to each other. if I draw: import matplotlib.pyplot as plt from matplotlib.sankey import Sankey fig = plt.figure(figsize = (12, 5), frameon=True) ax = fig.add_subplot(1, 1, 1) sankey = Sankey(ax=ax, unit=None, radius=0.15, shoulder = 0, gap = 0.15) sankey.add(flows=[0.2, -0.2], label='A', orientations=[-1, 0]) sankey.add(flows=[0.1, -0.1], label='B', orientations=[1, 0]) diagrams =

Fits image input to a range in plot - Python

老子叫甜甜 提交于 2019-12-11 08:56:09
问题 I'm wondering if I could "scale" a image input to be plotted to a range in the plot. To be more clear, this is what I need: I have a 400 * 400 image that is generated based on a function which interval is -1..1. So, I do a translate to save this data, like this: x = Utils.translate(pos_x, 0, self.width, -1, 1) y = Utils.translate(pos_y, 0, self.height, -1, 1) data = Utils.map_position_to_function(x, y) I.e, first I map its position to my range and then I calculate de f(x, y) based on this

Rearrange x-axis of hour when plotting

寵の児 提交于 2019-12-11 08:37:19
问题 I have a record of activities by six groups of people which looks like this: grp hour intensity 1 0 0.048672391 2 0 0.264547556 3 0 0.052459840 4 0 0.078953270 5 0 0.239357060 6 0 0.078163513 1 1 0.029673036 2 1 0.128206479 3 1 0.030184495 4 1 0.076848385 5 1 0.061325717 6 1 0.039264419 1 2 0.020177515 2 2 0.063696611 3 2 0.023759638 4 2 0.047865380 5 2 0.030226285 6 2 0.021652375 ... and I make a multiple-line graph out of it: library(lattice) xyplot(intensity ~ hour, groups= grp, type= 'l',

Is Axis2/C still being maintained?

不羁岁月 提交于 2019-12-11 08:23:21
问题 I have to write a web-service client and server (a kind of proxy) and was looking at my options. I narrowed it down to Axis2/C and gSOAP for a number of reasons. I tended toward Axis2/C mainly because of the more permissive license, but saw that the last version is dated April 2009! Is it still being maintained? Has everyone gone to something else (gSOAP or something else entirely)? PS: I have no experience in WS and got all my info from Google searches. 回答1: Axis2/C is still maintained but