Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now