[jboss-user] [Beginners Corner] - Re: Beginners problem with ((StubExt)port).setSecurityConfig
yoshi96
do-not-reply at jboss.com
Tue Jul 21 02:25:38 EDT 2009
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
More information about the jboss-user
mailing list