Delphi Client Web Service does not work fine
I wrote a Hello web service with a method and with a parameter, and import WSDL in delphi, All works very well. But when I add two parameters I receive the error below:
java.lang.IllegalStateException: Cannot obtain java type for: {urn:CalculatorFacade/types}add
at org.jboss.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:710)
at org.jboss.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:1187)
at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:1045)
at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:972)
Using the google I discovery this tutorial.
http://www.javapassion.com/planning/handsonbyol/netbeanswebservices
I wrote a calculator web service with Netbeans and deploy it on jboss-4.0.3.
So I was change my project parameters to change wscompile parameters: rpcliteral, strict
When I execute the code: x = calc.add(a, b)
I receive another error:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: javax.xml.rpc.JAXRPCException: No such operation 'int_1'
at org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:273)
at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
I test this web service in a Java client and it works very fine, but with delphi client it does not work :(
Can someone help me?
[]s, Welington B. Souza

