Solved

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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Date and Time Conversion from Numeric Fields 21 281
Dynamic Query Need 9 89
console vs log file 16 83
db2 != check 14 57
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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