Chapter 8. Scenario: Synchronous stateless (WebSphere consumer and .NET producer) 345
//Send float array as parameter to get sum of array
float result = calc3.add(argsArray);
//return result
return result;
}
Note that for testing and developing the projects, we used localhost as our host
name, but when you publish your Web Service to the outside world, we
recommend that you use a more meaningful host name.
The netCalculator2WebService URL:
http://<machine_name>/netCalculator2WebService/Calculator2WebServiceMethod.
asmx
The netCalculator3WebService URL:
http://<machine_name>/netCalculator3WebService/Calculator3WebServiceMethod.
asmx
Deployment
To provide the Web Service to the consumer, it is necessary to deploy it on the
IIS server. The deployment ...