Not able to access Process Suite web services.
Hi,
I'm making an application to consume the Process Suite Web Services. The steps I have done are as follows
- Installed AppWorks.
- Installed Process Platform (10.7)
- Deployed Process Suite REST Client into AppWorks(Copied the BPMService.war extract into TOMCAT_INSTALL_DIR/webapps).
- Updated rest.properties pointing to Process Platform
- Created an App with the code to login and to call a service. The Code is as follows
(function ($) {
// Keep strict JavaScript standards
"use strict";
var request = new XMLHttpRequest();
request.open("POST", "http://192.168.2.101:8080/BPMService/v1/login", false );
request.setRequestHeader("user_id","dev");
request.setRequestHeader("password","dev");
request.setRequestHeader("Content-Type","text/plain");
request.send(null);
var samlartifact = request.responseText;
$( '#error-msg' ).append( ' Login Respone:' + samlartifact + '' );
var xmlrequest="cn=dev,cn=organizational users,o=system,cn=cordys,cn=OPC_10_6_7,o=opentext.netUI_TASK ";
request = new XMLHttpRequest();<br/> request.open("POST", "http://192.168.2.101:8080/BPMService/v1/tasks/getTasksForUser", false );<br/> request.setRequestHeader("SAMLart",samlartifact); <br/> request.setRequestHeader("Content-Type","application/xml"); <br/> request.send(xmlrequest);<br/> $( '#error-msg1' ).append( '<div class="error"> Method Respone:' + request.responseText + '</div>' );<br/>
}).call(this, jQuery);
6. When I execute this App, I'm getting the SAMLArt in the response but when I execute the second request, I'm always getting "The request sent by the client was syntactically incorrect."
I tried even the same from SOAP UI, there also I'm getting same issue. Could someone please help me to fix this issue?
I referred following links
Thanks & Regards
Suresh.
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories