Hi
Thank you for reading my post
Can you please explain following snippet for me?
<reference name="StockQuoteReference1">
<interface.wsdl
interface="http://www.stockquote.org/StockQuoteService#wsdl.interface(StockQuote)"/>
<binding.ws
wsdlElement="http://www.stockquote.org/StockQuoteService#wsdl.service(StockQuoteService)"
wsdli:wsdlLocation="http://www.stockquote.org/StockQuoteService
http://www.stockquote.org/StockQuoteService.wsdl" />
</reference>
Imagine that i have a java class named Calculate, it has one method
which takes two numbers and return an integer as result. something like :
@WebService()
public class Calculate {
/**
* Web service operation
*/
@WebMethod
public int addThem(@WebParam(name = "a")
int a, @WebParam(name = "b")
int b) {
// TODO write your implementation code here:
return a+b;
}
}
URL to wsdl of this web service is like:
http://localhost:8080/sample/CalculateService?wsdl
Now how the above code snippet which is an SCA code snippet should
change to use my web service and its addThem method?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]