[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu

karypid do-not-reply at jboss.com
Fri Aug 8 08:27:48 EDT 2008


Hello,

I had the exact same problem and got as far as fixing the StubExt issue, but now I am stuck at the "Unable to create WSRM sequence" exception.

How did you fix that? My classpath seems to be correct. Here's the client:

	public void pingTest() {
  | 		System.err.println("java.class.path: "
  | 				+ System.getProperty("java.class.path"));
  | 		System.err.println("java.endorsed.dirs: "
  | 				+ System.getProperty("java.endorsed.dirs"));
  | 
  | 		URL jaxwsThatIsUsed = javax.xml.ws.Service.class.getProtectionDomain()
  | 				.getCodeSource().getLocation();
  | 		System.out.println("JAXWS that is used: " + jaxwsThatIsUsed);
  | 
  | 		ssp.ping("test");
  | 	}

The output is:

JAXWS that is used: file:/D:/Programs/jboss/as0/jboss-4.2.3.GA/client/jbossws-native-jaxws.jar
  | java.class.path: [lots of stuff...];D:\Programs\jboss\as0\jboss-4.2.3.GA\client\jbossws-native-core.jar;[...more stuff];D:\Programs\jboss\as0\jboss-4.2.3.GA\lib\endorsed\serializer.jar;D:\Programs\jboss\as0\jboss-4.2.3.GA\lib\endorsed\xalan.jar;D:\Programs\jboss\as0\jboss-4.2.3.GA\lib\endorsed\xercesImpl.jar
  | java.endorsed.dirs: D:\Programs\jboss\as0\jboss-4.2.3.GA\lib\endorsed

What did I miss?


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

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



More information about the jboss-user mailing list