(WID/WPS) Mapping Bindings

One of the crucial functionality provided by WESB is the protocol transformation or in other words "transport binding transformation".


In the example given below I have done mapping from SOAP/HTTP Web service binding to JMS binding.


Background:
Bindings can be defined on an import or export. On an export, they describe how a client or an SCA component communicates with the mediation module. On an import, they describe how the mediation module communicates with the defined service.


Server Runtime configuration:
Creating a new Destination (Queue)
  • Run the administrative console and log in.
  • Select Service integration -> Buses.
  • Click the SCA.APPLICATION.xxxCell.Bus link. (xxx is either wid or esb)
  • Under Destination resources on the right-click Destinations.
  • We will see two predefined destinations, a topic, and a queue.
  • Click New to create a new destination on the bus.
  • The next screen shows four types of destination that can be specified. Select
  • Queue and click Next.
  • The queue attributes screen is displayed. Enter JMSImportOut as the identifier
  • then click next & complete the queue attribute creation.


Creating a QCF & Queue
  • Select Resources -> JMS Providers -> Default messaging.
  • Under Connection Factories, click JMS queue connection factory, click New.
  • Fill in the properties of the queue connection factory:
    • Set the Name as sampleBindingQCF.
    • Set the JNDI Name to jms/sampleBindingQCF.
    • From the list for Bus name, choose SCA.APPLICATION.xxxCell.Bus.
    • Click OK at the bottom of the screen.

  • Select Resources -> JMS Providers -> Default messaging.
  • On the right, under Destinations, click JMS queue and then click New.
  • Create the queue.
    • Set the Name to JMSImportOut.
    • Set the JNDI Name to jms/JMSImportOut.
    • Select SCA.APPLICATION.xxxCell.Bus from the Bus Name menu.
    • Select JMSImportOut from the Queue Name menu.
    • Click OK at the bottom of the screen.
  • Click the Save link at the top of the console and confirm the changes to the master configuration by clicking Save.


After successful completion code & testing, to the message in queue follow the below steps:
  • Select Service integration -> Buses -> SCA.APPLICATION.xxxCell.Bus -> Destinations -> JMSImportOut -> Queue points -> JMSImportOut@xxxNode.server1-SCA.APPLICATION.xxxCell.Bus.



  • We can see the current message depth is 1, to see whats there in message,click the Messages link in Additional properties (right)


  • Now click on Identifier link to see the message body.
Attached PI

1 comment:

  1. Your car might be stolen if you don't keep this in mind!

    Imagine that your vehicle was taken! When you visit the police, they inquire about a specific "VIN decoder"

    Describe a VIN decoder.

    Similar to a passport, the "VIN decoder" allows you to find out the date of the car's birth and the identity of its "parent" (manufacturing facility). You can also find out:

    1.Type of engine

    2.Model of a vehicle

    3.The DMV and the limitations it imposes

    4.The number of drivers in this vehicle

    You will be able to locate the car, and keeping in mind the code ensures your safety. The code can be examined in the online database. The VIN is situated on various parts of the car to make it harder for thieves to steal, such as the first person's seat on the floor, the frame (often in trucks and SUVs), the spar, and other areas.

    What happens if the VIN is harmed on purpose?

    There are numerous circumstances that can result in VIN damage, but failing to have one will have unpleasant repercussions because it is illegal to intentionally harm a VIN in order to avoid going to jail or calling the police. You could receive a fine of up to 80,000 rubles or spend two years in prison. You might be stopped by an instructor on the road.

    Conclusion.

    The VIN decoder may help to save your car from theft. But where can you check the car reality? This is why we exist– VIN decoders!

    ReplyDelete