Hi
Thank you for you reply. I am using the following code:
WSTestService service = new WSTestService (_wsdlURL,
new QName(_ServiceUrl, "WSTestService"));
TestService port = service.getWSTestServicePort ();
BindingProvider bp = (BindingProvider)port;
bp.getRequestContext().put(StubExt.PROPERTY_CLIENT_TIMEOUT,
new Integer(10000));
bp.getRequestContext()
.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
_endpointUrl);
bp.getRequestContext()
.put(StubExt.PROPERTY_AUTH_TYPE,
StubExt.PROPERTY_AUTH_TYPE_WSSE);
The StubExt is of type import org.jboss.ws.core.StubExt; which i import into my
project.
BR
Yoshi
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244803#4244803
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244803
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user