Skip to main content
1-Visitor
Feb 25, 2016 8:15 AM UTC
Question

Is --xmlapi depricated or having any problem?

I am using SI command line interface on Solaris platform.

I want to connect to integrity server and display end result to user.

I am using following command.

si connect --hostname=<srvName> --port=<port> --user=<user>  --password=<pwd> --xmlapi

If I use, --xmlapi is giving output in xml format which help me to get correct status. sometimes I am facing some issues in command like authentication failure .

I want to know if --xmlapi flag is deprecated? Should I keep using it? Where I can see deprecated API of Integrity?

Note:

Removing --xmlapi dose not resolve my problem.

    3 replies

    13-Aquamarine
    Feb 25, 2016 12:05 PM UTC

    About --xmlapi there is some information in this forum's posts. If you search you will find sentences like the ones below:

    - "Probably because --xmlapi has never been officially documented, and was never meant to be released."

    - "The --xmlapi option is not published and not supported, and so not guaranteed to match with anything else or remain consistent from one release to the next. It is not recommended for use."

    Translate
    1-Visitor
    Feb 29, 2016 9:58 AM UTC

    Hi,

    have a look at the apiviewer:

    for windows:

    apiviewer.bat si connect --user=......

    Repsonse:

    App. Name             = si

    Command Name    = connect

    Exit Code                = 0

    i think there is also a way to use it on solaris systems.

    More Information:

    https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS200759

    https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS166082

    Translate
    16-Pearl
    Mar 5, 2016 10:30 PM UTC

    Hello Swanand Belsare‌‌,

    Alexandru Matei & Tobias Ketz are correct that --xmlapi was never a "released" command option.

    What is the problem you are having with si connect which is not resolved by removing --xmlapi?

    Regards,
    Kael

    Translate