Web Services Tutorial with Apache CXF
I created a web service today with CXF and wanted to share the steps it took to get it up and running in this quick tutorial. Apache CXF was created by the merger of the Celtix and XFire projects. I chose to implement my service in CXF because some colleagues had been using XFire and would likely want to upgrade at some point. I am using the latest version, which is 2.0.4. While the library itself seems to be of high quality, the documentation is still a work in progress. However, do not fret because this CXF tutorial will get you up and running in no time. I will be creating a simple web service that will allow the retrieval of employee information. The service will return this simple POJO (Plain Old Java Object) bean with matching getters and setters:
package com.company.auth.bean;
import java.io.Serializable;
import java.util.Set;
public class Employee implements Serializable {
private static final long serialVersionUID = 1L;
private String gid;
private String lastName;
private String firstName;
private Set<String> privileges;
public Employee() {}
public Set<String> getPrivileges() {
return privileges;
}
public void setPrivileges(Set<String> privileges) {
this.privileges = privileges;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getGid() {
return gid;
}
public void setGid(String gid) {
this.gid = gid;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public boolean isUserInRole(String role) {
if(privileges == null) { return false; }
else { return privileges.contains(role); }
}
}
First off, you need to download Apache CXF and drop the necessary .jars in your WEB-INF/lib directory:
aopalliance-1.0.jar
commons-logging-1.1.jar
cxf-2.0-incubator.jar
geronimo-activation_1.1_spec-1.0-M1.jar (or Sun’s Activation jar)
geronimo-annotation_1.0_spec-1.1.jar (JSR 250)
geronimo-javamail_1.4_spec-1.0-M1.jar (or Sun’s JavaMail jar)
geronimo-servlet_2.5_spec-1.1-M1.jar (or Sun’s Servlet jar)
geronimo-ws-metadata_2.0_spec-1.1.1.jar (JSR 181)
jaxb-api-2.0.jar
jaxb-impl-2.0.5.jar
jaxws-api-2.0.jar
jetty-6.1.5.jar
jetty-util-6.1.5.jar
neethi-2.0.jar
saaj-api-1.3.jar
saaj-impl-1.3.jar
spring-core-2.0.4.jar
spring-beans-2.0.4.jar
spring-context-2.0.4.jar
spring-web-2.0.4.jar
stax-api-1.0.1.jar
wsdl4j-1.6.1.jar
wstx-asl-3.2.1.jar
XmlSchema-1.2.jar
xml-resolver-1.2.jar
The first thing which needed to be done was to create the service interface. The service interface defines which methods the web service client will be able to call. It’s pretty standard Java with just two JWS (Java Web Service) annotations thrown in:
package com.company.auth.service;
import javax.jws.WebService;
import javax.jws.WebParam;
import com.company.auth.bean.Employee;
@WebService
public interface AuthService {
Employee getEmployee(@WebParam(name="gid") String gid);
}
The @WebParam annotation is in fact optional, but highly recommended since it will make like easier for the end consumers of your service. Without it, your parameter would be named arg0 making it less clear what parameters your service actually takes.
Implementing the actual service comes next:
package com.company.auth.service;
import javax.jws.WebService;
import com.company.auth.bean.Employee;
import com.company.auth.dao.EmployeeDAO;
@WebService(endpointInterface = "com.company.auth.service.AuthService", serviceName = "corporateAuthService")
public class AuthServiceImpl implements AuthService {
public Employee getEmployee(String gid) {
EmployeeDAO dao = new EmployeeDAO();
return dao.getEmployee(gid);
}
}
I then had to tell Spring (which is used by CXF) where to find my Java classes. I created the following cxf.xml file inside my package directory (com/company/auth/service):
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<jaxws:endpoint id="auth"
implementor="com.company.auth.service.AuthServiceImpl"
address="/cxfAuth"/>
</beans>
Finally, I updated my WEB-INF/web.xml file to let CXF know where my cxf.xml file was and define the CXF servlet:
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Auth Manager</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:com/company/auth/service/cxf.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
</web-app>
The most frustrating portion of getting the CXF web service up and running was the following exception:
Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.jws.WebService.portName()Ljava/lang/String;
This is due to the fact that I am running WebLogic 9.2, which contains a library with an older version of JSR (Java Specification Request) 181. The quickest solution for me was to prepend geronimo-ws-metadata_2.0_spec-1.1.1.jar to the WebLogic classpath. This will likely not be the solution I choose to implement in the end, but it got me back up and running. It seemed I also had to clear my WebLogic cache for this fix to take effect. Because I often find instances where this seems necessary, I have created a Windows script to clear the Weblogic Cache. If you run into app server related issues, this was one area I found the Apache CXF docs to be helpful.
Also, if you are running Hibernate, you may encounter ASM incompatibilities between Hibernate’s CGLib and the version of ASM which CXF requires. But do not fret because this is easy enough to solve.
Once this was solved, the list of services was available. The context root for my web project is authManager, so my regular web index page is available at http://localhost:7001/authManager/. The list of web services is then automagically generated by CXF at http://localhost:7001/authManager/services/.
The final step is to build the client. This was very easy when compared to getting the server up and running because I was able to simply swipe the code from the Apache CXF documentation. So, without further ado:
package com.company.auth.client;
import org.apache.cxf.interceptor.LoggingInInterceptor;
import org.apache.cxf.interceptor.LoggingOutInterceptor;
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
import com.company.auth.bean.Employee;
import com.company.auth.service.AuthService;
public final class Client {
private Client() {
}
public static void main(String args[]) throws Exception {
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.getInInterceptors().add(new LoggingInInterceptor());
factory.getOutInterceptors().add(new LoggingOutInterceptor());
factory.setServiceClass(AuthService.class);
factory.setAddress("http://localhost:7001/authManager/services/cxfAuth");
AuthService client = (AuthService) factory.create();
Employee employee = client.getEmployee("0223938");
System.out.println("Server said: " + employee.getLastName() + ", " + employee.getFirstName());
System.exit(0);
}
}
Wow! Wasn’t that cool? (Yes, I’m a dork :o) You should now be up and running with a CXF web service.
If you are looking for something to learn next then may I suggest our tutorial on adding security to your web service. That tutorial will also show you how to setup the client using Spring, which you may find helpful as well.
Thanks a lot for this tutorial i didn’t have any problem to make it run, thanks,
would you mind write another tutorial for restful web services in the same way
thanks again 🙂
Hi,
I already have a web service which throws open SOAP interfaces for the clients. (Spring framework in use.)
Now I want to expose these services as REST interfaces. Can CXF help me? I guess it can as it has an inherent support for REST, but not sure how (REST to SOAP part and it’s integration with Spring). Can u please throw some pointers regarding this. Any help will be highly appreciated.
Thanks,
Very useful and practical tutorial even 1 year later.
I’m getting this error… can anyone help please? This was working for me. I was able to see the WSDL. But suddenly this error started coming up. I’m using Eclipse 3.4.2
Apr 2, 2009 4:29:45 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@e86da0: display name [org.apache.cxf.bus.spring.BusApplicationContext@e86da0]; startup date [Thu Apr 02 16:29:45 CDT 2009]; root of context hierarchy
Apr 2, 2009 4:29:45 PM org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
INFO: No cxf.xml configuration file detected, relying on defaults.
Exception in thread “main” java.lang.NoClassDefFoundError: com/sun/xml/fastinfoset/stax/StAXDocumentParser
at org.apache.cxf.bus.spring.TunedDocumentLoader.loadFastinfosetDocument(TunedDocumentLoader.java:144)
at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.fastInfosetLoadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:164)
at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:126)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
at org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:263)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at org.apache.cxf.bus.spring.BusApplicationContext.(BusApplicationContext.java:91)
at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
at org.apache.cxf.endpoint.AbstractEndpointFactory.getBus(AbstractEndpointFactory.java:73)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServiceFactory(AbstractWSDLBasedEndpointFactory.java:228)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99)
at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:52)
at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:102)
at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:115)
at com.idearc.creditcardauth.client.Client.main(Client.java:23)
Caused by: java.lang.ClassNotFoundException: com.sun.xml.fastinfoset.stax.StAXDocumentParser
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
… 26 more
Hi Ben,
Could you put a tar ball of whole mvn building project ? I am having problem here and there, but I think if I have your the tar ball and look into that, I should be able to figure that out
Thanks
Hi Jim,
I just used Eclipse to build this project. I still haven’t gotten around to learning Maven yet. I’m afraid I lost the original code in a hard drive crash before I backed it up, so I only have what’s posted here.
HI
I have a question !
why we must import a service and the bean in the client classe
import com.company.auth.bean.Employee;
import com.company.auth.service.AuthService;
Tanks for a Tutoriel
it is an advantage for cxf or not ???
Hi Ben,
Compliments for the tutorial. Very well explained. I was wondering whether you could help me with this problem …
I have a service with 3 methods …
1) Method that returns a String.
2) Method returning a void but that does something.
3) Method that does something and returns a List of Objects.
I am using Apache Tomcat 6.0.13 as an application server.
I have built a Client program which I am running on eclipse to test my service. The first method work fine. The third method also seems to work fine on the server. In fact all the logs shows that everything is working fine. Even the soap XML on Tomcat’s console seems to be correct. The problem is here …
Say the 3rd method is supposed to return a list with ‘X’ objects in it … the client always receives a list with ‘1’ object, irrespectively of ‘X’ and also all the fields of that object are null. My complex object does implement the Serializable interface.
Thanks
ICE-LIGHT, in Java, you must import all referenced classes that are located in a different package.
Ok problem solved … thing is that if you’re using Aegis on the Server Side, you also have to use it on the Client side.
A single line of code did the trick:
proxyFactory.setDataBinding(new AegisDatabinding());
great tutorial!!! it worked first time, out of the box – using tomcat 6.0, cxf2.3.
10 minutes to get it up and running.
many thanks!
Hi Ben,
I was trying to run the above example. I am getting the following error. I am using cxt 2.2.3. I have all the jars .
deploy\Hygeia.war\WEB-INF\lib\geronimo-servlet_2.5_spec-1.2.jar) – jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2009-09-13 22:05:27,005 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Hygeia]] Initializing Spring root WebApplicationContext
2009-09-13 22:05:32,823 ERROR [STDERR] Sep 13, 2009 10:05:32 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFO: Creating Service {http://service.auth.company.com/}corporateAuthService from class com.company.auth.service.AuthService
2009-09-13 22:05:34,415 ERROR [STDERR] Sep 13, 2009 10:05:34 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server’s publish address to be /swAuth……
In the web.xml ,I have added the following tags to the existing ones.
contextConfigLocation
classpath:com/company/auth/service/cxf.xml
CXFServlet
org.apache.cxf.transport.servlet.CXFServlet
CXFServlet
/services/*
Any Ideas please???
I faced the same problem that Dom was facing earlier “org.apache.cxf.interceptor.Fault: Marshalling Error:”. I know the post is very old but I am putting here the solution that worked for me for the benefit of anyone else who is stuck with the same problem. The problem for me was that the default constructor was not defined and ObjectInstatntiation was failing. The default data binding class was not giving a very friendly message but when i changed to aegis it gave me an InstantiationException.
Is that a valid procedure to create a cxf client for a web service exposed by other platform as .net??
I was looking for articles on how to deploy cxf on a web server instead of an Endpoint.publish on a single port.
I was able to run your sample on Apache Tomcat. It worked with multiple webservices on the same tomcat port.
Great tutorial.
Thanks a lot!
Hello, Ben..
first of all: thanks for the great article!
Can you help with this error:
WARNING: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at $Proxy45.getEmployee(Unknown Source)
I think it’s a java doubt and not ws: How can I put a Employee, so when I call (AuthService) factory.create().getEmployee(“0223938”) it returns the right Employee and not the Unknown Source Error?
Thanks in advance!
Ben
Instead of CXF generate the wsdl on the fly and have that displayed on the UI when we go to below url.
http://localhost:7001/authManager/services/servicename?wsdl
Is there a way to generate one using java2wsdl and package it in the war and have url refer to the packaged wsdl rather than auto-generated wsdl?
One difference i am seeing between the two wsdl is the one CXF generates automatically imports another wsdl that has types, messages and operations defined in it.
-John
Really great tutorial!! amazing . I did it with out even a single error.
Thanks a million!
Great!
great first steps tutorial abt cxf and web srvces. thank you!
thanks for the great article!
i have one question. in the client side we should enter this code:
factory.setAddress(“http://IPAddressOfTheServer:PortNember/serviceName”);
to invoke the web service
but in my case, to access to the web from the client Machine we should pass by a web proxy. how can I enter the ip adress of the web proxy using in the class Client
Hi Ben,
Your client example contains factory.setServiceClass(AuthService.class);
If I’m not mistaken AuthService class is part of your web service. If so then your client is tightly coupled with the web service implementation which is a ‘no-no’. Clients shouldn’t care about service implementations. All they need to know is WSDL. Here is an example of what i mean http://www.opendocs.net/apache/cxf/2.0/developing-a-consumer.html.
Thanks Ben!
Hello i am in an urgent need of help. its been a week but i am not able to figure out the problem;
I first converted wsdl to java and then created a jar file in MAVEN using apache cxf. I am using jonas server. When i run the client i get the following result
2010-09-20 15:04:37,167 : LoggingOutInterceptor$LoggingCallback.onClose : Outbound Message
—————————
Encoding: UTF-8
Headers: {SOAPAction=[“”], Accept=[*]}
Messages:
Payload:
10072601/10072
60100000001fr_FR1WSS-ATOL2032309
————————————–
2010-09-20 15:04:37,558 : LoggingInInterceptor.logging : Inbound Message
—————————-
Encoding: UTF-8
Headers: {connection=[close], Date=[Mon, 20 Sep 2010 13:04:30 GMT], transfer-encoding=[chu
nked], Server=[Apache], content-type=[text/xml;charset=utf-8]}
Messages:
Message:
Payload: ns1:ClientNo such operation ‘getB
illingPeriodRangeRequest’dvedv332
The error is in this line –> No such operation ‘getBillingPeriodRangeRequest’
Its really strange coz it is looking for an operation which doesnt exist and which it shldnt be looking for this. Is ther anything wrong with my wsdl.
The client code is:
JaxWsProxyFactoryBean factory = new org.apache.cxf.jaxws.JaxWsProxyFactoryBean();
factory.setServiceClass(GetBillingPeriodRange.class);
factory.setAddress(attributes.getWsURL().toString());
factory.getInInterceptors().add(new org.apache.cxf.interceptor.LoggingInInterceptor());
factory.getOutInterceptors().add(new org.apache.cxf.interceptor.LoggingOutInterceptor());
GetBillingPeriodRange billingService = (GetBillingPeriodRange) factory.create();
result=billingService.manageGetBillingPeriodRange(request);
My wsdl is:
Hello i am in an urgent need of help. its been a week but i am not able to figure out the problem;
I have done exactly what you told. I have been able to successfully generate the .jar file with dependencies; I am using jonas server. When i run the client i get the following result
2010-09-20 15:04:37,167 : LoggingOutInterceptor$LoggingCallback.onClose : Outbound Message
—————————
Encoding: UTF-8
Headers: {SOAPAction=[“”], Accept=[*]}
Messages:
Payload:
10072601/10072
60100000001fr_FR1WSS-ATOL2032309
————————————–
2010-09-20 15:04:37,558 : LoggingInInterceptor.logging : Inbound Message
—————————-
Encoding: UTF-8
Headers: {connection=[close], Date=[Mon, 20 Sep 2010 13:04:30 GMT], transfer-encoding=[chu
nked], Server=[Apache], content-type=[text/xml;charset=utf-8]}
Messages:
Message:
Payload: ns1:ClientNo such operation ‘getB
illingPeriodRangeRequest’dvedv332
The error is in this line –> No such operation ‘getBillingPeriodRangeRequest’
Its really strange coz it is looking for an operation which doesnt exist and which it shldnt be looking for this. Is ther anything wrong with my wsdl.
The client code is:
JaxWsProxyFactoryBean factory = new org.apache.cxf.jaxws.JaxWsProxyFactoryBean();
factory.setServiceClass(GetBillingPeriodRange.class);
factory.setAddress(attributes.getWsURL().toString());
factory.getInInterceptors().add(new org.apache.cxf.interceptor.LoggingInInterceptor());
factory.getOutInterceptors().add(new org.apache.cxf.interceptor.LoggingOutInterceptor());
GetBillingPeriodRange billingService = (GetBillingPeriodRange) factory.create();
result=billingService.manageGetBillingPeriodRange(request);
My wsdl is:
Thanks for the article man, the example worked wonders on my weblogic 10.3 server.
great tutorial!!! Really great tutorial!! amazing .
really thanks for it…
Question for any one. I have one service running fine using CXF with RAD7. I have a requirement to call another service that’s in a jar file from within my service. I have the wsdl for the other service, and I have generated the artifacts. However, I am not sure how to go about associating my service to this other service so that I can call it. Obviously, my service will act as a client of this new service. Please provide some assistance if anyone can.
Cheers!
Can u please upload your project. Can’t find the cxf-servlet.xml & cxf-extension-soap.xml.
Its very confusing. I an a newbie
Please help
Thanks! This got me started. Perhaps the easiest for a newby like me is to use the Maven jax-ws archetype. It was a snap. Plus your example helped me put it all together.
Hello I have gone through your article it is very nice for the beginner but you should have mentioned how these files created
cxf-extension-soap.xml and cxf-servlet.xml
no where you have mentioned regarding these files and also what is the use of this tags and xml files.
Please update your source code here it will be very much helpful for all of us.
thanks.
Hi Ben,
Thanks for the awesome tutorial.
I have naive question about the client code to access the web service.
What if we do not know/have access to the class file of AuthService/Employee? We have just the wsdl… Is it not possible to call the webservice in CXF as we do it in Axis2(it creates the stub and call back handler from wsdl)?
Thank you in advance.
Brinal
Thanks a lot…..i badly needed some quick tutorial..you did a great job…
Very nice tutorial. Thanks a lot. Much appreciated.
excellent… this is what I was looking for to face interview
Hi
i have downloaded apache cxf 2.7.1 but when i am configuring in eclipse indigo 3.7,it is showing
“missing CXF jar:please select the CXF HOME directory”
i have downloaded the binary version of cxf 2.7.1 from apache site.
please leave me reply
I am using your example when i run this project i got following loggs :
INFO: Root WebApplicationContext: initialization started
Jan 18, 2013 3:46:59 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@195dd5b: display name [Root WebApplicationContext]; startup date [Fri Jan 18 15:46:59 IST 2013]; root of context hierarchy
Jan 18, 2013 3:46:59 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:02 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:03 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:07 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:08 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:09 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:10 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:11 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:12 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:13 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:13 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:14 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:15 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:19 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:24 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:25 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:26 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:29 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:30 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:37 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:39 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:41 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:42 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
Jan 18, 2013 3:47:43 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [umesh/webservices/cxf.xml]
after than tomcat , gives errror. please help me?
Ben,
Thank you so much for your great effort and helping attitude.
I got this example running in Apache ServiceMix 4.5.3 as a CXF SOAP Service bundled with Maven.
Thanks a lot.
Very Nice, gave lot of confidence.