hi guys, any of you has tried to get knowledge documents through web services using the search method? I tried using this documentation but always return a faulty error code, can you help me?
Can you please confirm the version and patch level of Service Desk you are using.
Also, please check the stdlog file in NX_ROOT\log and see if any messages are generated when you make the web services call.
1. See a similar post\thread:
Problem with WebServices and KT
2. I also noted that your sortBy property\attribute seems to be incorrect. It should be RELEVANCE not RELVANCE. This is probably why you get the 'bad name' error
Thanks, It works
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk"> <soapenv:Header/> <soapenv:Body> <ser:search> <sid>772481748</sid> <problem>internet</problem> <resultSize>10</resultSize> <properties>TITLE,DOC_TYPE_ID,HITS</properties> <sortBy>RELEVANCE</sortBy> <descending>1</descending> <relatedCategories>1</relatedCategories> <searchType>1</searchType> <matchType>0</matchType> <searchField>15</searchField> <categoryPath>1</categoryPath> <whereClause></whereClause> <maxDocIDs>10</maxDocIDs> </ser:search> </soapenv:Body></soapenv:Envelope>