Data access from web
how to POST data to Web servers in Java
null
hi there,
U can copy that data into a excell file in a fixed format. After that using SQL*Loader u can import that data into oracle database.
But fix one format so that u can easily dump that data into oracle database when ever u want with out much effort.
Cheers
Naveen
Similar Messages
-
Hi,
I'm currently trying to consume in VC a CAF Application Service exposed as a Web Service. I'm able to retrieve what I want but I have a problem with dates format.
The web service returns dates in the following format: YYYY-MM-DDTHH:NN:SS
When I test my data service in VC it works fine. When I run my iview, VC swap the month and the day and compute the new date...
It's not just a problem of formatting with DVAL and DSTR because the date is already computed.
Example:
Date returned from web service: 2007-09-21T00:00:01
Date returned from test data service in VC: 21.09.2007
Date returned at runtime: 09.09.2008
VC understand 21.09.2007 not like DD.MM.YYYY but like MM.DD.YYYY so 21.09.2007 becomes 09.09.2008
I also tried to check on the server Regional and Language option but it doesn't come from there.
Have you ever faced this problem?
ThxHi,
It is a Web Service generated by NWDS (to expose my CAF Application Service)and deployed on the server.
The url si like http://<hostname>:<port>/mywebservice/Config1?wsdl
The Web Service runs correctly.
When I call a method of my web service to retrieve a list of objects (CAF Entity Services) and their attributes, it returns attributes of type String and Dates of type 'java.util.GregorianCalendar'.
It seems that VC doesn't correctly understand this type of Date at runtime
Regards,
Thomas -
Hi,trying to figure out the most optimum of data access from weblogic. We initially used to do a preparestatement and then execute inside the dopost method of the servlets, but this causes the statement to be parsed everytime. To avoid this we decided to prepare the statements once in the init method of the servlets and do only an execute inside the dopost, but this causes the data in the resutl set objects to be mixed up if two or more users simultaneously accessed the same servlet(resutlsets are not thread safe??). To resolve this problem we did the executes inside a synchronized block but this is not very good for performance.So what is the best way?RgdsHarish
Make sure you declare your resultset locally.
Michael Girdley
BEA Systems
Learning WebLogic? http://learnweblogic.com
"Harish" <[email protected]> wrote in message
news:3acccc04$[email protected]..
Hi,trying to figure out the most optimum of data access from weblogic. Weinitially used to do a preparestatement and then execute inside the dopost
method of the servlets, but this causes the statement to be parsed
everytime. To avoid this we decided to prepare the statements once in the
init method of the servlets and do only an execute inside the dopost, but
this causes the data in the resutl set objects to be mixed up if two or more
users simultaneously accessed the same servlet(resutlsets are not thread
safe??). To resolve this problem we did the executes inside a synchronized
block but this is not very good for performance.So what is the best
way?RgdsHarish -
Access from WebI/ Universe to SAP Query with user who has analysis authenti
Hello together,
I try to run and build a WebI report which is build on a universe based on SAP BW query. The user has restricted access to the data provider on which the SAP query is build. This restriction is based on analysis authentification (SAP BI 7.0) if I start the SAP query in BW the user has only restricted access to the data in the data provider (on which the SAP query is build). If I start the WebI report the user has full access to the data. I checked the authentification and in my opinion there is no other authentification in SAP BW which extends the restrictions.
Has anyone an idea why the authentification doesn't work?
Greetings JanineHey here,
I m creaing my universe on top of Infocube or multiprovider.
>> The recommendation path is to use BW queries with the necessary Authorization Variables leveraging your BI Authorizations.
For eg:
I have 2 users, User1 and User2.
Now if I want User1 should see data for CostCentre = UK,India.
User2 should see data for CostCentre = US, UK,India
>> This is part of BI Authorizations in BW.
Here are my queries:
1) Will User1 and User2 be able to see the data level access in Webi Report based on the their Login?
>> assuming you follow the 2 steps mentioned above (Query and authorization variables) - yes
If Data level access cannot be achieved in Webi via universe created on top of Infocube/Multiprovider then what is the approach to do so?
>> Data level security is part of your BI authorizations in BW.
In a nutshell, BO alone can't do that, one has to set up at BI level.
Hope clarified all your doubts.
Gracias...!! -
Web Service access from WEB Dynpro
Hi,
I have requirement to pass the values from web dynpro to .NET cross application can any body guide me?
Regards
Srini.hi
Check for the methods like setuser and set password for your webservice
Request_<webservicename> request=new Request_<webservicename>();
wdContext.nodeRequest_<webservicename>().bind(request);
wdContext.currentRequest_<webservicename>Element().modelObject()._setUser("sdnuser");
wdContext.currentRequest_<webservicename>Element().modelObject()._setPassword("sdnuser");
wdContext.node<webservicename>Request().current<webservicename>RequestElement().setRequest(company);
try
wdContext.currentRequest_<webservicename>Element().modelObject().execute();
catch (Exception e) {
wdComponentAPI.getMessageManager().reportWarning("Exception:"+e);
Hope this helps,
Regards,
Arun -
Data access from Application Server - Seeking Opinion
I am working on a fairly large scale ERP application that is written in Java both on the front end, and middle tier ( using a JBoss application server ).
All of the database access happens in my app server, and when I wanted to get peoples opinions on the best way to extract and pass data to and from the database from the app server, and of course to and from the client.
I am using JDBC to make database calls and extra data from the database. This is of course pretty trivial. And I first started writing POJO that represent tables in my database. I then wrote a faily length method that uses reflection to call the setting methods and pass in the objects returned from the database result set. This of course becomes tricky when you start to join multiple tables together. And often you only need a small subset of columns in a table and don't require an object with all the columns from the table ( some set, and some as null objects ).
So then I decided I was use a combination of ArrayList objects and HashMap's to store the data. If a result set returned multiple rows, it would return an ArrayList of HashMap objects. Each hash map would contain the data for that row, and the hash map keys are the column names.
This seems to work pretty well and resolves the problem of joining multiple tables together and keeping track of which columns get stored in which objects.
Does anyone have a different solution or idea as to how to handle this? And thoughts or ideas would be greatly appreciated.bryano wrote:
Let me pose a quick Hibernate question as well.Let me recommend that you not be so thin-skinned about responses.
>
If you had a table that had 40 columns in it and say 1000 rows. And you needed to run a query that returned all 1000 rows, but you only needed two out of the
40 columns. Would it be better to extract those two columns into the HashMap / ArrayList collection I mentioned in my original post? Or would using something like Hibernate and a class that mapped all of the columns in the table be okay?Why not just map the columns you needed in Hibernate? Who said you had to map all 40 and have them be null?
My concern is on efficiency,
and I was wondering if building 1000 objects that each have 40 members that only 2 are populated is the most efficient way of extracting the data.Doesn't sound very efficient.
I will admit, my knowledge of Hibernate is limited at best so I may be missing a component of Hibernate that would allow you to only extract the columns you required, but you are still working with an object that has 38 null value objects for the columns you didn't require.I don't believe you're required to map every column in a table.
% -
Hi all,
I'm new to web dynpro, i ve to develop web dynpro appliation which has to interact to oracle database(read/write). For example, if i give certain search criteria the application should display matched data in table format. I dont know how to start & where to start. Please help me out.
thnx regards
ilanHi
You can use the Table UIElement for this
1.Create a node with cardinality 0..n
2.Create attributes with the same type of database.
3.Bind the node attributes with the database values
4.bind the node to the Table UI Element
See this thread
Re: problem with displaying records from the database in a table ui element
See this sample application and help
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715
Kind Regards
Mukesh -
Unzip data received from web service?
In my Apex 3.0.1 application I am trying to obtain data from a web service. The problem is that the returned data is first zipped and then encoded using base 64 coding.
I can decode the data using the utl_encode package and if I download the result, I can unzip it using winzip to get the original XML message. However, I need to unzip the message within Apex in order to process the content. The Oracle package utl_compress provides uncompression functions for the LZ compression algorithm but this does not seem to be the same as winzip etc.
Thanks for any suggestions anyone might have.One way would be to use a Java stored procedure to perform the unzipping.
-
Question about data extraction from web forms
I am developing a simple web form in DreamWeaver MX for
increased accesibility for users who utilize screen reader
software, as navigating PDF forms is still currently very difficult
for most of the screen readers to navigate. I was wondering if
there is a way to take an .asp webform that a user fills out and
when they hit a print button it would extract the data from the
form and open an Adobe PDF form and populate the data they entered
into specific fields within the PDF form which would allow them to
print an official copy of the form they used the web version to
complete. Any insight into this possibility is greatly appreciated!
Thanks,
AU PSDRegex? Lots of indexOf? Parsing...
-
Hello everbody,
Does anybody know if is possible to access query data when execute a Web Template.
I'm trying to use a MODIFY_CLASS (..WWW_MODIFY_CLASS).
But, If we put in param name MODIFY_CLASS a Z class or original class, we have the same problem: Error... TABLE_1.
Thanks,
BuenoHi,
First of all you have to create a Z Class with CL_RSR_WWW_MODIFY_TABLE class as Super Class in SE24.
Then you have to use that Z class in your Table_1 attribute Modify_class.You can do wonderfull customization with this option but be sure to consider the problems with OLAP features such as Swap axes, Remove drilldown etc.
For more info look into the link below,
http://help.sap.com/saphelp_nw04/helpdata/en/d8/f3a83adae1a010e10000000a11402f/content.htm
Look into area "Creating and Using ABAP Classes".
Thank you
Arun -
SAPBI data accessing from Business objects and other OLAP tools
Hi,
We already have heavy usage of Business Object, Essbase and are planning to implement SAPBI 7.0
a) We are planning to connect our existing Business
Objects infrastructure onto the new SAPBI platform, Did
You experience any issues such as performance,
config issues, delays, web issues.. is there any
document or link with steps involved in integrating
Business objects and SAPBI
b) Can Bex analyzer gives simliar functionalities that
are in Essabse front- end (EXCEL), I know that the
backend data managament is quite different, but my
question is around user interface, do you have any
comparisons between these two tools.
c) Is it possible to get data from SAPBI using external
reporting tools (OLAP) such as Oracle Discoverer ...
Regards,
Ramanif the export to XML file is successful, the file will not be deleted if you are creating it from Metadata Exchange.
The file gets deleted in case you are using the create universe option and by default the file is created in %LINK_DIR%\log\MetadataExchange, you will also see ME_errorlog.txt and ME_outputlog.txt if there are any errors, do you see and erros in these files if you are creating the Universe directly from DS Designer ?
to use Metadata Exchange do the following
Open Data Services Desginer
Click on tools Menu -> Metadata Exchange
In the Metadata Exchange window
Select Export Data Services metadata to a file
Select DI CWM as metadata format
enter location for xml file (C:\temp)
Select the datastore you want to create Universe for
Click OK
Check for file named repo_export.xml in the C:\temp folder or the folder that you specified
Open Universe Builder and Select
Data Integrator bridge
and use the xml file as input to create universe -
Hi Friends,
I want to access data from database, User will enter Start Date and end date , based on that , data will be get retried.
Is it possible to write a SQL Query, Where A SQL Query will take care user start and end date. Start date and end date is not fixed, it will be vary based on user.
Thanks for co-operation.
Regards,
Pritam A.Pritama,
Yes, your query looks fine. It should work perfectly. You could alternatively, get input from user into variables and use them in your query as shown below:
declare @user_startdate datetime
set @user_startdate='10/Oct/2013 1:00:04'
declare @user_enddate datetime
set @user_enddate='14/Oct/2013 1:00:04'
SELECT * FROM GT1
WHERE datetime1 BETWEEN @user_startdate AND @user_enddate
Is there anything else you are facing a problem with? Your query is correct and gives no problems..
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
Data access from Access Database
I want collect some data from access, I have created a frame with swing componet, now when I am searching data with some variable from Access database , it is not comming, but in simple case all data are comming in differnt places in my frame.
The string which I used is
st.executeQuery("Select * from student where cid = '+st1+'"
where st1 is avariable collected some data from the frame, it is tested ok.
now i never did practice with access, please if there is any wrong .Could you include more code please? The single statement you have provided seems fine, but we're not psychic.
-
I have a Web Service that outputs just one value 'Sales Force' When I create a Data Store off of it I don't see the field as available to put into the store.
Any Ideas! Help!Hi Kenneth,
Lets see if this helps...
You have your ABAP web service in your storyboard. Drag a Data Store in you storyboard now. Configure the Data Store by adding a field of the same data type as that of the output field of your web service. Now connect the output port of your web service to the port of the Data Store. Click on the line connecting these two ports, and do the mapping, i.e. change the Assigned Value from the drop down and set it as the output parameter of the web service whose value you want to store in the Data Store.
Bye
Ankur
Do reward points if it helps!! -
Hello
We would like to access data from multiple tables (A , B) using select statement, join and where clause.
Please help and provide the example that how to write a code in SAP .Net to fetch these data without using any function module.
Please help
Regards
BasisNote the description of the SCN Space from the Overview:
based on the above, are you sure you posted your query to the correct Space?
List of SCN Spaces:
SCN Site Index
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter
Maybe you are looking for
-
Has anyone else had Mountain Lion 10.8.2 file copying trouble?
Has anyone had any trouble with file copying to external disks? I have used a third party programme called "Synchronize! Pro X" (SyncPX) for many years with OS X up to 10.5.8 and it has never given any trouble at all. In July I bought a new MacBook
-
HT201229 How do I block my phone number ISO 7
How do I block my phone number ISO 7
-
HI, I just bought an iPhone 4S. Although my iPad and other iPhone 3GS connect to our server (SBS2003) I cannot get through. It checks all items in the connection and then I get the message :Cannot get mail, the connection to the server failed." I T
-
How do I permanently remove or delete a partially downloaded HD movie from my iPhone?
I purchased a movie in HD from my iPhone, which I now know can't be done. It started downloading and is now frozen in "Processing" mode. I can pause the processing but is there some way to permanently delete the download from my iPhone? I have alread
-
Not finding library from shared folder across user accounts
Hello all knowledgeable people. Hopefully one of you will tell me what I am doing wrong. I recently moved my iTunes Media Folder to a Time Capsule. In iTunes (10.0.1) on the user account where the collection was and subsequently moved, I can see, lis