Hi.
We are facing problems regarding calling the "Update Group" web service (PATCH) via the HttpConnector in AWP 16.7.2.
We are able to calling the "Get Group" web service, so I guess the general customization of out HttpConnector is correct.
GetGroup - which is working:
<connection-id>OTDS-REST</connection-id>
<uri>/otdsws/rest/groups/{0}</uri>
<http-method>GET</http-method>
<request-handler class="com.opentext.applicationconnector.httpconnector.impl.RestRequestHandler">
<req-headers>
<header name="OTDSTicket" type="xpath">./OTDSTicket</header>
<header name="Content-Type">application/json</header>
</req-headers>
<uri-parameters>
<parameter type="xpath">./GroupID</parameter>
</uri-parameters>
</request-handler>
<response-handler class="com.opentext.applicationconnector.httpconnector.impl.RestResponseHandler" />
<valid-response-code>200</valid-response-code>
<namespaces />
</implementation>
<SOAP:Body>
<OTDSTicket>****</OTDSTicket>
<GroupID>MSC_Büromaterialabwicklung@Content Server Members</GroupID>
</GetGroup>
</SOAP:Body>
</SOAP:Envelope>
UpdateGroup - which is not working:
<connection-id>OTDS-REST</connection-id>
<uri>/otdsws/rest/groups/{0}</uri>
<http-method>PATCH</http-method>
<request-handler class="com.opentext.applicationconnector.httpconnector.impl.RestRequestHandler">
<req-headers>
<header name="OTDSTicket" type="xpath">./OTDSTicket</header>
<header name="Content-Type">application/json</header>
</req-headers>
<uri-parameters>
<parameter type="xpath">./GroupID</parameter>
</uri-parameters>
</request-handler>
<response-handler class="com.opentext.applicationconnector.httpconnector.impl.RestResponseHandler" />
<valid-response-code>200</valid-response-code>
<namespaces />
</implementation>
<SOAP:Body>
<OTDSTicket>****</OTDSTicket>
<GroupID>MSC_Büromaterialabwicklung@Content Server Members</GroupID>
</UpdateGroup>
</SOAP:Body>
</SOAP:Envelope>
When calling this SOAP request, we are getting the following error:
Unrecognized field "OTDSTicket" (class com.opentext.otds.usergroup.data.Group), not marked as ignorable (13 known properties: "originUUID", "values", "urlLocation", "customAttributes", "urlId", "name", "numMembers", "location", "objectClass", "userPartitionID", "id", "description", "uuid"])
We know that the request is not complete, because we don't know how to get the following JSON into the SOAP request:
{
"values": [
{
"name": "displayName",
"values": [
"Test"
]
}
]
}
We hope you guys can help us to call the following REST service from OTDS via the HttpConnector of the AWP:

KR Alex and his team
