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

asked 22 Jun '12, 08:18

Jaak%20Thijs's gravatar image

Jaak Thijs
131479
accept rate: 50%


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'

permanent link

answered 22 Jun '12, 08:57

Jaak%20Thijs's gravatar image

Jaak Thijs
131479
accept rate: 50%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×17

question asked: 22 Jun '12, 08:18

question was seen: 652 times

last updated: 22 Jun '12, 08:57