IT Process Automation

 View Only
  • 1.  Webservices for SDM 14.x

    Posted Dec 10, 2019 10:59 AM

    Hello community,

    I have a PAM and SDM 14.x version installed in my environment.

    I am trying to connect to the SDM using REST or SOAP services using the following urls:

    REST Url:  http://<host>:<port>/caisd-rest
    SOAP Url: http://<host>:<port>/axis/services/USD_R11_WebService

    I have used the following methods to initiate or start the services:
    1. pdm_configure - Setup REST services on port 8050
    2. pdm_rest_util - command to start REST services
    3. SOAPUI client - Tried to connect to the above Url but doesn't connect
    4. build_wsdl.bat file - In the samples folder. Throws me the following exception

    D:\Program Files (x86)\CA\Service Desk Manager\samples\sdk\websvc\java\test1_pki
    >build_wsdl.bat
    The system cannot find the path specified.
    Dec 09, 2019 11:30:27 AM org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax
    .mail.internet.MimeMultipart). Attachment support is disabled.
    java.io.FileNotFoundException: http://localhost:8080/axis/services/USD_R11_WebSe
    rvice?wsdl
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
    urce)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
    urce)
    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
    at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
    a:482)
    at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
    at java.lang.Thread.run(Unknown Source)

    5. Sample java files under the SDK folder: SampleBasicAuth.java and SampleSDMAuth.java execute fine and give me the access and secret key.
    But, when I execute SampleCRUDOperations.java it fails with a 404 error.

    Please let me know what should I do in order to use web services.

    Thanks,

    Varun



    ------------------------------
    Varun Rajgopal
    ------------------------------


  • 2.  RE: Webservices for SDM 14.x

    Posted Dec 10, 2019 12:58 PM
    Try to add ?wsdl at the end of your URL:

    Example:

     http://<host>:<port>/axis/services/USD_R11_WebService?wsdl


  • 3.  RE: Webservices for SDM 14.x

    Posted Dec 10, 2019 01:28 PM
    I tried to access the above URL in the browser with the ?wsdl at the end. I am still not able to access the web service.


  • 4.  RE: Webservices for SDM 14.x
    Best Answer

    Posted Dec 16, 2019 08:32 AM
    You should post on Service Management community : https://community.broadcom.com/enterprisesoftware/communities/communityhomeblogs?CommunityKey=e2cd3188-49bc-4f38-88f1-74260f56fa66