I created a simple 'document/literal' style webservice in Eclipse for addition of two numbers. And now m trying to create a simple java client which would call webservice. When I try to run the client it says "rpc" not supported even though m calling the document style web service. I know RPC/encoded style is not WS-I complient.
Here is an exception
Exception in thread "main" operation style: "rpc" not supported
here is my wsdl file,
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://DefaultNamespace" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://DefaultNamespace" xmlns:intf="http://DefaultNamespace" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
WSDL created by Apache Axis version: 1.2.1
Built on Jun 14, 2005 (09:15:57 EDT)