Sorry Thomas. Finally i talked to the client developers and now i can use
jbossws in the client side.
The new SessionFacadeWSImpl() would be something like this?
| System.out.println(" -0000001 SFWSI - Kike --->Creando Servicio");
| URL wsdlURL = new
URL("http://127.0.0.1:8080/SesionSessionBeanService/SesionSessionBean?wsdl");
| QName serviceName = new
QName("http://localhost:8080/jbossws/services/Sesion", "LoginService");
| Service service = Service.create(wsdlURL, serviceName);
| sesionSession =
(SesionEndPointInterface)service.getPort(SesionEndPointInterface.class);
| System.out.println("0000002 SFWSI Kike --->Creado
Servicio , sessionSession ->" + sesionSession.toString() );
| System.out.println("0000002 SFWSI Kike --->Creado
Servicio , service ->" + service.toString() );
|
| BindingProvider bindingProvider =
(BindingProvider)sesionSession;
| Map<String, Object> reqContext =
bindingProvider.getRequestContext();
|
reqContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
TARGET_ENDPOINT_ADDRESS);
| reqContext.put(BindingProvider.USERNAME_PROPERTY,
"kermit");
| reqContext.put(BindingProvider.PASSWORD_PROPERTY,
"thefrog");
|
after it , cain i call the login service from sessionSesion?
which class hava i to copy in the client? Only the endpointInterface?
Thanks Thomas
Regards kike
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051987#4051987
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051987
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user