Category value not persisting when creating a folder.

I am using the create Folder UDDI service to create a folder and attach categories to it. It adds the category correctly but doesn't persist the string value. Here is my request.

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Header>
    <OTAuthentication xmlns="urn:api.ecm.opentext.com">
      <AuthenticationToken>token</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>
    <CreateFolder xmlns="urn:DocMan.service.livelink.opentext.com">
      <parentID>30849</parentID>
      <name>Folder Test</name>
      <metadata>
        <AttributeGroups>
          <DisplayName>My category</DisplayName>
          <Key>57833.2</Key>
          <Type>Category</Type>
          <Values xmlns="urn:DocMan.service.livelink.opentext.com" type="q1:StringValue">
            <Description>StringInput</Description>
            <Key>57833.2.2</Key>
            <Values>39753</Values>
          </Values>
        </AttributeGroups>
      </metadata>
    </CreateFolder>
  </SOAP:Body>
</SOAP:Envelope>

Also here is the response from the GetCategoryTemplate UDDI service for the above category.


<data>
  <GetCategoryTemplateResponse xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:DocMan.service.livelink.opentext.com" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <GetCategoryTemplateResult xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:DocMan.service.livelink.opentext.com">
      <DisplayName>My category</DisplayName>
      <Key>57833.2</Key>
      <Type>Category</Type>
      <Values xmlns:q1="urn:Core.service.livelink.opentext.com" xsi:type="q1:StringValue">
        <q1:Description>StringInput</q1:Description>
        <q1:Key>57833.2.2</q1:Key>
      </Values>
    </GetCategoryTemplateResult>
  </GetCategoryTemplateResponse>