Jump to content


- - - - -

How can I get the Document character encoding infomation from Getdocumentinfo service?


3 replies to this topic

#1 wildjames

    Newbie

  • Members
  • Pip
  • 3 posts
  • LocationSeoul, Korea

Posted 29 November 2011 - 12:18 AM

According to the GIS service and adapter manual, we can get the document character encoding infomation.

I just tested but could not get the character encoding info.

How can I use the getdocumentinfo service to get character encoding info?

#2 burmjohn

    Administrator

  • Members
  • PipPipPip
  • 119 posts

Posted 30 November 2011 - 09:38 PM

Hrmm.. I'll have to give it a try and let you know.
EDITalk.com Admin

Don't forget to checkout the EDITalk.com blog!

#3 DonnieGou

    Member

  • Members
  • PipPip
  • 16 posts
  • LocationCTU, China

Posted 22 March 2012 - 01:51 AM

hi,
This service will not return the document encoding type information.
Please see the yellow part nodes in process data.
FYI

<?xml version="1.0" encoding="UTF-8"?>
<ProcessData>
<TRACKINGID>fca-vm-gentran:node1:1361ad6d300:1524391</TRACKINGID>
<extractionFolder>/g01/gis/donnieg/</extractionFolder>
<assignedFileName>in.app</assignedFileName>
<FileName>test.app</FileName>
<PrimaryDocument SCIObjectID="fca-vm-gentran:node1:1361ad6d300:1524550"/>
<BodyName>test.app</BodyName>
<BodyLength>1185</BodyLength>
<DocumentBodyLength>1185</DocumentBodyLength>
<DocumentLength>1185</DocumentLength>
<DocumentName>test.app</DocumentName>
<DocumentId>fca-vm-gentran:node1:1361ad6d300:1524547</DocumentId>
<DocumentSubject/>
<DocumentCreateTime>2012-03-21 23:48:00.99</DocumentCreateTime>
<DocumentModifiedTime>2012-03-21 23:48:00.99</DocumentModifiedTime>
<DocumentLifeSpan>0 Minutes</DocumentLifeSpan>
<DocumentInitialId>fca-vm-gentran:node1:1361ad6d300:1524547</DocumentInitialId>
<DocumentMaxInlineBodySize>102400</DocumentMaxInlineBodySize>
<DocumentPurgeAfter>2012-03-21 23:48:01.004</DocumentPurgeAfter>
<DocumentStorageType>FILE SYSTEM</DocumentStorageType>
<DocumentTrackingId>fca-vm-gentran:node1:1361ad6d300:1524391</DocumentTrackingId>
<DocumentWorkflowId>11008739</DocumentWorkflowId>
<Encrypted>false</Encrypted>
<DocumentFileName>/u01/g01/gis/si50/install/documents/2012/March/21/23/48/fca-vm-gentran_node1_1361ad6d300_1524548_WF-1.dat</DocumentFileName>
<DocumentNodeName>fca-vm-gentran</DocumentNodeName>
<DocumentType>1</DocumentType>
<DocumentContentType>application/octet-stream</DocumentContentType>

<DocInfo/>
</ProcessData>

#4 DonnieGou

    Member

  • Members
  • PipPip
  • 16 posts
  • LocationCTU, China

Posted 22 March 2012 - 02:18 AM

"Get Document info service".
can return documentCharEncoding information, but i didnot found how to get this value form message in.

the problem is: i didnot see the node 'documentCharEncoding' in the return result.. .

somebody can explain this?