axis

Sonarqube thrashing when doing AST scan on old Apache Axis 1.2.1 generated code

老子叫甜甜 提交于 2019-12-24 14:04:08
问题 On some code that was generated by Apache Axis 1.2.1, sonarqube started to have issues scanning it. It gets stuck on the file and then seems to eat up memory and keep running GC until it eventually stops. It will log errors like the following Java Main Files AST scan... 11 source files to be analyzed 9/11 files analyzed, current is /bamboo-path/TestProjectWAR/src/main/java/com/example/sonar/bug/Contact.java 9/11 files analyzed, current is /bamboo-path/TestProjectWAR/src/main/java/com/example

进一步分析51job上宁波财务和IT的数据的招聘数据

こ雲淡風輕ζ 提交于 2019-12-24 10:56:44
进一步分析51job上宁波财务和IT的数据的招聘数据 进一步分析上次爬的数据后发现上次应该把地址爬下来,现在的数据只能做个简单的热力图,不过也懒得重新去爬了。将就用吧。 一、看看财务和IT的需求比例 用pyecharts实现的,发现这个画的图很漂亮。 代码和官网的demo很像,基本没怎么改。 # -- coding:utf-8 -- import pymongo import pandas as pd from pyecharts import options as opts from pyecharts.charts import Pie from pyecharts.charts import Map conn = pymongo.MongoClient('127.0.0.1',port=27017) db = conn['51job']['51job宁波财务'] db2= conn['51job']['51job宁波IT'] df=list(db.find())+list(db2.find()) df=pd.DataFrame(list(df)) df.drop("公司名",axis=1,inplace=True) df.drop("职位名",axis=1,inplace=True) df.drop("_id",axis=1,inplace=True) #画饼图 def

How to catch a MessagingException on Apache Axis

一曲冷凌霜 提交于 2019-12-24 09:13:36
问题 On my Axis 1.4 webservice this exception is thrown when an incoming message is corrupted. WARN ;2010-07-15 14:45:38,232;org.apache.axis.attachments.AttachmentsImpl;;Exception: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: javax.mail.MessagingException: Error in input stream; nested exception is: java.io.IOException: End of stream encountered before final boundary marker. faultActor: faultNode: faultDetail: {http://xml.apache

how to set two x axis and two y axis using ggplot2

孤街浪徒 提交于 2019-12-24 08:57:02
问题 My data looks like this: d <- data.frame(X=c('x1','x2','x3','x1','x2','x3','x1','x2','x3'), Y=c('y1','y1','y1','y2','y2','y2','y3','y3','y3'), Value=c(1,2,1,3,1,4,3,5,2)) I use the following code to generate a heat map: ggplot(d,aes(x=X,y=Y,fill=Value)) + geom_tile() + scale_fill_gradient2(low='green',mid='white',high='red',midpoint=3) + theme(axis.text.x = element_text(angle = 90), axis.text = element_text(size = 10), panel.background = element_blank()) + labs(x='',y='') The graph is: But,

Axis wsdl2java not generating all interfaces in stub

耗尽温柔 提交于 2019-12-24 07:52:36
问题 I am trying to generate stub using wsdl2java.bat, my wsdl consists of two bindings. I see that wsdl2bat creates interface for operations in the first binding but does not generate anything for operations in the seconds binding. wsdl2java.bat -uri http://... -o client -d adb -s -u. For example the code should look like this try { //Create the stub by passing the AXIS_HOME and target EPR. //We pass null to the AXIS_HOME and hence the stub will use the current directory as the AXIS_HOME

How do I refer to a client_deploy.wsdd file that's in WEB-INF?

血红的双手。 提交于 2019-12-24 05:58:56
问题 A basic question, but I can't seem to find the answer. I have an Axis-generated web service that also calls another web service (for which the stubs are also generated with Axis). It's deployed in weblogic 9.2 That called web service requires authentication. I've googled for the code to set up authentication. It requires that I set up a client_deploy.wsdd file which I've done, and added it to WEB-INF. I need to specify this flle to Axis. There seem to be several ways of doing this, including

How to make sure my plots share same axis while using multiplot in gnuplot?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 02:47:11
问题 I use the following script to plot a matrix file file.dat and two points on the same plot. The problem is that my x and y axis do not overlap for the two different plots. set multiplot set pm3d map splot 'file.dat' matrix unset pm3d plot '-' w p > 20, 10 > 30, 40 > e unset multiplot 回答1: Try nonuniform matrix instead of splot and pm3d map : set multiplot set size 1,1 unset colorbox plot[0:3][0:2] '-' nonuniform matrix with image 12 0 1 2 3 0 5 4 8 9 1 6 4 7 8 2 5 6 2 4 e e set size 1,1 plot[0

Attachment support is disabled when using axistools-maven-plugin

蓝咒 提交于 2019-12-23 23:57:18
问题 I have used the maven plugin axistools-maven-plugin in version 1.4 for many projects to build webservice clients from wsdl. And I always get the error message that is coming from wsdl2java: 15.07.2011 08:47:02 org.apache.axis.utils.JavaUtils isAttachmentSupported WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. Unless the classes are generated correctly, I just wanted to ask if anyone has the same

How to remove xmlns=“” from xml request

对着背影说爱祢 提交于 2019-12-23 22:50:29
问题 i'm trying to remove blank xmlns from the xml request generated from stub that i've auto-generated from a wsdl using the axis wizard. Axis wizard generates the request class in which there is: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Request.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://myNamespace")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc

How to delete apache axis tmp files without restarting

烂漫一生 提交于 2019-12-23 18:28:01
问题 We're using apache axis to talk to a web service. It works fine, but over the course of a day we're generating 1GB of temp files. These files are deleted if we restart the service, but needing to restart the service every day so we don't run out of disk space seems a bit silly. Is there an easy fix for this? 回答1: If you know the temp directory path, You may run rm -rf /path/to/temp/* every 6 , 12 ..etc through cron. Or you may write bashscript of you are running on linux system to empty this