dw.ws
Class Port
Object
dw.ws.Port
This class represents a port to a Service Endpoint Interface. This class provides access to operations the service provides. Use the WSUtil class to perform operations on the port such as setting timeout values and configuring security.

Developers should set a low timeout to ensure responsiveness of the site and avoid thread exhaustion (see WSUtil.setRequestTimeout(Number, Object)). The default request timeout is 15 minutes when the web reference is used in a job, and 2 minutes otherwise. If the timeout of the calling script is lower, the script timeout is used.

See Also:
Constants
ENCODING  :  String
Property constant for controlling the content type encoding of an outgoing message.
ENDPOINT_ADDRESS_PROPERTY  :  String
The target service endpoint address. When using this property, the URI scheme for the endpoint address specification must correspond to the protocol/transport binding for the binding in use.
PASSWORD_PROPERTY  :  String
Password for authentication. This property is used with the USERNAME_PROPERTY. You can also use the WSUtil.setUserNamePassword(String, String, Object) method instead of using these properties.
SESSION_MAINTAIN_PROPERTY  :  String
This boolean property is used by a service client to indicate whether or not it wants to participate in a session with a service endpoint. If this property is set to true, the service client indicates that it wants the session to be maintained. If set to false, the session is not maintained. The default value for this property is false.
USERNAME_PROPERTY  :  String
User name for authentication. This property is used with the PASSWORD_PROPERTY. You can also use the WSUtil.setUserNamePassword(String, String, Object) method instead of using these properties.
Properties
Constructor Summary
Port()
Method Summary
Constructor Detail
Port
public Port()