Call Webservice using REST and not SOAP
Hi, I am looking for an example of calling (invoking) a webservice from the database using PLSQL. The webservice is using REST rather than SOAP and returning XML
I have already got examples of how to call a webservice using SOAP but not for REST
Regards
Ash
Using Fiddler while loading your WSDL in a browser, I can see that the WSDL is using HTTP Chunked encoding. You should configure JBoss to return the WSDL without chunked encoding.
Similar Messages
-
How to show busy cursor when call webservice using as?
I want to call webservice using script,but i don't know how
to show busy cursor.please help meShow busy cursor:
>>>
CursorManager.setBusyCursor();
<<<
and hide it:
>>>
CursorManager.removeBusyCursor();
<<<
Don't forget to catch all events of the web-service to
securely remove the busy cursor. Especially, you might wish to
handle events of the 'results received' and the 'faults appeared'
logical results. -
Using NULL and NOT NULL in prompted filters
Dear all,
While trying to grap the concept of prompted filters in sap bo web intelligence, I had a question whether why we cannot use NULL and NOT NULL while creating a prompted filters in our report.HI,
'Is Null' and 'Not Null' are the predefined functions in webi which only eliminate the null values or considering only null values.
'Is Null' and 'Not Null' are itself predefined functions that why you are not getting prompts.
Null values are standard across the databases so this is defined as a function in webi to specific eliminate the null values.
If something is not standard then there is option in the webi to use different operator with static values or with prompts.
More more information on Null see the Null wiki page.
Null (SQL) - Wikipedia, the free encyclopedia
Amit -
How can I get my data from a old iPad to a new iPad using iCloud and not iTunes
How can I get my data from a old iPad to a new iPad using iCloud and not iTunes
Restore from the iCloud backup - assuming that you were backing up to iCloud in the first place. If you weren't using iCloud for backup - then you are out of luck.
If you were backing up to iCloud - you have to erase all contents on the iPad in Settings>General>Reset>Erase all content and settings - before you can restore from the iCloud backup.
Read this article before you do anything else
http://gigaom.com/apple/ios-101-set-up-and-restore-from-icloud-backup/ -
I can't log in the App store because am from Zambia which is not listed in Apple outlets. How do i go around this as apple products are used globally and not only in the listed countries. My product is a Mac book pro. i feel this limits how i can use my product
Unfortunately you have taken an Apple product outside of the area where Apple currently does business. There isn't legally a way around this. Apple cannot license apps to you where you currently live.
-
Problem in calling webservice using https from livecycle designer
I want to call a webservice written in .net(c#) using https from livecycle designer.I can call webservice using http ,but when i try with https it is failing.If there any special configuration have to do in server for this ?I have already put crossdomain in server.
Waiting for your reply
thank'sHow did you call from LC? Please help me out either one is fine to me http or https
Srujan -
When I click on the converted PDF n my downloads, I receive a message saying 'invalid file format'.
Could that be because I use Pages and not Word?
If so, how can I convert my PDF's to Pages so I can modify the documents?Hi Kathy,
I'm not very familiar with Pages, but I did just read on Apple's website that it does import .docx files. What happens when you open Pages, and then choose File > Open to open the .docx files?
Best,
Sara -
Is there a way to do a spelling quiz in captivate using images and not questions as reference. Specifically i want have blank lines underneath an image, where the user looks at the image and types the correct letters to fill in the blank. For example a picture of a dog, with this _ _ _ underneath for the user to fill in, or in some cases perhaps having them fill in the vowel like so "d_g".I must have audio with this , as the students will be able to listen to the audio sound out the word phonetially to help them be able to type it!
Appreciate any advice! Cheers!Hello everybody!
This widget is great!! Thank you for that!!
I searched for something like that earlier and made an other workaround:
http://forums.adobe.com/message/1912430#1912430
The Javascript did not work in my test. I brought to the "if you reach this slide" feature but it failed.
Regards,
Markus -
How To : Call External Webservice from BPEL and pass SOAP Message to the WS
Hello All-
Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
<strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
<strong>2. Transform the message</strong>
<strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
I am new to Webservice integration using BPEL and would really appreciate your help.
Thanks In Advance
Regards,
DibyaHi Dharmendra,
I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
This is what I see in the TCP monitor, please note the double SOAP env:Body:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<env:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
<wsa:Metadata>
<device xmlns:hl7="urn:hl7-org:v3">
</device>
</wsa:Metadata>
</env:Header>
<env:Body>
<RCMR_IN000002NR01>
</RCMR_IN000002NR01>
</env:Body>
</RCMR_IN000002NR01>
</env:Body>
</env:Envelope>
Any help is appreciated.
Regards,
Aagaard
Edited by: Aagaard on Oct 30, 2008 8:59 PM
Should have mentioned. I am using BPEL 10.1.3.4
Edited by: Aagaard on Oct 31, 2008 8:43 AM
I have opened a new thread for this question so as to not confuse the issue more than necessary.
How many SOAP envelopes do you really need? -
How to call webservices using soap in xi
Hello
I am tring to work on webserivces,bascially i am not having any knowledge on webservices,i have seen the documentation & i know how to configure soap adapter & how to define webservice in integration directory.can any one please help me out how to work with webservices & good documentation on webservices & soap.
Thanks
RajeshHi Rajesh,
Use server(tomcat server) or plain html coding for defining webservices....
check sample webservice coding
Purchase Order Web Application
dispDate(0)
Purchase Order Input Parameters:
Document Type:
Standard PO
Vendor Number:
Purchase Order Date:
Purchasing Material:
Delivery Date:
Quantity:
NetPrice:
Unit of Measurement:
PCs
PriceUnit:
Results:
/code
And gothrough the following weblogs which will be useful...
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/thomas.jung3/blog/2005/06/05/web-services-the-case-of-the-missing-soap-action-header
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Hope u get some idea...
Regards,
Sridhar
Message was edited by: sridhar reddy kondam -
How to call webservice using standalone application
Hi,
Actually i am trying to connect with one free webservice using client. but i am uanble to get the result and it is throwing the Exception.Exception is Execution failed. Exception: java.net.ConnectException: Connection timed out: connection reset
i am using the following code.
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
import javax.xml.namespace.QName;
import java.io.*;
public class AddFunctionClient {
public static void main(String [] args) {
try {
String endpoint = "http://www.startvbdotnet.com/web/sample2.asmx?wsdl";
System.setProperty("http.proxyHost", proxyHost);
System.setProperty("http.proxyPort", portNumber);
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationName(new QName(endpoint, "add"));
System.out.println("connected");
System.out.println("value is"+call.invoke(new Object[]{new Integer(10),new Integer(20)}));
} catch (Exception e) {
System.err.println("Execution failed. Exception: " + e);
can any one help on thisHi,
If your JAVA Application is Web based application, you can expose it as Webservice.
JAVA People will pick the data from Dbase using their application and will send the data to XI by using our XI Details like Message Interface and Data type structure and all.
So we can Use SOAP Adapter or HTTP in XI..
If you use HTTP for sending the data to XI means there is no need of Adapter also. why because HTTP sits on ABAP Stack and can directly communicate with the XI Integration Server Directly
If you are dealing with the Webservice and SAP Applications means check this
Walkthrough - SOAP XI RFC/BAPI
REgards
Seshagiri -
How to call webservice using jdev9i
Hi gurus and experts,
i need to consume a webservice using oaf. with great effort finally i created stub using axis s/w.
now i dont know how to use the stub in jdev.where to write the code and what to write.iam strucked :-( .
since there were no sample tutorial about how to call webservice from jdev9i, iam struggling to make.iam jus a starter.
and while googling i came to know that stubs can be created using jdev9i .but when i see new-->webservices--web service stub it is greyed out.
i have 2 questions now:
1)if stub created using axis can it be used in jdev9i? if yes ,please tell me how? any tutorial links also helps me.
2)if the stubs should be created only by jdev9i so that webservices can be called using jdev,then please guide me how to make it.
i need some helping hands from u guys.
Thanks a lot
Edited by: 881533 on Oct 25, 2011 2:34 AM
Edited by: 881533 on Oct 25, 2011 2:37 AMHello sir,
i got following reply:
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Error_request</returnResult>
</returnRecordResponse>
but correct response is
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Success</returnResult>
</returnRecordResponse>
can you tell me correction in the code which i have put on the forum?or tell me other way to call webservice? -
Calling webservice using Adobe lifecycle designer7.1
Hi,
I am trying to call a webservice which is running on my SAP Netwaeaver using Adobe designer 7.1 , I am not able to create new data connection.
I am able to call this webservice using simple webservice client but not with ALD7.1 that means my service is working fine.
Can any body tell me are there any specific settings are needed for this webservice.
Thanks in adv
SudheerHi Sudheer,
There exists no seperate configurations required.
1. providee URL or filepath.
2. Map th request and response fields.
3. Use the button generated to trigger the same.
Wats the error that you are getting.
You may first try using a simple service with a default login ID and password configured.
Hope this helps,
- anto. -
How to call webservice using flex?
Hello,
i want to call webservice in flex.i tryied following code.but it is not giving correct response.what is wrong with this code?
can anybody tell me ,how to call webservice in flex?
Code:
<mx:Script>
<![CDATA[
public function button1_clickHandler(event):void
ws.returnRecord(para1,para2);//i am sending two parameter to returnRecord service here
public function remotingCFCHandler(event:ResultEvent):void
trace(event.result);
]]>
</mx:Script>
<mx:WebService
id="ws"
wsdl="http://localhost:8500/flexapp/returnusers.cfc?wsdl">
<mx:operation name="returnRecords" resultFormat="object"
fault="mx.controls.Alert.show(event.fault.faultString)"
result="remotingCFCHandler(event)"/>
<mx:Button label="Go" fontWeight="bold" click="button1_clickHandler(event)"/>Hello sir,
i got following reply:
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Error_request</returnResult>
</returnRecordResponse>
but correct response is
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Success</returnResult>
</returnRecordResponse>
can you tell me correction in the code which i have put on the forum?or tell me other way to call webservice? -
Hi,
it looks like that images which are retrieved with a
apex_util.get_blob_file
call are broken when the user is not authenticated. If the generated image URL is directly called in the browser, it shows a 404 Not found error with a "Invalid Session" in the error log file on the Apache.
The above image URL is generated when using the apex_util.get_blob_file_src function call. If the new IMAGE format mask (eg. in an IRR) is used it seems to be fine, because that generates a apex_util.get_blob call.
Testcase:
1) http://apex.oracle.com/pls/otn/f?p=17201:3 (That's the sample application with page set to "doesn't need authentication")
-> Image column is broken
2) Login with demo/patricks_demo_workspace
3) Go again to page 3 (Products)
-> Image column is displayed correctly
Thanks for looking into that
Patrick
Oracle APEX Essentials: http://essentials.oracleapex.info/
My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/Hi Scott,
when I woke up today it also came into my mind that it may has something to do with the referenced P6_PRODUCT_IMAGE in the
apex_util.get_blob_file_src('P6_PRODUCT_IMAGE',p.product_id)call which references a page item on a non-public page.
I think apex_util.get_blob_file_src or better apex_util.get_blob_file shouldn't really care if the "definition" of how the BLOB looks like and where to read the information from is on a non-public page. Because it doesn't read or set actual data it just reads the definition, so it shouldn't be a security issue.
Another question is, if it's so useful to reference a page item to get this BLOB information and not directly being able to specify this information as parameters in the apex_util.get_blob_file_src call. I think I also raised that during the 3.1 beta, because in case if you just want to display a BLOB you still have to create somewhere a page item of type "file browser" to being able to reference it in the get_blob_file_src call. Direct passing of the vales would also be more transparent and self documenting.
BTW, the above code is an example of the "Sample Application" and wasn't made up by me, so probably a lot of people are using this technique to get rid of there own blob download procedures.
Have a nice weekend
Patrick
Oracle APEX Essentials: [http://essentials.oracleapex.info/]
My Blog, APEX Builder Plugin, ApexLib Framework: [http://www.oracleapex.info/]
Maybe you are looking for
-
Import Fixed asset Master Data From Microsoft Excel
Hi I'm trying to import fixed master data throught .txt file but it shows me the folowing error "The depreciation start date of asset "A2" for depreciation area "COLGAP" cannot be in the import fiscal year" Where A2 is Fixed Asset Code and COLGAP is
-
How to install itunes and docusign in ios simulator for monodevelop
Hi All, Can anyone tell me on how to install iTunes and other applications like Docusign in ios simulator that is run on Mac(monodevelop). Thanks
-
Mac Mini does not detect DVI display on startup
Okay, I have a Pre 2009 Mac Mini 2Ghz Core 2 Duo. My monitor is a Westinghouse Digital LCM-22w3. The display is hooked up through DVI. When I start or restart the mac, it seems that it does not detect the display is plugged in. I have to wait for OS
-
Multiple plots in one graph (LabVIEW to Excel)
Hi All- Reference this initial discussion: https://forums.ni.com/t5/LabVIEW/Place-Multiple-Data-Sets-on-One-Graph-LabVIEW-to-Excel/td-p/2164380 Problem description: Generated multiple 2D arrays with different x-axis and y-axis values cannot be placed
-
Can anyone send me docs about transportations in bw do and donts?
hi all, Can anyone send me the documents about transportation procedure to be carried in bw do and donts. to my email id [email protected] thanxs in advance regds hari