Este contenido no está disponible en el idioma seleccionado.
2.4. Implementing the Consumer's Business Logic
Overview Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Once you instantiate a service proxy for a remote endpoint, you can invoke its methods as if it were a local object. The calls block until the remote method completes.
Note
If a method is annotated with the
@OneWay annotation, the call returns immediately.
Example Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Example 2.7, “Consumer Implemented without a WSDL Contract” shows a consumer for the service defined in Example 1.7, “Fully Annotated SEI”.
Example 2.7. Consumer Implemented without a WSDL Contract
The code in Example 2.7, “Consumer Implemented without a WSDL Contract” does the following: