Create a Producer definition offline
When creating a Producer definition offline, you need to be aware which information provide.If you work offlines that is we cannot connect from the Consumer portal to the Producer portal, we can only use xmlaccess.sh to create the Producer definition. In this case we specify the following WSRP interface information:
- The URLs to the Service Description and the Markup interfaces of the Producer.
- If the Producer supports the two optional WSRP interfaces Portlet Management and Registration, we specify them as well.
If the Producer requires certain registration properties or a registration handle with the registration by the Consumer, you have to specify this information as well.
xmlaccess.sh writes all parameters that you provide into the portal database. This includes all of the following information:
- The URL for the Producer's WSDL service definitions
- A name for the Producer definition
- A description for the Producer definition
- The registration handle that you received from the Producer by outside communication
- The registration properties
- The user attributes.
The portal transfers the user attributes and the registration handle to the Producer at a later time when both of the following conditions apply:
- You work onlines that is we can connect to the Producer portal.
- You update the portal configuration with an XML script that includes consuming a Web service as a remote portlet.
The user attributes are sent to the Producer with every markup or action requests that is every time when a user interacts with a remote portlet on that Producer.