The tutorial basically uses the port in 2 places:
Changing the first should be quite simple: Just change the port number in the simpleTest.cmd and aggregateTest.cmd.
The service end point is specified in the *Locator.java files in the package com.softwareag.xtools.xapplication.examples.webservices.clients.stubs. These files are generated via the WSDL2Java tool of axis. You can easily change the port there.
Another option would be:
The *Locator classes also have a second method via which you can specify the port. You could use this method of the *Locator classes from within the *Proxy classes. This means: You would for instance modify the file BuyerInterestInPropertyProxy.java in the following way:
BuyerInterestInPropertyServiceLocator service =
new BuyerInterestInPropertyServiceLocator();
port = service.getBuyerInterestInProperty(new java.net.URL(“
http://localhost:8089/axis/services/BuyerInterestInProperty”));
Best Regards,
Christine
#Tamino#API-Management#webMethods