Posts

Showing posts from May, 2012

How to set SyncServiceTimeout in Peoplecode

The correct syntax is "&msg.IBInfo.SyncServiceTimeout = 360000". The sample code that should work is: &msg = CreateMessage(Operation.PROCESS, %IntBroker_Request); &msg.SetXmlDoc(&xml); &ret = &msg.IBInfo.LoadConnectorPropFromRouting("~GENERATED~12752769"); &msg.IBInfo.SyncServiceTimeout = 360000; &msg.IBInfo.ConnectorOverride = True; &msg_Resp = &msg.SyncRequest(Node.BPEL); &xmlResponseDoc = &msg.GetXmlDoc();

How to Migrate Integration Broker Definitions

Managed definitions - services, service operations, service operations handlers, service operations routings, messages and message queues - can be inserted into a project within Application Designer and copied to a file for later migration to another database using copy from file.   Copying a routing requires that  the sending and receiving nodes are defined on the target database. If they are not defined on the target database, you must include the message node in the project. An exception to this is the local default node. During project copy, any routing referencing the local default node will be modified to reference the default local node of the target system.   For pre-8.50 tools release:     WSDL and Schema are nonmanaged definitions and hence use the delivered Datamover scripts   to export/import these definitions.   In 8.50+ tools release WSDL and Schema are managed definitions and can be migrated using Project Copy.   Prior to creating and copying the project and

Passing session id (which we got from Login Operation) to other operations (like Insert/Update…etc)

We know how to consume (any) webservices in Peoplesoft. But there may be some scenario like below. We got one webservice from third party and we consumed successfully. Now we need to invoke each operations in the service Like Login/Isvalid/Insert/Update. We are able to successfully invoke login which results session id. We need to pass session id to invoke other operations. Like passing to Set-Cookievalue in HTTP header. (In Java there is some option Like SESSION_MAINTAIN_PROPERTY). We tried below and worked successfully. Put the below code in other operations before getting response. &lmsgGoRequest.IBInfo.IBConnectorInfo.Cookies = &sessid;