Eclipse3.1 + lomboz + axis + WebLogic development JAX-RPC WebService example

Source: Internet
Author: User
Tags sdo

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">  

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.