About the Soapmonitor configuration for axis 1.4

Source: Internet
Author: User

Because of the need to write a WS server program to receive messages, and the other documents and WSDL files are used in the Axis 1.x version, so only use axis1.4 to do, the official website only axis1.4 can be downloaded.

axis1.4 configuration is very simple, there is a lot of information on the Internet, here is not repeated.

reference materials such as: http://www.cnblogs.com/qqzy168/p/3372330.html

axis1.4 is deployed, by default, Soapmonitor is off, and if you want to open it, you need the following steps:

1, find the Soapmonitorapplet.java program, compile it, and put the generated class file into the Webapps\axis directory, where the Web root is assumed to be webapps,axis as the deployment directory, The directory to access Soapmonitor is: Http://localhost:8080/axis/SOAPMonitor

2, do not know is because I downloaded the axis1.4 package problem, in the use of Appletviewer http://localhost:8080/axis/SOAPMonitor run applet, will error, as follows:

HTML parsing: The value of the width/height property is incorrect

Java.lang.NumberFormatException:For input string: "100%"

So I also the officer net [http://www.eu.apache.org/dist/axis/axis/java/1.4/] downloaded the source code, Modified the 167 lines of the Org.apache.axis.monitor.SOAPMonitorService:

Response.getwriter (). println ("<embed type=\" application/x-java-applet;version=1.3\ "code= Soapmonitorapplet.class width=100% height=100% port=\ "" +port+ "\" Scriptable=false pluginspage=\ "/http/ Java.sun.com/products/plugin/1.3/plugin-install.html\ ">");

Modified to read as follows:

Response.getwriter (). println ("<embed type=\" application/x-java-applet;version=1.3\ "code= Soapmonitorapplet.class width=800 height=600 port=\ "" +port+ "\" Scriptable=false pluginspage=\ "/http/ Java.sun.com/products/plugin/1.3/plugin-install.html\ ">");

3. Replace the generated 3 class files with the corresponding files in the original Axis.jar Org.apache.axis.monitor directory

4, according to other user articles deployed, you can visit, reference as follows:

http://m.blog.csdn.net/blog/chong232/3992004

5, just beginning I also in accordance with 4th, most of the information on the Internet to install, and later found no, so step by step to solve, finally appeared the Applet interface, now recorded, as a memory for the next time, but also hope to meet the same problem of people have help.


This article from "Day Up" blog, please be sure to keep this source http://comjn.blog.51cto.com/10808302/1718022

About the Soapmonitor configuration for axis 1.4

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.