Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.jws
Annotation Type ServiceClient


@Retention(value=RUNTIME)
@Target(value=java.lang.annotation.ElementType.FIELD)
public @interface ServiceClient

This is an annotation that you can place on a stub that's used within a JWS. By placing this annotation, the container will perform dependency injection to the stub which allows you to use advanced features such as reliable messaging, conversational invoke and asynchronous invokes.


Required Element Summary
 String serviceName
          The service name that this stub points to.
 
Optional Element Summary
 String endpointAddress
          The endpoint address that this stub is supposed to be calling.
 String portName
          The port name that this stub points to.
 String wsdlLocation
          The wsdl location that this stub points to.
 

Element Detail

serviceName

public abstract String serviceName
The service name that this stub points to.

portName

public abstract String portName
The port name that this stub points to. If there is only one port, this attribute is optional.

Default:
""

wsdlLocation

public abstract String wsdlLocation
The wsdl location that this stub points to. If leave blank, the runtime will use the saved wsdl to instantiate the stub.

Default:
""

endpointAddress

public abstract String endpointAddress
The endpoint address that this stub is supposed to be calling. If leave blank, the runtime will use the address specified in the wsdl.

Default:
""

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02