´ÙÀ½ Àý¿¡¼´Â »õ ÇÁ·ÎÅäÄÝ Çڵ鷯¸¦ ¼³°èÇϰųª ±âÁ¸ÀÇ ÇÁ·ÎÅäÄÝ Çڵ鷯¸¦ ¼öÁ¤ÇÒ ¶§ »ç¿ëÇÏ´Â ÇÁ·ÎÅäÄÝ Çڵ鷯 ÇÁ·¹ÀÓ¿öÅ© ¸Þ¼Òµå¿¡ ´ëÇØ ¼³¸íÇÕ´Ï´Ù.
getContent() ¸Þ¼Òµå´Â Business Object 󸮿¡ »ç¿ëµË´Ï´Ù. ´ÙÀ½À» ¼öÇàÇÕ´Ï´Ù.
public abstract Object getContent (Object input, String mimeType, String BOprefix) throws IOException
Business Object ÀÎÅÍÆäÀ̽º¸¦ ¸®ÅÏÇÕ´Ï´Ù.
´ÙÀ½ÀÇ ÄÚµå ¿¹´Â WebSphere Business Integration Adapter¿¡¼ Á¦°øÇÏ´Â ÇÁ·ÎÅäÄÝ Çڵ鷯¸¦ È£ÃâÇÏ´Â ¹æ¹ýÀ» º¸¿©ÁÝ´Ï´Ù.
try { // set the system property, so that Java knows where to look for // the protocol handlers. You only need to do it once. Properties prop = System.getProperties(); prop.put("java.protocol.handler.pkgs", "com.crossworlds.connectors.utils.ProtocolHandlers"); URL url = new URL(¡ºhttp://www.crossworlds.com¡»); CWURLConnection uc = (CWURLConnection) url.openConnection(); BusinessObjectInterface respBO = (BusinessObjectInterface) uc.getContent (input, mime, prefix); } catch (Exception XX) { //flag error }