cancel
Showing results for 
Search instead for 
Did you mean: 

Web client procedure no longer works on SQLA 12

Former Member
1,984

I use a web client procedure to retrieve information from another Sybase database

CREATE PROCEDURE "DBA"."Web_Request_SoapDoc"(in myurl long varchar,in myaction long varchar, in mypar long varchar,in mycert long varchar) url '!myurl' type 'soap:doc' certificate '!mycert'

The second database has a webservice : CREATE SERVICE "VwRegistratie" TYPE 'SOAP' FORMAT 'XML' AUTHORIZATION OFF SECURE ON USER "DBA" AS call VwReg(:action)

The procedure VwReg returns an XML

If the second database is SQLA10, it works. If the second database is SQLA12, i get an error : Bad request

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

I found the solution. Parameter : set 'SOAP(OP=VwRegistratie)' is needed (and case-sensitive)

Correct syntax = CREATE PROCEDURE "DBA"."Web_Request_SoapDoc"(in myurl long varchar,in myaction long varchar, in mypar long varchar,in mycert long varchar) url '!myurl' set 'SOAP(OP=VwRegistratie)' type 'soap:doc' certificate '!mycert'

Answers (0)