Solved

can db2 send xml file via soap and rest request to other server

Posted on 2014-10-10
5
569 Views
Last Modified: 2016-02-26
Hi,
can db2 send xml file via soap and rest request to other server if yes any example
you guys can share.

Thanks
0
Comment
Question by:sam2929
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 40374827
0
 

Author Comment

by:sam2929
ID: 40393200
just tested below sql getting error

------------------------------ Commands Entered ------------------------------
SELECT
   DB2XML.HTTPGETCLOB('http://www.ibm.com','')
FROM SYSIBM.SYSDUMMY1;
------------------------------------------------------------------------------
SELECT DB2XML.HTTPGETCLOB('http://www.ibm.com','') FROM SYSIBM.SYSDUMMY1
SQL0440N  No authorized routine named "HTTPGETCLOB" of type "FUNCTION" having
compatible arguments was found.  SQLSTATE=42884

i am on:

Database server        = DB2/AIX64 9.5.9
0
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 40394370
Looks like you either didn't create the function HTTPGETCLOB, or if you did, you don't have rights to it.  HTTPGETCLOB isn't part of DB2 - it is a user-defined function that you have to create.
0
 

Author Comment

by:sam2929
ID: 40395432
can you please help how can i create it
0
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 40395444
First article above contains the download link.  ZIP file contains complete instructions.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question