The requested URL /sslClientAuth/servlet/rest/search/objects was not found in Thingworx navigate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The requested URL /sslClientAuth/servlet/rest/search/objects was not found in Thingworx navigate
Hello,
I am new to thingworx navigate.
I have written a service where it pulls data based on part number. While executing the service. I get below error.
"The requested URL /sslClientAuth/servlet/rest/search/objects was not found on this server". Below is my code snippet.
var params = {
type: 'GET',
url: me.getRestUrl() + "/search/objects",
queryParams: {
'$select': properties,
'$filter': "number eq '" + number + "'",
'navigationCriteria': navigationCriteria,
'typeId': selectedTypeId
}
};
var jsonResult = me.processJSONRequest(params);
can anyone please let me know what's wrong with the code?
Thanks,
RPathan
Solved! Go to Solution.
- Labels:
-
Coding
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Change the baseURL under your thing-->configuration. In my case I didn't provide Windchill. After modifying the baseURL, the issue got resolved. This is what I provided. Replace localhost with your server name.
https://localhost:443/Windchill
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The issue is resolved now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
what change di dyou make to fix this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Change the baseURL under your thing-->configuration. In my case I didn't provide Windchill. After modifying the baseURL, the issue got resolved. This is what I provided. Replace localhost with your server name.
https://localhost:443/Windchill
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
thank you for response.
For me '443' is not working, intead '80' is working and have baseURL set same as yours.
Still i am getting 404 error everytime i run service same as you have given above.
if i run URL directly in browser, JSON is returning the result
If i run service for that JSON, then getting 404 error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
443 is not working, means you have not configured https. That's fine. Don't use the same base URL as the mine one. In your case it might be something like this http://yourserver.com:80/Windchill.
just make sure your application identifier is Windchill only, also it's case sensitive. I have put Windchill, because that's how it is for my server.
