| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0, which is available at |
| http://www.eclipse.org/legal/epl-2.0. |
| |
| This Source Code may also be made available under the following Secondary |
| Licenses when the conditions for such availability set forth in the |
| Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| version 2 with the GNU Classpath Exception, which is available at |
| https://www.gnu.org/software/classpath/license.html. |
| |
| SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| |
| --> |
| |
| <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee |
| http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd" |
| version="1.1"> |
| <package-mapping> |
| <package-type>com.sun.s1asdev.ejb.classload.lifecycle</package-type> |
| <namespaceURI>urn:GoogleSearch</namespaceURI> |
| </package-mapping> |
| <java-xml-type-mapping> |
| <class-type>com.sun.s1asdev.ejb.classload.lifecycle.DirectoryCategory</class-type> |
| <root-type-qname xmlns:typeNS="urn:GoogleSearch">typeNS:DirectoryCategory</root-type-qname> |
| <qname-scope>complexType</qname-scope> |
| <variable-mapping> |
| <java-variable-name>fullViewableName</java-variable-name> |
| <xml-element-name>fullViewableName</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>specialEncoding</java-variable-name> |
| <xml-element-name>specialEncoding</xml-element-name> |
| </variable-mapping> |
| </java-xml-type-mapping> |
| <java-xml-type-mapping> |
| <class-type>com.sun.s1asdev.ejb.classload.lifecycle.ResultElement</class-type> |
| <root-type-qname xmlns:typeNS="urn:GoogleSearch">typeNS:ResultElement</root-type-qname> |
| <qname-scope>complexType</qname-scope> |
| <variable-mapping> |
| <java-variable-name>summary</java-variable-name> |
| <xml-element-name>summary</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>URL</java-variable-name> |
| <xml-element-name>URL</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>snippet</java-variable-name> |
| <xml-element-name>snippet</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>title</java-variable-name> |
| <xml-element-name>title</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>cachedSize</java-variable-name> |
| <xml-element-name>cachedSize</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>relatedInformationPresent</java-variable-name> |
| <xml-element-name>relatedInformationPresent</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>hostName</java-variable-name> |
| <xml-element-name>hostName</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>directoryCategory</java-variable-name> |
| <xml-element-name>directoryCategory</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>directoryTitle</java-variable-name> |
| <xml-element-name>directoryTitle</xml-element-name> |
| </variable-mapping> |
| </java-xml-type-mapping> |
| <java-xml-type-mapping> |
| <class-type>com.sun.s1asdev.ejb.classload.lifecycle.GoogleSearchResult</class-type> |
| <root-type-qname xmlns:typeNS="urn:GoogleSearch">typeNS:GoogleSearchResult</root-type-qname> |
| <qname-scope>complexType</qname-scope> |
| <variable-mapping> |
| <java-variable-name>documentFiltering</java-variable-name> |
| <xml-element-name>documentFiltering</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>searchComments</java-variable-name> |
| <xml-element-name>searchComments</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>estimatedTotalResultsCount</java-variable-name> |
| <xml-element-name>estimatedTotalResultsCount</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>estimateIsExact</java-variable-name> |
| <xml-element-name>estimateIsExact</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>resultElements</java-variable-name> |
| <xml-element-name>resultElements</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>searchQuery</java-variable-name> |
| <xml-element-name>searchQuery</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>startIndex</java-variable-name> |
| <xml-element-name>startIndex</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>endIndex</java-variable-name> |
| <xml-element-name>endIndex</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>searchTips</java-variable-name> |
| <xml-element-name>searchTips</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>directoryCategories</java-variable-name> |
| <xml-element-name>directoryCategories</xml-element-name> |
| </variable-mapping> |
| <variable-mapping> |
| <java-variable-name>searchTime</java-variable-name> |
| <xml-element-name>searchTime</xml-element-name> |
| </variable-mapping> |
| </java-xml-type-mapping> |
| <service-interface-mapping> |
| <service-interface>com.sun.s1asdev.ejb.classload.lifecycle.GoogleSearchService</service-interface> |
| <wsdl-service-name xmlns:serviceNS="urn:GoogleSearch">serviceNS:GoogleSearchService</wsdl-service-name> |
| <port-mapping> |
| <port-name>GoogleSearchPort</port-name> |
| <java-port-name>GoogleSearchPort</java-port-name> |
| </port-mapping> |
| </service-interface-mapping> |
| <service-endpoint-interface-mapping> |
| <service-endpoint-interface>com.sun.s1asdev.ejb.classload.lifecycle.GoogleSearchPort</service-endpoint-interface> |
| <wsdl-port-type xmlns:portTypeNS="urn:GoogleSearch">portTypeNS:GoogleSearchPort</wsdl-port-type> |
| <wsdl-binding xmlns:bindingNS="urn:GoogleSearch">bindingNS:GoogleSearchBinding</wsdl-binding> |
| <service-endpoint-method-mapping> |
| <java-method-name>doGetCachedPage</java-method-name> |
| <wsdl-operation>doGetCachedPage</wsdl-operation> |
| <method-param-parts-mapping> |
| <param-position>0</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGetCachedPage</wsdl-message> |
| <wsdl-message-part-name>key</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>1</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGetCachedPage</wsdl-message> |
| <wsdl-message-part-name>url</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <wsdl-return-value-mapping> |
| <method-return-value>byte[]</method-return-value> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGetCachedPageResponse</wsdl-message> |
| <wsdl-message-part-name>return</wsdl-message-part-name> |
| </wsdl-return-value-mapping> |
| </service-endpoint-method-mapping> |
| <service-endpoint-method-mapping> |
| <java-method-name>doSpellingSuggestion</java-method-name> |
| <wsdl-operation>doSpellingSuggestion</wsdl-operation> |
| <method-param-parts-mapping> |
| <param-position>0</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doSpellingSuggestion</wsdl-message> |
| <wsdl-message-part-name>key</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>1</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doSpellingSuggestion</wsdl-message> |
| <wsdl-message-part-name>phrase</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <wsdl-return-value-mapping> |
| <method-return-value>java.lang.String</method-return-value> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doSpellingSuggestionResponse</wsdl-message> |
| <wsdl-message-part-name>return</wsdl-message-part-name> |
| </wsdl-return-value-mapping> |
| </service-endpoint-method-mapping> |
| <service-endpoint-method-mapping> |
| <java-method-name>doGoogleSearch</java-method-name> |
| <wsdl-operation>doGoogleSearch</wsdl-operation> |
| <method-param-parts-mapping> |
| <param-position>0</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>key</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>1</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>q</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>2</param-position> |
| <param-type>int</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>start</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>3</param-position> |
| <param-type>int</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>maxResults</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>4</param-position> |
| <param-type>boolean</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>filter</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>5</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>restrict</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>6</param-position> |
| <param-type>boolean</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>safeSearch</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>7</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>lr</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>8</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>ie</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <method-param-parts-mapping> |
| <param-position>9</param-position> |
| <param-type>java.lang.String</param-type> |
| <wsdl-message-mapping> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearch</wsdl-message> |
| <wsdl-message-part-name>oe</wsdl-message-part-name> |
| <parameter-mode>IN</parameter-mode> |
| </wsdl-message-mapping> |
| </method-param-parts-mapping> |
| <wsdl-return-value-mapping> |
| <method-return-value>com.sun.s1asdev.ejb.classload.lifecycle.GoogleSearchResult</method-return-value> |
| <wsdl-message xmlns:wsdlMsgNS="urn:GoogleSearch">wsdlMsgNS:doGoogleSearchResponse</wsdl-message> |
| <wsdl-message-part-name>return</wsdl-message-part-name> |
| </wsdl-return-value-mapping> |
| </service-endpoint-method-mapping> |
| </service-endpoint-interface-mapping> |
| </java-wsdl-mapping> |