1.4.4 µ¼³ö¸ÚλÐÅÏ¢ ½«Ö¸¶¨µ¥Î»ÏÂËùÓиÚλµ¼³öΪXML¸ñʽ¡£ ·½·¨£ºexportOcupation ²ÎÊý£º ²ÎÊý token accountName Êý¾ÝÀàÐÍ String String ˵Ã÷ µÇ¼ÑéÖ¤ºó»ñÈ¡µÄÉí·ÝÁîÅÆ¡£ µ¥Î»Ãû³Æ ·µ»ØÖµ£ºString ³É¹¦·µ»ØXML£¬·ñÔòÅ×ServiceException¡£ ʾÀý£º Ô¶³Ìµ÷Ó㺠OrganizationDataServiceStub stub = new OrganizationDataServiceStub(); OrganizationDataServiceStub.ExportOcupation req = new req.setToken(ServiceUtil.getToken()); req.setAccountName(\µ¥Î»1\); OrganizationDataServiceStub.ExportOcupationResponse resp = stub .exportOcupation(req); String xml = resp.get_return(); import com.seeyon.v3x.services organization.OrganizationDataService; import com.seeyon.v3x.services organization.impl. OrganizationDataServiceImpl; ¡ OrganizationDataService service = new OrganizationDataServiceImpl(); String xml = service.exportOcupation(token,accountName); OrganizationDataServiceStub.ExportOcupation(); ±¾µØµ÷Ó㺠µ¼³öµÄXML£º length=\ length=\ length=\ length=\ length=\ 1.4.5 µ¼³öÖ°Îñ¼¶±ðÐÅÏ¢ ½«Ö¸¶¨µ¥Î»ÏÂËùÓÐÖ°Îñ¼¶±ðµ¼³öΪXML¸ñʽ¡£ ·½·¨£ºexportOType ²ÎÊý£º ²ÎÊý token accountName Êý¾ÝÀàÐÍ String String ˵Ã÷ µÇ¼ÑéÖ¤ºó»ñÈ¡µÄÉí·ÝÁîÅÆ¡£ µ¥Î»Ãû³Æ ·µ»ØÖµ£ºString ³É¹¦·µ»ØXML£¬·ñÔòÅ×ServiceException¡£ ʾÀý£º Ô¶³Ìµ÷Ó㺠OrganizationDataServiceStub stub = new OrganizationDataServiceStub(); OrganizationDataServiceStub.ExportOType req = new req.setToken(ServiceUtil.getToken()); req.setAccountName(\µ¥Î»1\); OrganizationDataServiceStub.ExportOTypeResponse resp = stub .exportOType(req); output(xml); String xml = resp.get_return(); OrganizationDataServiceStub.ExportOType(); ±¾µØµ÷Ó㺠import com.seeyon.v3x.services organization.OrganizationDataService; import com.seeyon.v3x.services organization.impl. OrganizationDataServiceImpl; ¡ OrganizationDataService service = new OrganizationDataServiceImpl(); String xml = service.exporOType(token,accountName); µ¼³öµÄXML£º
Ïà¹ØÍÆ¼ö£º