Skip to main content
1-Visitor
February 25, 2016
Question

Is --xmlapi depricated or having any problem?

  • February 25, 2016
  • 3 replies
  • 1537 views

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
    February 25, 2016

    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."

    1-Visitor
    February 29, 2016

    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

    16-Pearl
    March 5, 2016

    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