have a problem with webservices called by ABAP.
In order to use OT webservices, i use the OT WSDL to generate ABAP proxies. With proxies I'm able to authenticate, to create folder and to create document in Opentext apparently with no issue.
Unfortunately, there is an exception reguarding the AttributeGroup management.
In all the structures generated by the proxies, the metadata section contains these fields
<urn1:metadata>
<urn1:AttributeGroups>
<urn1:DisplayName></urn1:DisplayName>
<urn1:Key></urn1:Key>
<urn1:Type></urn1:Type>
<!--Zero or more repetitions:-->
<urn1:Values>
<urn2:Description></urn2:Description>
<urn2:Key></urn2:Key>
</urn1:Values>
</urn1:AttributeGroups>
</urn1:metadata>
As you can see, every attribute has only 2 fields : DESCRIPTION and KEY. The most important field VALUES is imissing.
This is a real big problem because without that field, I'm not able to set any metadata.
I thought that problem was limited to ABAP and SAP R3 but even trying with other products (i.e. SOAPUI) I had the
same problem. In SOAPUI, I discover that changing the xml in the following way (adding VALUES tag and adding the xsi:type definition), problem can be solved:
<urn1:metadata>
<urn1:AttributeGroups>
<urn1:DisplayName></urn1:DisplayName>
<urn1:Key></urn1:Key>
<urn1:Type></urn1:Type>
<!--Zero or more repetitions:-->
<urn2:Description></urn2:Description>
<urn2:Key></urn2:Key>
<urn2:Values></urn2:Values>
</urn1:Values>
</urn1:AttributeGroups>
</urn1:metadata>
Unfortunately I can't do the same in ABAP when I only can use the proxy structures generated from the OT WSDL.
I hope someone can support me because I think that webservice must be consumed even by SAP. I can't believe that OT has developped something with this limitation.