Solved

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

Posted on 2014-10-10
5
556 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 34

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 34

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 34

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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

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…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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.

770 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