Hello Guys,
I'm trying to create a physical object through DocumentManagement webservice 16.2 using below SOAP request, but it fails with Error Unknown AttributeGroup types {?}.
Can someone guide me where the problem could be?
Below are the request and the response messages
Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<OTAuthentication xmlns="urn:api.ecm.opentext.com">
<AuthenticationToken>1t%2F1%2B9IhsgoV234XuJec%2Bw%2Bh10T7ykAkbhAQ1VrIfJHY6Cg%2Fxm7l93hQ8jDfdbZccV5NSliJFZYB8Nr%2BsZOeyZxbI7qj2%2B%2BW</AuthenticationToken>
</OTAuthentication>
</SOAP:Header>
<SOAP:Body>
<CreateNode xmlns="urn:DocMan.service.livelink.opentext.com">
<node>
<Name>test physical box</Name>
<ParentID>38842</ParentID>
<Type>PhysicalItem</Type>
<Metadata>
<AttributeGroups>
<AttributeGroup>
<Key>POCreateInfo</Key>
<Type>POCreateInfo</Type>
<Values>
<StringValue>
<Key>poLocation</Key>
<Values>
<d:item i:type="d:string">Shelf01</d:item>
</Values>
</StringValue>
<IntegerValue>
<Key>selectedMedia</Key>
<Values>
<d:item i:type="d:int">97776</d:item>
</Values>
</IntegerValue>
</Values>
</AttributeGroup>
</AttributeGroups>
</Metadata>
</node>
</CreateNode>
</SOAP:Body>
</SOAP:Envelope>
Response
<ErrorDetails>
<Request>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<OTAuthentication xmlns="urn:api.ecm.opentext.com">
<AuthenticationToken>1t%2F1%2B9IhsgoV234XuJec%2Bw%2Bh10T7ykAkbhAQ1VrIfJHY6Cg%2Fxm7l93hQ8jDfdbZccV5NSliJFZYB8Nr%2BsZOeyZxbI7qj2%2B%2BW</AuthenticationToken>
</OTAuthentication>
<header xmlns="http://schemas.cordys.com/General/1.0/">
<Logger xmlns="http://schemas.cordys.com/General/1.0/" />
</header>
<i18n:international xmlns:i18n="http://www.w3.org/2005/09/ws-i18n">
<locale xmlns="http://www.w3.org/2005/09/ws-i18n">en-US</locale>
</i18n:international>
</SOAP:Header>
<SOAP:Body>
<CreateNode xmlns="urn:DocMan.service.livelink.opentext.com">
<node>
<Name>test physical box</Name>
<ParentID>38842</ParentID>
<Type>PhysicalItem</Type>
<Metadata>
<AttributeGroups>
<AttributeGroup>
<Key>POCreateInfo</Key>
<Type>POCreateInfo</Type>
<Values>
<StringValue>
<Key>poLocation</Key>
<Values />
</StringValue>
</Values>
</AttributeGroup>
</AttributeGroups>
</Metadata>
</node>
</CreateNode>
</SOAP:Body>
</SOAP:Envelope>
</Request>
<Response>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<header xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/General/1.0/">
<msg-id>000C29FC-8535-A1E8-8F9D-2FA0E6A700EB</msg-id>
<messageoptions noreply="true" />
</header>
</SOAP:Header>
<SOAP:Body>
<SOAP:Fault>
<faultcode xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">ns0:Server</faultcode>
<faultstring xml:lang="en-US">Unknown AttributeGroup types {?}..</faultstring>
<faultactor>urn:DocMan.service.livelink.opentext.com</faultactor>
<detail>
<cordys:FaultDetails xmlns:cordys="http://schemas.cordys.com/General/1.0/">
<cordys:LocalizableMessage>
<cordys:MessageCode>Cordys.UDDI.Messages.generalException</cordys:MessageCode>
<cordys:Insertion>Unknown AttributeGroup types {?}.</cordys:Insertion>
</cordys:LocalizableMessage>
</cordys:FaultDetails>
<externalFaultCode>a:DocMan.NodeCreationError</externalFaultCode>
<cordys:FaultRelatedException xmlns:cordys="http://schemas.cordys.com/General/1.0/">
<![CDATA[com.eibus.applicationconnector.uddi.UDDICallException: Unknown AttributeGroup types {?}.
at com.eibus.applicationconnector.uddi.Util.checkSoapFault(Util.java:780)
at com.eibus.applicationconnector.uddi.webservice.HTTPURLInvoker.invoke(HTTPURLInvoker.java:600)
at com.eibus.applicationconnector.uddi.webservice.HTTPURLInvoker.invokeWebService(HTTPURLInvoker.java:399)
at com.eibus.applicationconnector.uddi.UDDITransaction.invoke(UDDITransaction.java:353)
at com.eibus.applicationconnector.uddi.UDDITransaction.process(UDDITransaction.java:185)
at com.eibus.soap.SOAPTransaction.lambda$processApplicationTransaction$13(SOAPTransaction.java:1291)
at com.eibus.soap.SOAPTransaction.executeWorkHonoringTransactionSuspension(SOAPTransaction.java:1500)
at com.eibus.soap.SOAPTransaction.processApplicationTransaction(SOAPTransaction.java:1290)
at com.eibus.soap.SOAPTransaction.handleBodyBlock(SOAPTransaction.java:1228)
at com.eibus.soap.SOAPTransaction.execute(SOAPTransaction.java:572)
at com.eibus.soap.SOAPTransaction.lambda$new$8(SOAPTransaction.java:296)
at com.cordys.transaction.TransactionProvider.callInExistingTransaction(TransactionProvider.java:151)
at com.cordys.transaction.TransactionProvider.createTransactionAndExecuteWork(TransactionProvider.java:132)
at com.cordys.transaction.TransactionProvider.callInTransaction(TransactionProvider.java:54)
at com.eibus.soap.SOAPTransaction.<init>(SOAPTransaction.java:292)
at com.eibus.soap.SOAPTransaction.<init>(SOAPTransaction.java:259)
at com.eibus.soap.Processor.onReceive(Processor.java:1475)
at com.eibus.soap.Processor.onReceive(Processor.java:1456)
at com.eibus.connector.nom.Connector.onReceive(Connector.java:491)
at com.eibus.transport.WorkerThreadBody.handleWork(WorkerThreadBody.java:58)
at com.eibus.transport.WorkerThreadBody.doWork(WorkerThreadBody.java:46)
at com.eibus.transport.WorkerThreadBody.run(WorkerThreadBody.java:21)
at com.eibus.util.threadpool.WorkerThread.run(WorkerThread.java:67)
]]>
</cordys:FaultRelatedException>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
</Response>
</ErrorDetails>