The Java provider supports the invocation of a method on a local Java object.
Why and when to perform this task
To use the Java provider, you need the following binding specified in the WSDL:Example
<!-- 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>
Related tasks
Using
the Java provider