What is restful webservice and its advantage
I have to use apex service to get address
so i use a text item. .and write a dynamic evenwhen any item is entered
fetch the values ..from xml query .and put it in the list..
Now why will i use resutl ful webserivce I have used xml to retrieve data..
I had used the following method.. to achive my output ..
http://oraexplorer.com/2007/10/read-xml-data-from-url-and-insert-into-oracle/
But i am confused when will i use rest full web serive. .
I had been able to retrive the data using the methods mentioned in ..
http://oraexplorer.com/2007/10/read-xml-data-from-url-and-insert-into-oracle/
I just dont remember how i was able to get the data in xml format and i was able to get the output data in list item..
Dont kno w how can rest ful web serivce HELP here...
Any information is highly appreicated..
Edited by: susf on Sep 24, 2012 7:20 AM
and some more.
http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode=AA11AA
This is the xml link. .
What i do is.. take the postcode AA11AA from the user and then fetch on that query...
i get data in xml format. .
and i convert it to columns and show the data in list item..
This is the method or approach I use..
What shall be a better method.. Will restfull web serivce help..
I also earlier used.. the following blog to get things working .. Am not able to get it working currently since i am doing some silly mistakes..
http://johanlouwers.blogspot.in/2009/01/oracle-retrieve-remote-xml-files.html
But if you have any methods.to retrive such data pls let me know..
Edited by: susf on Sep 24, 2012 7:20 AM
Edited by: susf on Sep 24, 2012 7:38 AM
Edited by: susf on Sep 24, 2012 7:39 AM
I have to use apex service to get address
so i use a text item. .and write a dynamic evenwhen any item is entered
fetch the values ..from xml query .and put it in the list..
Now why will i use resutl ful webserivce I have used xml to retrieve data..
I had used the following method.. to achive my output ..
http://oraexplorer.com/2007/10/read-xml-data-from-url-and-insert-into-oracle/
But i am confused when will i use rest full web serive. .
I had been able to retrive the data using the methods mentioned in ..
http://oraexplorer.com/2007/10/read-xml-data-from-url-and-insert-into-oracle/
I just dont remember how i was able to get the data in xml format and i was able to get the output data in list item..
Dont kno w how can rest ful web serivce HELP here...
Any information is highly appreicated..
Edited by: susf on Sep 24, 2012 7:20 AM
and some more.
http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode=AA11AA
This is the xml link. .
What i do is.. take the postcode AA11AA from the user and then fetch on that query...
i get data in xml format. .
and i convert it to columns and show the data in list item..
This is the method or approach I use..
What shall be a better method.. Will restfull web serivce help..
I also earlier used.. the following blog to get things working .. Am not able to get it working currently since i am doing some silly mistakes..
http://johanlouwers.blogspot.in/2009/01/oracle-retrieve-remote-xml-files.html
But if you have any methods.to retrive such data pls let me know..
Edited by: susf on Sep 24, 2012 7:20 AM
Edited by: susf on Sep 24, 2012 7:38 AM
Edited by: susf on Sep 24, 2012 7:39 AM
Similar Messages
-
My ipod touch 4g keeps flashing the apple sign on the screen what should i do and its warranty is over to
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order. The appointment is free.
Apple Retail Store - Genius Bar -
Restful Webservice and German Umlaut
Hello,
i'm trying to setup a restful webservice using Apex 4.2 and Apex Listener 2, but i have problems regarding german unlaute in the json response.
To see if its a configuration error on my side, i did setup an exmaple on apex.oracle.com and there i get the same results.
I added a now row to the table emp, with just the ename as 'öäü'.
Please see the example at http://apex.oracle.com/pls/apex/dwtest/getEmp/
The result looks like this:
{"next":{"$ref":"http://apex.oracle.com/pls/apex/dwtest/getEmp/?page=1"},"items":[{"ename":"öäü"}]}It should look like this:
{"next":{"$ref":"http://apex.oracle.com/pls/apex/dwtest/getEmp/?page=1"},"items":[{"ename":"öäü"}]}The interesting fact is that i sometimes get the desired output, but its net reproducible to me. As browser i tested Firefox, Chrome, IE9 and Opera.
I wonder if i configured something wrong in my browsers or in apex.
If you would like to take a look at the webservide use these credentials:
Workspace: dwtest
Username: testuser
Password: forum
Thanks for help in advance.
Regards,
DirkDo you think this could be related to the problem described here? {thread:id=2519567}?
Howard -
Migration of SAPscripts to smartforms and its advantages
Hi Folks,
Can we convert a SAPscript into PDF and send it in mail as an attachment like what we do using smartform. Folks could you please provide me some knowledge which will help me preparing a document for the client to convience them how using smartforms is always better than using a sapscript and they should migrate all the SAPscript to the smartform.
Thanks & reagrds,Advantages of smartforms,
SAP Smart Forms have the following advantages:
1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
2. Displaying table structures (dynamic framing of texts)
3. Output of background graphics, for form design in particular the use of templates which were scanned.
4. Colored output of texts
5. User-friendly and integrated Form Painter for the graphical design of forms
6. Graphical Table Painter for drawing tables
7. Reusing Font and paragraph formats in forms (Smart Styles)
8. Data interface in XML format (XML for Smart Forms, in short XSF)
9. Form translation is supported by standard translation tools
10. Flexible reuse of text modules
11. HTML output of forms (Basis release 6.10)
12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
Source SAP-img.com -
What is Business one and its use?
Hi
I would like to know abt Busniess one and why it is used. Also Is it poosible to integrate with SAP XI. If yes what kind of adapter we need to use.
Looking for ur response.
thkx
PrabhuHello,
I am looking for about it in SAP notes and these followings are the result ;
Installation of SBO ITK 1.5 and apply ITK 1.5 SP1
Other terms
SAP Business One, ITK, SAP J2EE Engine 6.20
Reason and Prerequisites
1. Microsoft windows 2000/XP has beeninstalled.
2.Microsoft SQL Server 2000 & SP3 has been installed.
3. SAP Business One (SBO) 6.50.52 has been installed.
Solution
Required components:
1. JDK 1.3.1_08 (j2sdk-1_3_1_08-windows-i586.exe can be downloaded from <http://java.sun.com/products/archive/j2se/1.3.1_08/index.html>)
2. Microsoft SQL Server 2000 Driver for JDBC SP1 (sql2k_jdbc_sp1_setup.execan be downloadedfrom <http://www.microsoft.com/downloads/details.aspx?FamilyID=4f8f2f01-led7-4c4d-8f7b-3d47969e66ae&DisplayLang=en)
3.SAP BusinessOne Data Interface API (DIAPI) 6.50.52
4. SAPBusinessOne Java Connector 6.5
5. SAP Business One Integration Toolkit1.5
6. SAP Business One Integration Toolkit 1.5 SP1
7. Tools to do the patch for *.exe files: editbin.exe, dumpbin.exe, link.exe, MSPDB60.DLL, which are included in Microsoft Visual Studio.
To install SBO ITK 1.5 SP1 correctly, please follow the steps: (We recommend ITK 1.5 be installed on the same host with SBO)
0. Logon the host with the user in Local Administrator group.
1.Backup SBO Databases
Backup database Sbo_Common and all company databases for safety
2.Install JDK 1.3.1_08
Run j2sdk-1_3_1_08-windows-i586.exe.
3.Set environment variables JAVA_HOME and PATH:
JAVA_HOME=C:\jdk1.3.1_08, if JDK installation is C:\jdk1.3.1_08.
PATH = %JAVA_HOME%\bin;%PATH% , make sure to put the Java Path at the beginning of the path.
4.Install MS JDBC for SQL 2k SP1:
Run sql2k_jdbc_sp1_setup.exe.
5.Install SBO ITK 1.5 and REBOOT computer
Don't install DI-API by deselecting DI-API component in setup dialog box. We will install the latest DI-API for SBO 6.50 later.
Suppose ITK 1.5 is installed driver C. You should see C:\SAP_J2EEngine6.20 and C:\Program Files\SAP\SBO Integration Toolkit after installation.
6.Install SBO ITK 1.5 SP1
Download the ITK 1.5 SP1 from http://service.sap.com/sbo-swcenter
Upgrades/Patchs->SBO-MYSAP INTEGRATION TOOLKIT ->
SBO-MYSAP INTEGRAT.TOOLKIT 1.5->Binary Patches SBO-FUNCTION MODULES
1.5 -> Win32 -> BOXIFM1501_0-20000137.ZIP
Unpack the zip and run setup.exe
7.Install DI-API from <
127.0.0.1\sbo_shr\SBODIAPI>
DI-API always exists on the SBO server.
8.Install SBO Java Connector and copy jar files:
Refer to note 676364 (Don't douninstallsteps since we don't install
DI-API) , install latest SBOJavaConnector and
Copy sbowrapper.jar and sboapi.jar
FROM C:\ProgramFiles\SAP Manage\SAP Business One\SDK\JavaCon\lib
TO C:\ProgramFiles\SAP\SBO Integration Toolkit\SBOFunctionModuleSDK
and C:\SAP_J2EEngine6.20\alone\services\servlet_jsp\work\jspTemp\
SBOWebService\root\WEB-INF\lib
9.Check HTTP/HTTPS port:
If HTTP/HTTPSport is conflicted withotherWeb Application Server on
same host, for example IIS, change HTTP/HTTPS portofthe SAP J2EE
server by Config Tool.
Start -> All Programs -> SAP J2EE Engine 6.20 -> Tools -> Config Tool
10.Apply note 706379 to patch java.exe and service.exe:
Java.exe is inthedirecotry %JAVA_HOME%\bin, service.exe isinthe
direcotry C:\SAP_J2EEngine6.20\configtool.
Use the following command
editbin.exe /stack:2097152 service.exe
editbin.exe /stack:2097152 java.exe
11.Start J2EE server
Use Start -> All Programs -> SAP J2EE Engine 6.20 -> Stand Alone Server
12. Create J2EE user, change admin password
For securityreason,password of Administrator must be changed. Another
user in administratorgroup should be created for daily operation.
Use Start -> AllPrograms-> SAP J2EEEngine6.20 -> Administrator.
This task is performed using "User Management" in the "Runtime" tab of
Security Service.
13. Test ITK 1.5 SP1 connection
In browser,open the URL "<http://localhost:port/SBOWebService>",
SAP Business One Integration Toolkit workbench could be openned.
(Refer to Administration Guide for following steps)
14.Switch on DEBUG log
In SAP Business One Integration Toolkit workbench->settings->Logging,
set .severity = DEBUG
After everything runs fine, you should set the log back to INFO mode
for performance purpse.
15. Set DI-API connection:
In SAP Business One Integration Toolkit workbench->settings->DI API,
set the connection parameters for SBO DIAPI.
16. Set Sender and SAP XI
In SAP BusinessOneIntegration Toolkit workbench->settings->Sender,
Setthe Sender properties. The properties [name].port and [name].uri
can be get from XI server by transaction code SMICM, SICF.
17.Set Windows Application Event Log to recycle
Control Pannel->AdministrativeTools->Event Viewer->Application->
(Context menu)Properties->General->Log size->Overwrite events as needed
18. Restart ITK 1.5 SP1 to check DI-API connection
In the windowof Stand Alone Server, type "reboot". After rebooting,
open SAPBusinessOne Integration Toolkit workbench , open server log
in Logs-> Server tocheckthe status of DIAPI connection pool.
IfDIAPI connection pool initialized successfully, followingline
could be found:
Info: initialize DI-API connection pool.
Info: initialize DI-API connection pool successfully.
19.Switch off DEBUG log
In SAP Business One Integration Toolkit workbench->settings->Logging,
set .severity = INFO
20. Shutdown J2EE
In the window of Stand Alone Server, type "shutdown".
21. Config J2EE server running as Service, Optimizememory (at least 128M , default is 64M)
Use Start->All Programs->SAP J2EE Engine 6.20->Tools->Config Tool to open Config Tool.
Clicknode "Alone", in "NTService"tab,select"Enabled", andchange
the memory size in "Java parameters" with following lines:
-Dmemory.manager=128M
-Xmx128M
Apply changes.
using Start ->Run -> cmd to open command window, change directory to
C:\SAP_J2EEngine6.20\configtool,runcommand "service -install" to
install J2EE server as Service. (To remove the service, run command
"service -remove")
22. Start J2EE as service
In Control Pannel->Administrative Tools -> Services, find service
"SAP J2EE EngineAlone",Open thepropertiesof the service and config
the service to Log On as the current user ("Log On" tab -> Log on as:
This account)
23. Test Connection
Open SAP Business One Integration Toolkit workbench to check log file.
I do not understand a lot but I think you could do that. In the SBO 2007A, it will be mor easy.
Rgds, -
Need a good Demo or presentation on SAP-EP and its advantages
Hi all,
I am preparing a presentation on EP for a customer. Would be very kind of you guys if someone can give some document thing about this.
line removed by moderator.
Regards,
Akash.
Edited by: Michael Nicholls on Mar 12, 2009 10:55 PMHi Akash,
Check [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/903122e0-b3d4-2b10-c5b3-c19f5dd58072]
Best Regards
Satish Kumar -
REST Webservice invocation from Java
Hi Guys,
I am developing an application that needs to invoke a REST webservice and submit XML data to it. The server will then process the request XML data, and return a result, etc.
I have never worked with REST and have spent hours researching it on the NET. I have done SOAP calls in the past, but this seems to be eluding me some what.
Does anyone know of any useful links that explains REST implementation, frameworks / jars needed, or possibly even an example or two that shows me how to submit data via REST to a URL (would be first prize :) ).
Any help would be greatly appreciated.
Many thanks
Markhttp://java.sun.com/developer/technicalArticles/WebServices/restful/
-
Consume a restful webservice using plsql
Hi
We need to consume a restful webservice and this needs to be implemented using plsql.
I know that we can use utl_dbws or utl_http to consume SOAP based web services but
there is not much information on how to consume restful web services.
kindly let me know if you have information.
Cheers
rigel851866 wrote:
Im looking for the opposite scenario where i need to access a restful web service from plsql.Why would a RESTful call be any different from a normal URL call? HTTP is the transport mechanism - and UTL_HTTP is used in PL/SQL as the client side of a HTTP conversation.
I posted sample code of a how to use PL/SQL as a brower client in {message:id=1925297} - using a pipeline table to demonstrate the contents returned by the web server in response using plain SQL.
Depending on what the contents is, you can write it into a BLOB (dealing with binary data returned), a CLOB (for XML data for example), or using varchar2 you can for example parse a text/csv response (no need for a pipeline in such a case).
The only real issue I can see with a RESTful service is URL construction - as the URL becomes "parameterised" and not just the query string itself, or the data contents (name values) in the POST structure. -
Error while bringing up ATG REST Webservice
Hi,
I am trying to bring a REST Webservice using ATG 9.3 version.I am getting the below errors in the startup of the instance.I have added "REST" module in the Manifest file and am able to see the entry " C:\ATG\ATG9.3\REST\config\config.jar" in CONFIGPATH(Please let me know if there are other ways to find if the service has come up properly).I am trying to connect to the server using JAVA based REST Client as given below.Also,i have placed the jar files in the CLASSPATH of the module.I am hoping that the webservice have not come up properly because of these startup errors.Please help me out to resolve this issue.
STARTUP EXCEPTION SEEN IN SERVER
========================
2012-06-25 06:20:36,815 INFO [STDOUT] Unable to create class atg.rest.servlet.HeadRestServlet for configuration /atg/dynamo/servlet/dafpipeline/HeadRestServlet java.lang.ClassNotFoundException: No ClassLoaders found for: atg.rest.servlet.HeadRestServlet
2012-06-25 06:21:56,325 INFO [nucleusNamespace.atg.userprofiling.sso.PassportAuthorityService] Starting passport authority service
2012-06-25 06:21:56,460 INFO [STDOUT] **** Error
2012-06-25 06:21:56,460 INFO [STDOUT]
2012-06-25 06:21:56,460 INFO [STDOUT] Mon Jun 25 06:21:56 EDT 2012
2012-06-25 06:21:56,460 INFO [STDOUT]
2012-06-25 06:21:56,460 INFO [STDOUT] 1340619716460
2012-06-25 06:21:56,460 INFO [STDOUT]
2012-06-25 06:21:56,460 INFO [STDOUT] /
2012-06-25 06:21:56,460 INFO [STDOUT]
2012-06-25 06:21:56,460 INFO [STDOUT] Unable to set configured property "/atg/dynamo/servlet/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /atg/dynamo/servlet/dafpipeline/HeadRestServlet
2012-06-25 06:22:06,528 INFO [STDOUT] Unable to create class atg.rest.RestConfiguration for configuration /atg/rest/Configuration java.lang.ClassNotFoundException: No ClassLoaders found for: atg.rest.RestConfiguration
2012-06-25 06:22:06,528 INFO [STDOUT] **** Error
2012-06-25 06:22:06,528 INFO [STDOUT]
2012-06-25 06:22:06,528 INFO [STDOUT] Mon Jun 25 06:22:06 EDT 2012
2012-06-25 06:22:06,528 INFO [STDOUT]
2012-06-25 06:22:06,528 INFO [STDOUT] 1340619726528
2012-06-25 06:22:06,528 INFO [STDOUT]
2012-06-25 06:22:06,528 INFO [STDOUT] /
2012-06-25 06:22:06,528 INFO [STDOUT]
2012-06-25 06:22:06,528 INFO [STDOUT] Unable to set configured property "/atg/rest/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /atg/rest/Configuration
CLASSPATH ENTRY
============
<classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/atg-rest-1.0.jar"/>
<classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/commons-fileupload-1.2.1.jar"/>
<classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/commons-io-1.4.jar"/>
<classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/dom4j-1.6.1.jar"/>
<classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/lib/log4j-1.2.15.jar"/>
<classpathentry exported="true" kind="var" path="C:/ATG/ATG9.3/REST/client-lib/java/atg-rest-client-1.0.jar"/>
REST CLIENT:
========
import java.util.HashMap;
import java.util.Map;
import atg.rest.client.RestClientException;
import atg.rest.client.RestComponentHelper;
import atg.rest.client.RestResult;
import atg.rest.client.RestSession;
public class RestClient {
RestSession mSession;
protected void execute() throws RestClientException {
System.out.println("inside execute");
mSession = RestSession.createSession("localhost", 8080, "<USERNAME>", "<PASSWORD>");
mSession.setUseHttpsForLogin(false);
try {
mSession.login();
System.out.println("Login Successful");
catch (Throwable t) {
System.out.println(t);
finally {
try {
mSession.logout();
System.out.println("Logout Successful");
catch (RestClientException e) {
System.out.println(e);
* @param args
public static void main(String[] args) {
System.out.println("inside main");
// TODO Auto-generated method stub
RestClient testATGRest = new RestClient();
try {
testATGRest.execute();
catch (Throwable t) {
System.out.println(t);
REST CLIENT ERROR SEEN:
=================
atg.rest.client.RestClientException: java.io.IOException: Not Found http://localhost:8080/rest/bean/atg/userprofiling/ProfileServices/loginUser
atg.rest.client.RestClientException: This session is not logged in and cannot be logged outI am trying to expose a method using REST Webservice and access the method using the browser.I have followed the steps specified in the thread:
http://ecomwriter.com/2012/03/19/building-restful-web-services-using-atg/ .Have added a component called ProfileRESTWebservice and have defined a method “getLoginInfo” in the class file. The following entry is placed in the restSecurityConfiguration.xml
<resource component="/atg/userprofiling/ProfileRESTWebservice" secure="true">
<method name="getLoginInfo" secure="false"></method>
</resource>
But, I am receiving the following exception when trying to access the method using http://localhost:8080/rest/bean/atg/userprofiling/ProfileRESTWebservice/getLoginInfo
10:07:33,147 ERROR [BeanServlet] Error code: 400
atg.beans.PropertyNotFoundException: Can't find property named: getLoginInfo in class: com.vs.commerce.profile.ProfileRESTWebservice
Can't find property named: getLoginInfo in class: com.vs.commerce.profile.ProfileRESTWebservice
atg.rest.RestException: atg.beans.PropertyNotFoundException: Can't find property named: getLoginInfo in class: com.vs.commerce.profile.ProfileRESTWebservice
at atg.rest.output.RestOutputCustomizerImpl.outputBeanProperty(RestOutputCustomizerImpl.java:616)
at atg.rest.processor.BeanProcessor.doRESTGet(BeanProcessor.java:157)
at atg.rest.servlet.RestPipelineServlet.serviceRESTRequest(RestPipelineServlet.java:394)
at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:237)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:298)
at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:241)
Can you pl help me out on this? -
BO 4.1 WEBI Metadata extraction using Java Restful Webservice
Hi
We are building an application using the Restful webservice and are trying to extract the metadata from the webi report.
Whether there is any URL to retrieve Query filter in web Intelligence Report.
Please help.
Regards,
Kavitha SAssuming this is a BEX query, you may want to check p. 296 in the following; SAP Web Intelligence RESTful web service SDK User Guide, SAP BusinessObjects Business Intelligence platform 4.1
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Technical and Business Advantage of WDA application over JAVA based applic
Hi folks,
We want to develop a portal and not sure whether we should go for JAVA or WDA. So what could be Technical and Business Advantage of WDA over JAVA.
Regards
PGHi PG,
Both have their own advantages and some disadvantages. Based on your requirements and possiblities you choose
which suits to your requirement.
Check this.. you will get some idea.
http://www.sapfrontend.com/webdynpro-for-java-or-webdynpro-for-abap/
Cheers,
Kris. -
What is the table and purpose?
let me know what is the table and its contents and purpose....i wil be thanks to you if i get answers
Table is a data repository in which all the master data and transactional data gets stored. All components/ data of SAP stored in Tables.
<b>SAP Table Types</b>
I. Transparent tables (BKPF, VBAK, VBAP, KNA1, COEP)
Allows secondary indexes (SE11->Display Table->Indexes)
Can be buffered (SE11->Display Table->technical settings) Heavily updated tables should not be buffered.
<b>II. Pool Tables (match codes, look up tables)</b>
Should be accessed via primary key or
Should be buffered (SE11->Display Table->technical settings)
No secondary indexes
Select * is Ok because all columns retrieved anyway
<b>III. Cluster Tables (BSEG,BSEC)</b>
Should be accessed via primary key - very fast retrieval otherwise very slow
No secondary indexes
Select * is Ok because all columns retrieved anyway. Performing an operation on multiple rows is more efficient than single row operations. Therefore you still want to select into an internal table. If many rows are being selected into the internal table, you might still like to retrieve specific columns to cut down on the memory required.
Statistical SQL functions (SUM, AVG, MIN, MAX, etc) not supported
Can not be buffered
<b>IV. Buffered Tables (includes both Transparent & Pool Tables)</b>
While buffering database tables in program memory (SELECT into internal table) is generally a good idea for performance, it is not always necessary. Some tables are already buffered in memory. These are mostly configuration tables. If a table is already buffered, then a select statement against it is very fast. To determine if a table is buffered, choose the 'technical settings' soft button from the data dictionary display of a table (SE12). Pool tables should all be buffered.
to know about structure. Please refer the link
http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d72fbb1af11d194f600a0c929b3c3/frameset.htm
Regards
Vivek
<b>Reward points for the useful answers</b> -
How to set username and password before redirecting to a RESTful webservice
I am a .Net developer who has developed a webservice used by my ColdFusion colleagues. They are using ColdFusion 9 but I'm not sure if they have incorporated any of the newer features of ColdFusion in their apps. Here is a snippet of how they have been invoking the webmethods:
<cfscript>
ws = CreateObject("webservice", "#qTrim.webServiceName#");
ws.setUsername("#qTrim.trimAcct#");
ws.setPassword("#qTrim.trimpwd#");
wsString=ws.UploadFileCF("#qTrim.webserviceurl#","#objBinaryData#", "#qFiles.Filename#", "Document", "#MetaData#");
</cfscript>
As I understand things, the .setUsername and .setPassword correspond to the Windows credentials the CF Admin set when the URL of the .Net webservice was "registered" and given its "name" (for the CreateObject statement above). I have 4 webmethods that are all invoked in this manner and this SOAP protocol works adequately for us. Please note that this ColdFusion web app authenticates anonymous remote internet users by prompting for a username and password and compares them to an application database (i.e. Microsoft calls this "forms authentication"). Because only a few Windows domain accounts are authorized to call this .Net webservice, the above code always uses the same username/password constants and it all works.
My question involves the newest webmethod added to the .Net webservice. It requires that callers must invoke it as a RESTful service which means it must be invoked by its URL. Here is a snippet of C# code that invokes it from an ASP.NET webclient:
string r = txtRecordNumber.Text;
string baseurl = "http://localhost/sdkTrimFileServiceASMX/FileService.asmx/DownloadFileCF?";
StringBuilder url = new StringBuilder(baseurl);
url.Append("trimURL="); url.Append(txtFakeURLParm.Text);
url.Append("&");
url.Append("TrimRecordNumber="); url.Append(txtRecordNumber.Text);
Response.Redirect(url.ToString());
I assume a ColdFusion script could easily build a full URL as above with appended querystring parameters and redirect. Is there some way for the CF code redirecting to a RESTful webservice (by way of its URL) to set the Username and Password to this Windows account mentioned above? When the DownloadFileCF webmethod is hit it must be with the credentials of this special Windows domain account. Can that be set by ColdFusion someway to mimic the result of the SOAP technique (the first snippet above).
I hope my question is clear and someone can help me make suggestions to my ColdFusion colleagues. Thanks.Can you clarify what you mean by "establish a different Windows identity"? Usually passing identity to a web site or service means adding something to the request's HTTP headers. This could be a cookie in the case of .NET forms authentication or the "Authorization" header in the case of basic authentication.
The SOAP web service invocation code you posted does use basic authentication, according to the CF docs "ColdFusion inserts the user name/password string in the authorization request header as a base64 binary encoded string, with a colon separating the user name and password. This method of passing the user name/password is compatible with the HTTP basic authentication mechanism used by web servers."
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec13a13 -7fe0.html
If you need to mimic the SOAP techinque you should have basic authentication enabled for your REST service endpoints.
If your authentication method is different then CF developers will need to add the appropriate HTTP headers to their service calls. Note that calling a REST service from CF would probably be accomplished using the CFHTTP tag if the service is designed to be consumed by the CF server. -
Brief explaination of REST,Webservices,CSON and JSON
brief explaination of REST,Webservices,CSON and JSON
http://www.simplecodestuffs.com/what-is-the-difference-between-http-and-rest-and-soap-in-web-services/
SOAP uses WSDL for communication between consumer and provider, whereas REST just uses XML or JSON to send and receive data
WSDL Defines contract between client and service and is static by its nature. In case of REST contract is somewhat complicated and is defined by HTTP, URI, Media Formats and Application Specific Coordination
Protocol. It’s highly dynamic unlike WSDL.
SOAP doesn’t return human readable result, while REST result is readable with is just plain XML or JSON
This is not true. Plain XML or JSON are not RESTful at all. None of them define any controls(i.e. links and link relations, method information, encoding information etc…) which is against REST as far as messages must be self contained and coordinate interaction
between agent/client and service.
With links + semantic link relations clients should be able to determine what is next interaction step and follow these links and continue communication with service.
It is not necessary that messages be human readable, it’s possible to use cryptic format and build perfectly valid REST applications. It doesn’t matter whether message is human readable or not.
Thus, plain XML(application/xml) or JSON(application/json) are not sufficient formats for building REST applications. It’s always reasonable to use subset of these generic media types which have strong semantic meaning and offer enough control information(links
etc…) to coordinate interactions between client and server.
REST is over only HTTP. HTTP is most widely used and when we talk about REST web services we just assume HTTP. HTTP defines interface with it’s methods(GET, POST, PUT, DELETE, PATCH etc) and various headers
which can be used uniformly for interacting with resources. This uniformity can be achieved with other protocols as well.
REST permits many different data formats where as SOAP only permits XML.
While this may seem like it adds complexity to REST because you need to handle multiple formats, in my experience it has actually been quite beneficial. JSON usually is a better fit for data and parses much faster. REST allows better support for browser clients
due to it’€™s support for JSON.
If this helped you resolve your issue, please mark it Answered -
my iPod touch 5th generation had white screened an it won't let me rest it by holding down the home button an the power button for ten seconds I've pulled it in to iTunes an its not being detected what can i do as its starting to over heat?
If you can't get it to shut down or restart when holding down the Home and Sleep/Wake buttons and you can't get it recognized in iTunes to restore it, the iPod may have suffered a hardware failure and will need to go to Apple for service. Someone else here may have additional suggestions, though.
There is no "fifth generation" iPod touch, by the way, just for the sake of clarity; not yet, anyway.
Regards.
Maybe you are looking for
-
HI, I am facing problem with formula variable with replacement path. my requirement is system date - posting date. here i created 2 formula variable one is system date. second formula vaiable with replacement path is posting date. second formula vaia
-
Error while downloading iPhone app updates
Yesterday I tried to download two iPhone app updates. The app store showed the two updates that were available, but when I tried to update them, it kept giving me an error message saying that my iTunes store request could not be completed. I am up to
-
Adobe reader printer list not showing
while printing the PDF File, windows printers are not showing in the printer list. Where as windows printers are working in Word/Wordpad/notepad.
-
HELP: S10, how to resize or create new partion
anybody can help me plz... how to resize or create new partion thanks...
-
this is exactly what I want http://www.melodicmedia.ca/expand/melodicmedia/index.html . I have used this script, but it prevents the rss feed from loading on the page i need it on. Is there an alternaitve script for this effect? It is simply a jpg th