Developer Guide to the BPEL Designer

Change URLs

Open TravelReservationService.wsdl.

In the service tag change,

soap:address location="http://localhost:18181/TravelReservation/buildItinerary"/

to

soap:address location="http://localhost:19191/TravelReservation/buildItinerary"/

Similarly, update URL's for airlineReserved, hotelReserved and vehicleReserved.

Adjust the Partner EJB project, ReservationPartnerServices

Perform the following steps:

  1. In the IDE, open the ReservationPartnerServices project.

    (The IDE created the ReservationPartnerServices project in the location where you created the TravelReservationService project.)

  2. In the Projects window, expand the ReservationPartnerServices project node, expand the Configuration Files node, and then double-click the ejb-jar.xml node to open the file in the visual editor.

  3. In the Design view, under Enterprise Beans, click ReservationCallBackProviderMDB to expand the entry. Expand Bean Environment and then Environment Entries.

  4. Under Environment Entries, select each entry and click Edit to change the 18181 port number in the Entry Value field.

    For example, for AirlineCallbackURL, change

    http://localhost:18181/TravelReservation/airlineReserved

    to

    http://localhost:19191/TravelReservation/airlineReserved

Update the Destination Property

In the TravelReservationServiceApplication Composite project expand the Test node. For each test case node under it:

  1. Right-click the test case node and choose Properties.

  2. In the Properties window, update the value of the Destination property.

    Example:

    Change http://localhost:18181/TravelReservation/buildItinerary

    to

    http://localhost:19191/TravelReservation/buildItinerary