資源描述:
《oracle webservice接口開發(fā)》由會員上傳分享,免費在線閱讀,更多相關內容在教育資源-天天文庫。
1、~~OracleEBS接口開發(fā)之通過DBWS包實現(xiàn)webserviceAuthor:蘇南生E-Mail:nansheng.su#hand-china.comCreationDate:December27,2014LastUpdated:December27,2014DocumentRef:Version:DRAFT1AApprovals:CopyNumber_____~~~~~DocumentControlChangeRecord3DateAuthorVers
2、ionChangeReference2014-12-27snansDraft1aNoPreviousDocumentReviewersNamePositionDistributionCopyNo.NameLocation1LibraryMasterProjectLibrary2ProjectManager34NoteToHolders:Ifyoureceiveanelectroniccopyofthisdocumentandprintitout,pleasewriteyournameontheequivalentofthecoverpage,fordo
3、cumentcontrolpurposes.Ifyoureceiveahardcopyofthisdocument,pleasewriteyournameonthefrontcover,fordocumentcontrolpurposes.~~~~~Contents~~~~~DocumentControlii1.Webservice21.1一個案例21.2模擬測試31.3什么是WebService31.4WebService平臺技術42.DBWS包62.1DBWS62.2下載安裝63.XML103.1為什么要說XML103.2命名空間的引入103.3命
4、名空間的聲明與使用114.XPath134.1Xpath簡介134.2XPath路徑表達式135.Oracle解析帶有命名空間的XML185.1XMLTABLE185.2extract186.信保通對接代碼示例197.OpenandClosedIssuesforthisDeliverable20OpenIssues20ClosedIssues20~~~~~1.Webservice1.1一個案例1)案例功能:通過輸入IP地址查詢國家、城市、所有者等信息。2)返回數(shù)據(jù):一個一維字符串數(shù)組String(1),String(0)=IP地址;String(1)=
5、查詢結果或提示信息3)案例地址:http://webservice.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?op=getCountryCityByIp4)WSDL地址:http://webservice.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?wsdl請求數(shù)據(jù)格式:POST/WebServices/IpAddressSearchWebService.asmxHTTP/1.1Host:webservice.w
6、ebxml.com.cnContent-Type:text/xml;charset=utf-8Content-Length:lengthSOAPAction:"http://WebXml.com.cn/getCountryCityByIp"7、http://schemas.xmlsoap.org/soap/envelope/">string返回數(shù)據(jù)格式:HTTP/1.1200OKContent-Type:text/xml;charset=utf-8Content-Length:length
8、0"encoding="utf-8"?>