3 Replies Latest reply on Nov 17, 2015 6:44 AM by Bill Robinson

    Some error with bbsa webservice api

    lei zhang

      Hello all,

       

      I want to use Java call the 8.7 BBSA api,First i want to Automatic generation the client code,I use the command as:

       

      wsimport -p com.zhanglei -keep https://192.168.96.2:9843/services/CLITunnelService.wsdl
      

       

      But it could not work,the error is:

       

      parsing WSDL...
      [ERROR] sun.security.validator.ValidatorException: PKIX path building failed: s
      n.security.provider.certpath.SunCertPathBuilderException: unable to find valid
      ertification path to requested target
      
      
      Failed to read the WSDL document: https://192.168.96.2:9843/services/CLITunnelS
      rvice.wsdl, because 1) could not find the document; /2) the document could not
      e read; 3) the root element of the document is not <wsdl:definitions>.
      
      
      
      
      [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
      
      
       At least one WSDL with at least one service definition needs to be provided.
      
      
      
      
              Failed to parse the WSDL.
      

       

      so i want to know Whether is bsa webservice‘issue?but i can use the soapui to call the webservice!

      and i want to know what is the different between the blow url:

      https://myAppServer:9843/services/BSALoginService.wsdl?=

       

      and

       

      https://myAppServer:9843/services/LoginService?wsdl

       

      PS:If some on has the 8.7 new java demo,pls share to me,Thanks.

       

      Lei