Step 5 Binding Deployment and Configuration

LANSA Integrator

Step 5. Binding Deployment and Configuration

INT007 - Department List Inquiry

In this step, you will deploy the jar files and update the HTTPInboundXMLBindService properties file using Integrator Studio. In a previous exercise INT004, you have created a local properties section for this service. You will now update this and then Publish it to the server, as before.

1.  With your Project tab open in Studio, Expand the Integrator / properties folder and double click on the HTTPInboundXMLBindService.properties file to open it in the properties editor.

     The HTTPInboundXMLBindService.properties file should have the following entries from INT004:

      service.iiipro04_request=com.iiicompany.service.xml.IiiPRO04_requestService

service.archive.iiipro04_request=bindings/iiiPRO04_request.xml.jar

service.iiipro04_response=com.iiicompany.service.xml.IiiPRO04_responseService

service.archive.iiipro04_response=bindings/iiiPRO04_response.xml.jar

 

a.  You will now add the following lines to the file:

       service.iiipro05_request=com.iiicompany.service.xml.IiiPRO05_requestService
service.archive.iiipro05_request=bindings/iiiPRO05_request.xml.jar
service.iiipro05_response=com.iiicompany.service.xml.IiiPRO05_responseService
service.archive.iiipro05_response=bindings/iiiPRO05_response.xml.jar

 

     Do this as follows:

b.  Leave the first properties file open in the Properties Editor (1).

c.  Expand the folder XML List Request and open the file HTTPInboundXMLBindService.properties in the Properties editor.  Copy and paste this code into Properties Editor (1). Close the second properties editor.

d.  Repeat these steps to copy the code from XML List Response / HTTPInboundXMLBindService.properties into Properties Editor (1).

e.  Close the second editor. Save your changes in Properties Editor (1) and close it.

     Note: The java path is case sensitive.

2.  Now you need to update the server's version of HTTPInboundXMLBindService.properties with your modifications.

a.  Your JSM Server instance is probably already open on the right hand side from a previous step. If not, open it by double clicking on the server in your Project tab.

b.  In the Integrator / Properties folder, right click on your local HTTPInboundXMLBindService.properties file  and select the Publish Section option from the context menu.

c.  A message will ask you to confirm publish. Press Yes.

     The HTTPInboundXMLBindService.properties file on the server now defines what resource to use for this exercise.

3.  Deploy the jar files.

     You must copy the jar files from your PC into the appropriate JSM server directory. You will send the jar files to the directory \instance\bindings.

a.   In the XML List Response solution, right click on iiiPRO05_response.xml.jar and select Send To /, Integrator Folder from the context menu. Select Yes when asked if you want to copy the file over. Note that alternatively, you could simply drag and drop the iiiPRO05_response.jar file into the Integrator/bindings folder.

b  In the XML List Request folder, repeat step a. for iiiPRO05_request.xml.jar.

c.  In the left panel, expand the Integrator / bindings folder. One at a time, right click on each jar file and select Publish File. Select Yes when prompted.

d.  You will not need to reboot your JSM server since the JSM will retrieve the XMLBinding jar files from the /bindings folder...