From: Vijay Kumar M <vijaykumarm_at_gmail.com>
Date: Fri, 25 Apr 2008 16:28:05 -0700
Hi,
Am using JAX RPC for webserices client implementation.
Here is my WSDL content which is deployed on SAP system:
// Create a service object to act as a factory for proxies.
Service mathService = serviceFactory.createService(url,
new QName(nameSpaceUri, serviceName));
// Create a proxy
ZWS_RECORD_SIMPLE
myProxy = (ZWS_RECORD_SIMPLE) mathService.getPort(new
QName(nameSpaceUri,
portName), ZWS_RECORD_SIMPLE.class);
// Cast the stub to the service endpoint interface (MathFace)
Problem :
If i run using Java command at the console, its throws me exception :
D:\Webservice\Dynamic-proxy3\build>java Test.SapClient
port: {urn:sap-com:document:sap:rfc:functions}ZMDM_WEBSERVICESoapBinding
does no
t contain operation: getPRODUCT_ID
at
com.sun.xml.rpc.client.dii.ConfiguredCall.configureCall(ConfiguredCal
l.java:98)
at
com.sun.xml.rpc.client.dii.ConfiguredCall.configureCall(ConfiguredCal
l.java:69)
at
com.sun.xml.rpc.client.dii.ConfiguredCall.setMethodName(ConfiguredCal
l.java:50)
at
com.sun.xml.rpc.client.dii.DynamicProxyBuilder.buildDynamicProxyFor(D
ynamicProxyBuilder.java:66)
at
com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredServic
e.java:250)
at Test.SapClient.main(SapClient.java:39)
Request you to help me to over come this issue...
Thanks a bunch in advance...