I am trying to call a SOAP webservice over my Sql-anywhere 17 Database.

I am following the steps declared here

So that I use the following code:

create FUNCTION Bank_Details(BLZ varchar(40))

RETURNS XML

URL 'http://thomas-bayer.com/blz/'

SET 'SOAP(OP=getBank)'

TYPE 'SOAP:DOC';

select Bank_Details('10070000');

Whereas http://thomas-bayer.com/blz/ is a valid dummy SOAP Service, but my select ends with error status code '404 Not Found'

I activated logging, and can see in the log file that the problem is that the URL is trimmed, so that "http://thomas-bayer.com:80" is called instead of "http://thomas-bayer.com/blz/"

asked 27 Jan, 09:13

Sako's gravatar image

Sako
1.0k405493
accept rate: 25%

edited 27 Jan, 09:15

Is this link http://dcx.sap.com/index.html#sa160/en/dbprogramming/passing-parameters-soap.html intentionally deactiviert?

I cant access this link anymore!

(05 Feb, 04:30) Sako
Replies hidden

Seems to be a problem with the SA16 English DCX topics only, they don't seem to open in time, other versions or the SA16 German help do work as expected. FWIW, you can certainly use the SA17 help on this topic.

(05 Feb, 06:20) Volker Barth

As to your question, the mentioned link http://thomas-bayer.com/blz/ returns HTTP error 404 in my browser, too, so I'd think it is not a SQL Anywhere problem. Where exactly do you notice that the URL is stripped - can you show a snippet of that according web client log?

(05 Feb, 06:22) Volker Barth

In addition to what Volker said, the SAP Help Portal is now preferred over DCX.

One quirk to be aware of is the Portal tends to change "This product" to "This document" after you do a search, and you have to change it back if you want later searches to cover all topics.

FWIW I removed DCX from the search bar on this blog.

(05 Feb, 07:46) Breck Carter

Hm I still prefer DCX, except on mobile devices (where it really su..s.)

(05 Feb, 08:32) Volker Barth
Be the first one to answer this question!
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:

×19

question asked: 27 Jan, 09:13

question was seen: 128 times

last updated: 05 Feb, 08:32