Solved

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

Posted on 2014-10-10
5
625 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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 (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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

630 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