The Java provider - Writing the WSDL extension

The Java provider supports the invocation of a method on a local Java object. To use the Java provider, you need the following binding specified in the WSDL...

 

Usage scenario

    <!-- Java binding --> 
    <binding .... > 
        <java:binding /> 
        <format:typeMapping style="Java" encoding="Java"/>? 
            <format:typeMap name="qname" formatType="nmtoken"/>* 
        </format:typeMapping> 
        <operation>* 
            <java:operation 
                methodName="nmtoken" 
                parameterOrder="nmtoken"
                returnPart="nmtoken"? 
                methodType="instance|constructor" /> 
            <input name="nmtoken"? />? 
            <output name="nmtoken"? />? 
            <fault name="nmtoken"? />? 
        </operation> 
    </binding>

In this example...

In the next example, the className attribute of the <java:address> element specifies the fully qualified class name of the object containing the method to invoke

    <service ... > 
        <port>* 
            <java:address 
                className="nmtoken"/> 
        </port> 
   </service> 

 

See Also

Using the Java provider