28720057CHINESEJOURNALOFCOMPUTERSVol.28No.7July2005:2003204211;:2005202226.(2002CB312000)(20020001015)(60203002)(2002AA134030)(4012007).,,1970,,GIS.,,1971,,,AgentGIS.E2mail:lyw@pku.edu.cn.,,1972,,,AgentGIS.,,1980,,GIS.,,1937,,,GIS.(100871),,.Web4,UDDI.,WebServicesGML,,.;WebServices;GML;;;TP391AWebServicesBasedFrameworkforSpatialInformationandServicesIntegrationWANGWen2JunLUOYing2WeiWANGXiao2LinLIUXin2PengXUZhuo2Qun(DepartmentofComputerScienceandTechnology,PekingUniversity,Beijing100871)AbstractThispaperfocusesonaWebServicesapproachforsynergeticmanagementofhetero2geneousspatialinformationandspatialservicesonthenetwork.First,theimportanceofestablis2hinganintegratedframeworkforspatialinformationandspatialservicesisillustrated.Thechal2lengesposedbythespatialapplicationslikedigitalcitiesincludethebusinessprocessintegrationamongdifferentorganizations,thelegacyapplicationsintegrationandtheintegrationofbusinessWebservicesonInternet.Theintegratedframeworkmeetsthesechallenges.Secondly,aWebServicebasedinteroperatingframeworkamongheterogeneousspatialdatabasesandspatialserv2icesisproposed.Manyutilitieshavebeenusingtheframeworktointegrateavarietyofspatialda2tabases,systemsandbusinessprocesses.Theframeworkconsistsoffourlayers:WAL(WebApplicationsLayer),SIL(ServicesIntegratorLayer),DSL(DistributedServicesLayer)andDIL(DistributedInformationLayer).WebapplicationsaccessandoperatethespatialinformationandthespatialWebservicesinDSLandDILpellucidlyusingToolkitpackagesandWebservicesprovidedbySIL.ThespatialinformationexchangeformatintheframeworkisGML.AlldataandprotocolsareencodedinXML;oneWebservicecanoperateotherWebservicesusingSOAPprotocol.Lastly,accordingtotheframework,authorsimplementasystemnamedPKUspatialApplicationsIntegrationSystem(System)forspatialinformationandspatialservicesinteroper2ationthroughthenetworkusingJavalanguage.Keywordsintegratedframework;Webservices;GML;spatialinformationandservice;metadata;interoperation1,;,,,,GIS,,.,,,,,..Internet/Intranet.OGC[1]:,.()3:(1),,.,:,,,;AutoCAD,MapInfo,ArcInfo;,,WMS.,,,.(2),.,.DBMS,,CORBA,DCOM,WebServices.(3),.,.110,119,120,,.,.[2],/.DISGIS[3](DistributedGeographicInformationSys2tems),ODPCORBA+COM/OLE.BourgongeISIS[4](InteroperableSpatialInformationSystem)AgentGIS,,.BremenBUSTER[5]OpenGIS[1].,,:(1).,120.OpenGIS[1],().Ontology,.(2).,,,.,,/(),,GML,SOAP.(3)Internet/IntranetWeb.WebServicesPCInternet[5],UDDI()Web.41212005.WebServices,WebServicesGML,.2WebServices1,4:Web.Web,ToolkitWebServicesWeb,.GML,SOAP,..1WebServices(1)WebWeb,,.,,WebServices,GML.(2)WebWebServices,WebServices,,()WebServicesWebServices,,,,.WebServices.WebServicesWebServices,.(3),.,...(GML).3:51217:GIS;DBMS,OracleSpatial;GISWMS(WebMappingService),ArcInfoArcIMS..,.WebServices,.WebServicesWebServices,.(4)GIS.23WebServicesInternet;GML,;.,WebServicesGML.JavaTomcatAXIS.3.12,,WebWeb5.WebWeb.Web,119/110/120;;..PAIToolkitsWeb,.WebServices.,GIS,.,,ACCESS;4GeoUnion,ArcInfo,MapInfoOracleSpatial612120054GIS,,Oracle.GeoUnion,ArcInfo,MapInfoOra2cleSpatial4.Web,:WSDL(WebServicesDescriptionLanguage)Web;UDDIRegistryWeb,UDDI(UniversalDescription,DiscoveryandIntegration),SOAP(SimpleObjectAccessProtocol)XML;WSFL(WebServicesFlowLanguage).WebService,.3.2.1(1):.,.,;WebServicesIP.,,,110,....,,.(2),ACCESS,1.1Meta_Map(),Meta_Layer,IPGISWMSMeta_WMSWMSMeta_ServiceSISTS,IPWebServicesMeta_User,,Fire_Jack,:Fire_Jack,.Meta_Server(3).tjfiremap,2.71217:2tjfiremapDSNGIS162.105.203.26GisPKUWebInfoGeoUnion2GML8080GeoUnionWstreet168.168.168.230OracleSystemOracle2GML8080OracleSpatialTyieyj168.168.168.216Tianjin\ArcInfo2GML8080ArcInfoTjdw168.168.168.220Tianjin\MapInfo2GML8080MapInfowaterfirestationSOAP.3:.IP;.IP;.IP.3.2.2WebServices(1)WMS,,.(2)GeoUnion,ArcInfo,MapInfoOracleSpatial4GISGML..()3.3GeoUnion2GMLerWebserviceGeoUnionGML168.168.168.217ArcInfo2GMLerWebserviceArcInfoGML168.168.168.216MapInfo2GMLerWebserviceMapInfoGML168.168.168.217Oracle2GMLerWebserviceOracleSpatialGML168.168.168.2303.2.3WebServices.PAIToolkit3API:(1)GML.GML.publicvoidretrieveMap(StringstrMapName,booleanisZipped)throwsIOException.(2)GML:GML.publicvoidsendGMLMapData(OutputStreamout,StringstrMapName)throwsIOException.(3):,URL.publicvoidsendJPEGURL(OutputStreamout,StringstrMapName,StringstrRangeInfo,StringstrActionInfo,StringstrLeftTop,StringstrTimes)throwsIOException.3API,GIS.,XML.,,WebServices..:WebServicesGIS.tjfiremap,3.:tjfiremap,45WebServices(3):4.4812120053WebServices4.3.2.4(1)WebService,Tomcat+AXISJAVAWebServices.AXIS(ApacheeXtensibleInteractionSystem)JavaWebServices,ApacheSOAP,SOAP1.1,SOAP1.2,SOAP,XMLDirectInternetMessageEncapsulation(DIME),WebServicesWSDL,WebServicesURL?wsdl,(2)JavaCOMJAVA,MapInfoOracleSpatialJAVA,GeoUnionArcInfoCOM,JAVAJACOB.JACOBJAVA2COMBridge,JAVAJNI,JAVACOMAutomation.(3)SOAPSocket,SOAP.SOAP:SOAPSOAPenvelope;XMLParserSOAPenvelopeXML;XML;SOAPSOAP;,XML.(4)WebServicesDelphi7WebService,JavaWebService.Delphi6,,Delphi6WebServic