ServiceRequestService_Service_Impl service = new ServiceRequestService_Service_Impl((new StringBuilder()).append("http://").append(getConfig().getHost()).append(getConfig().getUrl()).append("?WSDL").toString()); InputStream is = getClass().getResourceAsStream("/weblogic/wsee/policy/runtime/SignCustom.xml"); ServiceRequestService_PortType port = service.getServiceRequestServicePort(is); List credProviders = new ArrayList(); CredentialProvider cp = new ClientUNTCredentialProvider(getConfig().getUsername(), getConfig().getPassword()); credProviders.add(cp); Stub stub = (Stub)port; stub._setProperty(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders); ....... CreateUpdateServiceRequestResponse response = port.create(ticket); --------------------------------------------------------- Policy file(SignCustom.xml) is below: --------------------------------------------------------- <!--?xml version="1.0"?--> --------------------------------------------------------- The following header is generated: samskkbmpr9L8qKUMSklIvi+hJwSjOI=4SRtAvs0yvO2WZz0gpcwnw==2009-06-30T15:50:05Z -------------------------------------- samskkbmpr9L8qKUMSklIvi+hJwSjOI=4SRtAvs0yvO2WZz0gpcwnw==2009-06-30T15:50:05Z There is a problem with date format and password generation.