[jboss-user] [JBossWS] - Jbossws client: java.lang.IncompatibleClassChangeError

Christy do-not-reply at jboss.com
Fri Jun 22 09:18:37 EDT 2007


Hi!
Can somebody help me please?
I wrote a simple client using jbossws. I've generated necessary files using wsconsume. 
Here is the code of my client:

public class ClientJaxWS {

    public String getCall() {
        String res = "";
        WSJaxwsService service = new WSJaxwsService();
        WSJaxws port = service.getWSJaxwsPort();
        res =  port.hello("it is me");
        System.out.println("res = " + res);
        return res;
    }
}
But when I try to run my client I have next eror:

java.lang.IncompatibleClassChangeError
	at client.ws.jaxws.ClientJaxWS.getCall(ClientJaxWS.java:13)
	at org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:595) 

Does anybody know what is the problem and what is the reason?
Maybe someone has working examples?
Thank you in advance!


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056864#4056864

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056864



More information about the jboss-user mailing list