cancel
Showing results for 
Search instead for 
Did you mean: 

trimming trailing part of SOAP URL

Baron
Participant
0 Kudos
921

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/"

Baron
Participant
0 Kudos

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

I cant access this link anymore!

VolkerBarth
Contributor
0 Kudos

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.

VolkerBarth
Contributor
0 Kudos

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?

Breck_Carter
Participant
0 Kudos

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.

VolkerBarth
Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (0)