[jboss-user] [JBoss Web Services] - Casting to StubExr leads to ClassCastException

juan pablo do-not-reply at jboss.com
Mon Jun 14 14:04:16 EDT 2010


juan pablo [http://community.jboss.org/people/jplistero] replied to the discussion

"Casting to StubExr leads to ClassCastException"

To view the discussion, visit: http://community.jboss.org/message/547875#547875

--------------------------------------------------------------
I have the same problem.

How I uses jboss clases ?
My project use JRE: jdk 1.6.0_13 ...  and reference to jbossall-client.jar , jbossws-native-core. 

someone can help ? thanks.

here is the client webservice code. 


try {
 
Service service = new Service();
Port port =  service.getPort();
((StubExt) port).setConfigName("Standard WSSecurity Client");
  
port.doSomething("gogo");
 
}catch (Exception e){
e.printStackTrace();
}

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/547875#547875]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100614/ddb82134/attachment.html 


More information about the jboss-user mailing list