WebSphere Web service Claims SDO setup instructions

After you import the sample, if you want to run the sample code you need to create and configure a WebSphere v6.x server and associate the sample with it using the following steps:
  1. From the File menu, select New > Other > Server > Server > Next.
  2. Select WebSphere v6.x Server as the server type, and click Next.
  3. Enter server1 as the server name, and click Finish.
  4. To see the server you have created in the workspace, from the Window menu select Show view > Other > Server > Servers > OK.
Once the server is set up you can import the sample and associate it with the server:
  1. To associate the sample with the server, right-click the server you created and select Add and remove projects. Select the ClaimServiceEAR and ClaimClientEAR from the Available projects list and click Add.
  2. You should be prompted to restart the server. If not, restart it manually by right-clicking it and clicking Start.
  3. To run the service, Dynamic Web Projects folder, right-click the SubmitClaim.html in the ClaimClient WebContent directory and select Run on server.
  4. Enter any number as a policy number and click Submit. Ensure that the claim is echoed back.
Note: By default the SOAP address in the WSDL file is set to use port 9080. This can be seen by opening the WSDL file and searching for the entry:
<wsdlsoap:address location="http://localhost:9080/ClaimService/services/ClaimPort"/>
If you have changed the ports on your server to something other than the default, you will need to update the WSDL files for both the client and the server to match your port number.
Parent topic: WebSphere Web services claims SDO sample

Feedback