on 2012 Jun 22 9:18 AM
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
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
10 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.