Use xmlaccess.sh to create a Producer definition
We can use xmlaccess.sh to create a Producer definition online or offline.The main tag to specify when we use xmlaccess.sh to create a Producer is the wsrp-producer tag. The following table lists possible subtags that we can specify with the wsrp-producer tag:
Possible subtag for the wsrp-producer tag Description wsdl-url This describes the URL to the Producer's WSDL document. This is the only tag that is required for creating a Producer when using an online connection. The other URLs are extracted from this WSDL file. port-type Each of the Producer ports (Service Description, Markup, Portlet Management and Registration) can be described by one tag. These tags are required for offline creation. parameter This is used for registration properties. preferences This is used for user attributes. localedata This is used to specify NLS names and titles. access-control This is used to specify access control. The following table lists possible attributes that we can specify with the wsrp-producer tag:
Possible attributes for the wsrp-producer tag Possible values Description registration- required true|false This indicates whether the Producer requires registration. force true|false This forces creation of the Producer. default true|false Set this to true if this is the default Producer. Use the following subtags to specify the Producer ports.
Subtag Description secure-url Secure URL of the port (https). unsecure-url Unsecure URL of the port (http). ws-security-profile Security profile of the port. Use the following attributes to specify the Producer ports.
Attribute Possible values Description type One of the following:
- service-description
- markup
- portlet-management
- registration
Defines the port to which the tag applies. defaultbinding One of the following:
- secure
- unsecure
- onrequest
- undefined
Defines whether to use the secure or unsecure URL. The value onrequest applies to the Markup port only. The following attributes are listed for the sake of completeness only. Do not change them.
creating a WSRP Producer definition that are not to be changed. These
Possible attribute for the wsrp-producer tag Possible values Description state (binary data) The Producer's state. This is specified as Base64 encoded binary data. It is usually only used during export and update by xmlaccess.sh. cookiepolicy One of: none per_user per_group undefined The Producer's cookie policy. The policy and possible values are defined in the WSRP specification. wsrpversion V1 | V2 This indicates the WSRP protocol version used for communication between consumer and producer.
- XML samples for creating Producer definitions
We can modify use these XML samples and use them to create Producer definitions,
Parent: Use xmlaccess.sh to work with Producer definitions
Related:
xmlaccess.sh