<?xml version="1.0" encoding="UTF-8"?>

<saas-component xmlns="http://xml.netbeans.org/websvc/saas/component/1.0"
           xmlns:tns="http://xml.netbeans.org/websvc/rest/component/1.0/google/google-map"
           xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'               
           xsi:schemaLocation='http://xml.netbeans.org/websvc/rest/component/1.0 component.xsd'           
           localizing-bundle="org.netbeans.modules.websvc.components.google.Bundle"
           icon="org/netbeans/modules/websvc/components/google/resources/google16.png"
           >
    <display-name>GoogleMap</display-name>
 
    <group name="Google"/>
    
    <description>Google Map</description>
 
    <code-gen>
        <artifacts language="java">
            <artifact id="GoogleLib" type="library" url="..."/>
            <artifact id="GoogleUtil" type="template" requires="GoogleLib"
                url="Templates/WebServices/GoogleUtil.java"/>
            <artifact id="GoogleMapResource" type="template" requires="GoogleUtil"
                url="Templates/WebServices/GoogleMapResource.java"/>
        </artifacts>
        <artifacts language="ruby">
        </artifacts>
    </code-gen>
    
    <service type="custom">
        <method name="generateGoogleMapCode" requires="GoogleMapResource">      
            
            <doc>....</doc>
            <input>
                <params>
                    <param name="apiKey" type="string"/>
                    <param name="address" type="string" default="16 Network Circle, Menlo Park"/>
                    <param name="zoom" type="int" default="15"/>
                </params>
            </input>
            <output>
                <media type="text/html"/>
            </output>
        </method>
    </service>

</saas-component>
