long data type unsupported when attempting to invoke webservice via
clients.DynamicInvoker
------------------------------------------------------------------------------------------
Key: WSIF-96
URL: https://issues.apache.org/jira/browse/WSIF-96
Project: Axis-WSIF
Issue Type: Bug
Affects Versions: 2.0
Environment: Windows XP Professional SP3 / JDK1.6.0_17 / axis2-1.5.1 /
wsif-2.0 / IE6.0
Reporter: Sundararajan Devaki Madhan
I am new to webservices (ws).
I followed the "code first approach" to generate a ws. I wrote a simple class
with a method that returns a long value using the System.currentTimeMillis()
Java API. I was able to successfully host the service in the
axis2-1.5.1\repository\services. I viewed the list of available services using
the url, http://localhost:8080/axis2/services in IE. I clicked on the link that
showed the name of the ws and copied the contents of the shown wsdl into a text
file with .wsdl extension. Then I used the following command to access the ws.
java clients.DynamicInvoker <path to wsdl> getUID
I got the following error.
Exception in thread "main" java.lang.RuntimeException: part type
{http://www.w3.org/2001/XMLSchema}long not supported in this sample
at clients.DynamicInvoker.retrieveSignature(Unknown Source)
at clients.DynamicInvoker.invokeMethod(Unknown Source)
at clients.DynamicInvoker.main(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.