aodhan hoffman [http://community.jboss.org/people/gryffin] replied to the 
discussion

"accessing secure wsdl"

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

--------------------------------------------------------------
Thank you. Unfortunately, I do this already as you can see here:

            assetApiService = new AssetAPIService( );
            assetService = assetApiService.getAssetAPIServiceHttpPort();
          
            
((BindingProvider)assetService).getRequestContext().put(BindingProvider.USERNAME_PROPERTY,
 "******");
            
((BindingProvider)assetService).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY,
 "******");

The problem arises because *assetApiService = new AssetAPIService( );* fails. 
It fails because the entire service url is protected. I need to provide the 
username/password at the time the WSDL is dynamically sought as the ws stub is 
instantiated.

So I somehow need to get the credentials into a the context somewhere around 
here:

        public AssetAPIService(URL wsdlLocation, QName serviceName) {
                super(wsdlLocation, serviceName);
            }

where 'wsdlLocation' is password protected. Thanks!

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

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to