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&...]