WSDL/WADL reference definition integration
AssigneeOracle International Corporation
InventorsXiaochun Zeng, Jianhua Peng, Chengbo Ren
Life of this patent
Estimating the term…
Abstract
A system transfers interface documents for a web service, such as WSDL or WADL documents. The documents include a service document and one or more reference definition documents. The system parses the service document to extract the location of the reference definition documents. The system moves the service document to a temporary storage location, and moves the reference definition documents to the temporary storage location. The system then, for each document that references one of the reference definition documents, modifies its location value to the temporary storage location.
Claims17
A non-transitory computer readable medium having instructions stored thereon that, when executed by a processor, cause the processor to transfer interface documents for a web service comprising a service document and one or more reference definition documents, the transferring comprising:
- parsing the service document to extract and store a location of a first reference definition document;
- moving the service document to a new storage location;
- moving the first reference definition document to the new storage location;
- determining any documents that reference the first reference definition document, and for each determined document modifying a location value to the new storage location;
- changing a name of at least one of the reference definition documents when two or more of the reference definition documents have a same name;
- and
- moving all of the reference definition documents to the new storage location to form an integrated file;
- wherein for each interface document, the service document and the reference definition documents are each stored in different file locations, and each interface document comprises a Web Services Description Language (WSDL) document or a Web Application Description Language (WADL) document;
- wherein after the moving all of the reference definition documents, the service document and the reference definition documents are each stored in a same file location.
A method of transferring interface documents for a web service comprising a service document and one or more reference definition documents, the method comprising:
- parsing the service document to extract the location of the reference definition documents;
- moving the service document to a temporary storage location;
- moving the reference definition documents to the temporary storage location;
- for each document that references one of the reference definition documents, modifying its location value to the temporary storage location;
- changing a name of at least one of the reference definition documents when two or more of the reference definition documents have a same name;
- and
- moving all of the reference definition documents to the new storage location to form an integrated file;
- wherein for each interface document, the service document and the reference definition documents are each stored in different file locations, and each interface document comprises a Web Services Description Language (WSDL) document or a Web Application Description Language (WADL) document;
- wherein after the moving all of the reference definition documents, the service document and the reference definition documents are each stored in a same file location.
A web service server comprising:
- a processor;
- a memory coupled to the processor and storing instructions that when executed by the processor, transfers interface document files comprising a service document and one or more reference definition documents, the transferring comprising:
- receiving the a service document and the one or more reference definition documents:
- parsing the service document to extract the location of the reference definition documents;
- moving the service document to a temporary storage location;
- moving the reference definition documents to the temporary storage location;
- for each document that references one of the reference definition documents, modifying its location value to the temporary storage location;
- changing a name of at least one of the reference definition documents when two or more of the reference definition documents have a same name;
- and
- moving all of the reference definition documents to the new storage location to form an integrated file;
- wherein for each interface document, the service document and the reference definition documents are each stored in different file locations, and each interface document comprises a Web Services Description Language (WSDL) document or a Web Application Description Language (WADL) document;
- wherein after the moving all of the reference definition documents, the service document and the reference definition documents are each stored in a same file location.
Dependencies are inferred from the claim text.