I imported the WSDL at Netbeans but it shows this message "PKIK path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to request target"
But Netbeans created a source code, when a run the program a error occurs:
was evaluated as "UNKNOWN".
10/10/2012 15:57:10 [com.sun.xml.ws.policy.EffectiveAlternativeSelector] selectAlternatives
AVISO: WSP0019: Suboptimal policy alternative selected on the client side with fitness "PARTIALLY_SUPPORTED".
10/10/2012 15:57:10 [com.sun.xml.ws.policy.EffectiveAlternativeSelector] selectAlternatives
AVISO: WSP0075: Policy assertion "{
was evaluated as "UNKNOWN".
10/10/2012 15:57:10 com.sun.xml.ws.security.impl.policy.Constants log_invalid_assertion
AVISO: SP0100: a asserção da política Assertion[com.sun.xml.ws.policy.sourcemodel.DefaultPolicyAssertionCreator$DefaultPolicyAssertion] {
assertion data {
namespace = '
prefix = 'msf'
local name = 'SslTransportSecurity'
value = 'null'
optional = 'false'
ignorable = 'false'
no attributes
}
no parameters
no nested policy
} não é suportada na asserção Token.
10/10/2012 15:57:10 [com.sun.xml.ws.policy.EffectiveAlternativeSelector] selectAlternatives
AVISO: WSP0019: Suboptimal policy alternative selected on the client side with fitness "PARTIALLY_SUPPORTED".
10/10/2012 15:57:10 [com.sun.xml.ws.policy.EffectiveAlternativeSelector] selectAlternatives
AVISO: WSP0075: Policy assertion "{
was evaluated as "UNKNOWN".
10/10/2012 15:57:10 [com.sun.xml.ws.policy.EffectiveAlternativeSelector] selectAlternatives
AVISO: WSP0019: Suboptimal policy alternative selected on the client side with fitness "PARTIALLY_SUPPORTED".
10/10/2012 15:57:13 ws1.NewWebServiceFromWSDL main
GRAVE: null
javax.xml.ws.soap.SOAPFaultException: An error occurred when verifying security for the message.
at com.sun.xml.ws.security.secconv.WSSCPlugin.sendRequest(WSSCPlugin.java:444)
at com.sun.xml.ws.security.secconv.WSSCPlugin.process(WSSCPlugin.java:263)
at com.sun.xml.ws.security.secconv.impl.client.SCTokenProviderImpl.issue(SCTokenProviderImpl.java:135)
at com.sun.xml.ws.api.security.trust.client.IssuedTokenManager.getIssuedToken(IssuedTokenManager.java:83)
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.startSecureConversation(SecurityClientTube.java:554)
at com.sun.xml.ws.rx.util.Communicator.tryStartSecureConversation(Communicator.java:406)
at com.sun.xml.ws.rx.rm.runtime.ClientTube.createSequences(ClientTube.java:409)
at com.sun.xml.ws.rx.rm.runtime.ClientTube.openRmSession(ClientTube.java:347)
at com.sun.xml.ws.rx.rm.runtime.ClientTube.processRequest(ClientTube.java:188)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:961)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:910)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:873)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:775)
at com.sun.xml.ws.client.Stub.process(Stub.java:429)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:168)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:102)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:151)
at $Proxy44.queryCalls(Unknown Source)
at ws1.NewWebServiceFromWSDL.main(NewWebServiceFromWSDL.java:75)
Preparing a Certificate
A certificate is necessary for BSF to establish SSL communication.
Before you begin:
• Prepare the host name of the computer on which the System Applications run.
Certificate Requirements
The certificate must contain the following information:
• Subject name identical to the machine name on which the BSF Server is installed.
• Key Usage parameter values: Digital Signature, Non-Repudiation, Key Encipherment, Data
Encipherment (f0).
• XXXX The site ID on which the BSF Server is installed.
• YYYY The machine name on which the BSF Server is installed.
IMPORTANT
Usually, an SSL certificate does not provide all the required Key Usage attributes. For example,
a VeriSign SSL certificate only provides Digital Signature and Key Encipherment (a0).
I believe certification is right. Now I'm get this message error:
Client received SOAP Fault from server: Object reference not set to an instance of an object. Please see the server log to find more detail regarding exact cuase of the failure.
BSF show:
16/10/12 18:09:44.150 | DEBUG | 5 | NICEPerform.BSF.Logic.AuthenticationManager | AuthenticationManager.AuthenticateNiceIdentity User was authenticated. User already exists in local authentication repository. (user name = 'XXXX')
16/10/12 18:09:44.150 | DEBUG | 5 | NICEPerform.BSF.DataAccessLayer.InMemoryAuthenticationRepositoryAdapter | InMemoryAuthenticationRepositoryAdapter.Update Expiration date of user Authentication Record was updated. (old expiration date = '10/16/2012 21:36:14', record = 'AuthenticationRecord: (user = 'XXXX', ExpirationDate='10/16/2012 9:39:44 PM''
16/10/12 18:09:44.150 | DEBUG | 5 | NICEPerform.BSF.DataAccessLayer.InMemoryClientRepositoryAdapter | InMemoryClientRepositoryAdapter.Update Client last access was updated. (key = 'XXXX', last access = '10/16/2012 21:09:44'))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.