Rick,
I am going to take a try at this:
In Sybase Central, I created these webservice entries:
mytest1
enabled: yes
type: DISH
User: DBA
mysample
enabled: yes
type: SOAP
User: DBA
SQL Statement: select dba.customer.id from DBA.customer
start asa as the webserver:
dbsrv16.exe "<mydb_path\easdemo.db" -xs http(port=8080)
In PowerBuilder:
create a .net webservice proxy using: http://localhost:8080/mytest1
SoapConnection lnv_soap
mytest1 myproxy
string ls_response
long ll_rc,ll_mylong
lnv_soap = CREATE SoapConnection
ll_rc = lnv_soap.CreateInstance ( myproxy, "mytest1", "http://localhost:8080/mytest1" )
ls_response = myproxy.mysample(ll_mylong)
Destroy lnv_soap
PBDOM_Builder pbdom_bldr
pbdom_document pbdom_doc
pbdom_element element[]
boolean bb_bool
pbdom_bldr = Create PBDOM_Builder
pbdom_doc = pbdom_bldr.BuildFromString (ls_response)
// retrieves the customer id from customer table
bb_bool = pbdom_doc.getelementsbytagname("id",element[])
integer ii_bound, i
ii_bound = upperbound(element)
for i = 1 to ii_bound
mle_1.text += element[i].gettext() + "~r~n"
next
Thanks,
Beverly