Eclipse3.1 + lomboz + axis + WebLogic
Development
JAX-RPC WebService
Small Example1. Install lomboz plug-in. Download The emf-sdo-runtime-I200412160800 download file name: emf-sdo-runtime-I200412160800.zip, is the lomboz plug-in required runtime environment, objectweb official website download URL: http://forge.objectweb.org/http://forge.objectweb.org/project/showfiles.php? Group_id = 97 http://forge.objectweb.org/project/download.php? Group_id = 97 & file_id = 3039 download org. objectweb. lomboz_3.1.0.n20050106 download file name: org.objectweb.lomboz_3.1.0.n20050106.zip, is eclispe lomboz plug-in, objectweb official download URL: http://forge.objectweb.org/http://forge.objectweb.org/project/showfiles.php? Group_id = 97 http://forge.objectweb.org/project/download.php? Group_id = 97 & file_id = 3060 install the emf-sdo-runtime-I200412160800 directly decompress the emf-sdo-runtime-I200412160800 to the eclipse directory you just installed above, be sure not to decompress the directory wrong. Install org. objectweb. lomboz_3.1.0.n20050106 and directly decompress org. objectweb. lomboz_3.1.0.n20050106 to the plug-ins corresponding to eclipse. Do not decompress the directory incorrectly. 2. Download the axis package. A and go to the http://xml.apache.org site to download the axis installation package. B. Place the axis package file in the WEB-INF/lib directory. Optional C and axis packages: activation. jar; mail. jar; xmlsec. jar3. install WebLogic Server. (ignore) Example: 4. create a JavaBean package COM. WS. javaBean; public class javabeanws {Public String getjavabeanws (string name) {return "hello" + name + ", this an axis Java Bean web service! ";}} 5. Use lomboz to create an ejbmodule.6. Add the newly created Javabean to jebmodule.7. publish the WebService to the web server.
(1 .)
In web. xml
Configure axisservlet.<Servlet> <servlet-Name> axisservlet </servlet-Name> <display-Name> APACHE-axis servlet </display-Name> <servlet-class> Org. apache. axis. transport. HTTP. axisservlet </servlet-class> </servlet> <servlet-mapping> <servlet-Name> axisservlet </servlet-Name> <URL-pattern>/servlet/axisservlet </URL -Pattern> </servlet-mapping> <servlet-Name> axisservlet </servlet-Name> <URL-pattern> *. JWS </url-pattern> </servlet-mapping> <servlet-Name> axisservlet </servlet-Name> <URL-pattern>/services/* </url-pattern> </servlet-mapping>
(2)
Create a server-config.wsdd Based on Java Bean Web Servic<Deployment xmlns = "http://xml.apache.org/axis/wsdd/" xmlns: Java = "http://xml.apache.org/axis/wsdd/providers/java">