Here is my ruby code for consuming the service
require 'soap/wsdlDriver'
wsdl = "http://localhost:8080/AwareIM/services/ActiveMonitor?WSDL"
driver = SOAP::WSDLDriverFactory.new("http://localhost:8080/AwareIM/services/ActiveMonitor?WSDL").create_rpc_driver
response = driver.MyService02 "ActiveMonitor", "admin", "password"
print response, "\n"
print response.p1, "\n"
print response.p2, "\n"
This is the output
#<SOAP::Mapping::Object:0x35468e0>
nil
nil
the stack trace from the tomcat log is:
Received request for service
Exception thrown in web service MyService02
com.bas.connectionserver.server.AccessDeniedException null
com.bas.connectionserver.server.AccessDeniedException
at com.bas.connectionserver.server.ConnectionFactory.createLocalSocketConnection(Unknown Source)
at com.bas.webapp.webservices.ActiveMonitor.MyService02(ActiveMonitor.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
I trimmed some of the trace off.
the fact that I get nil when I try to print p1 and p2 indicates the WSDL is good and the call is getting through. When I had the business space wrong before I was getting excpetions when I tried to print and errors in the Aware IM server log, saying it was an unknown business space, so I think this is pretty close.
Any help would be appreciated
Thanks