cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Is --xmlapi depricated or having any problem?

sbelsare
1-Newbie

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 3
amatei
12-Amethyst
(To:sbelsare)

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

tketz
4-Participant
(To:sbelsare)

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

KaelLizak
14-Alexandrite
(To:sbelsare)

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


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager
Top Tags