|
| I am using Powerbuilder 10. I am creating webservice in
Powerbuilder, then created a proxy to call it.
The proxy created fine.
But however when I call the function I get
the unknown function error. m = myproxy.fhello()
is calling line. I can call a webservice
created in .Net with no problem.
Please help. Thanks in advance.
I really need this urgently.
Here is my code.
proxy_testmywebservices_n_n_pbhello mypr
oxy
long ret
SoapConnection myconn
String m
myconn = create SoapConnection
ret = myconn.CreateInstance(myproxy,
"proxy_testmywebservices_n_n_pbhello")
if ret = 0 then
try
// Invoke service and display result
m = myproxy.fhello()
MessageBox("SOAP Response", m+"..."+string(ret))
catch ( SoapException e )
// error handling
MessageBox ("Error", "Cannot invoke Web service. Exception info: " +
e.text)
end try
else
MessageBox ("Error: " + string(ret), &
"Unable to create proxy")
end if
destroy myconn
|
|