Ce contenu n'est pas disponible dans la langue sélectionnée.
23.5. Implementing the Consumer's Business Logic
Overview Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
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 Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
Example 23.7, “Consumer Implemented without a WSDL Contract” shows a consumer for the service defined in Example 22.7, “Fully Annotated SEI”.
Example 23.7. Consumer Implemented without a WSDL Contract
The code in Example 23.7, “Consumer Implemented without a WSDL Contract” does the following: