11.07.2015 Views

Anyframe CXF JAX-WS Plugin

Anyframe CXF JAX-WS Plugin

Anyframe CXF JAX-WS Plugin

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

WAS(Web ApplicationServer) Configurationjavax.jws.*• Deploy weblogic.xml file in WEB-INF inside myproject folder. Define so that library and class files inweb application are referred to first. Refer to the below as an example.true6.3.2.10.1• Remove xmlbeans-x.x.x.jar file in WEB-INF/lib folder inside myproject folder.[2] How to copy geronimo-ws-metadata_2.0_spec-1.1.2.jar file• Copy geronimo-ws-metadata_2.0_spec-1.1.2.jar file in JDK_HOME/jre/lib/endorsed folder.• Check the location of JDK 1.5 set when installing WebLogic server, create endorsed folder underJDK_HOME/jre/lib folder, and copy geronimo-ws-metadata_2.0_spec-1.1.2.jar file, under WEB-INF/libfolder of web application currently deployed, to endorsed folder.[Reference] In this case, note that the above work influences the entire WebLogic server.The below additional work is needed for resolving library problems when installing <strong>CXF</strong>-<strong>JAX</strong><strong>WS</strong> <strong>Plugin</strong>.• However, <strong>Plugin</strong>s provided in <strong>Anyframe</strong> are developed based on Jetty, so they basically use 8080 port.Therefore, open cxf-jaxws-servlet.xml file, and change the 'http://localhost:8080/...' part to 'http://localhost:{JEUS use port}/...'.• Create EAR Folder. For instance, the following two folders can be created when project namedmyproject is packaged with ear.myproject.ear/ META-INF/ myproject• Deploy application.xml file in META-INF folder. Refer to the below as an example.Samplemyproject/myproject• Deploy weblogic-application.xml file in META-INF folder. Define so that library in WEB-INF/lib folder forjavax.jws package is referred to first. Refer to the below as an example.38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!