How to show all data returned from web service in a dashboard
Hi I need create a dashboard with conection with a web service and whitout establish a range in excel, so be displayed on the dashboard n rows returned by the web service.
how can I do this?
Hi Ezequiel,
I agree with Alan.
You might find it useful to read the Xcelsius 2008 Best Practices whitepaper: [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a084a11c-6564-2b10-79ac-cc1eb3f017ac]
Regards,
Matt
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 -
How to show only date in BO webi 3.1 text box
how to show only date in BO webi 3.1 text box for e.g:-
01/01/2005 (no time only date)hi,
just check by which format your date is coming
just create a one variable and check =UserResponse("Transaction Date From (mm/dd/yy)")
if your output is in format of("mm/dd/yyyy hh:mm:ss a")
then some format we have to write in todate syntax
then your final formula for date would be
=FormatDate(ToDate(UserResponse("Transaction Date From (mm/dd/yy)");"mm/dd/yyyy hh:mm:ss A");"dd/mm/yyyy") -
Can objects returned from web services be cast to strongly typed objects?
Can objects returned from web services be cast to strongly
typed objects?
Last I tried this was with one of the beta of Flex2 and it
did not work. You had to use ObjectProxy or something like that...
ThanksPlease post this question in the CRM On Demand Integration Development forum.
-
How to show all data when using more than one parameter?
Hi All,
I used a query like this to show the data in a report:
select col1, col2 // col1 and col2 are columns of tabale tab1
from tab1
where
tab1.col1 =
(case when :P_COL1 IS NOT NULL then // :P_COL1 IS A USER PARAMETER TO EQUAL COL1
:P_COL1 ELSE tab1.col1
end)
AND TAB1.COL3 =
(case when :P_COL3 IS NOT NULL then // :P_COL3 IS A USER PARAMETER TO EQUAL COL3
:P_COL3 ELSE tab1.col3
end)
The problem is when I run the report with paramters values or not, It shows the data which is not null for both col1 and col3.
That is when the value of col1 or col3 is null the report would not return that record!
I want the report to show all data not only values which is not null!
How to do this?Rainer,
That where clause will fail when col1 in the table is null and the parameter has the dummy value. Consider the following:
variable p_col1 varchar2
exec :p_col1 := 'yourdummyvalue';
select
from
select 'yourdummyvalue' col1 from dual
union all
select 'other' from dual
union all
select null from dual
union all
select 'X' from dual
) tab1
where nvl(tab1.col1,'yourdummyvalue') = nvl(nvl(:p_col1,tab1.col1),'yourdummyvalue')In this case, the query returns the row with null and the row with 'yourdummyvalue', where only the row with 'yourdummyvalue' should be returned.
You must do something like this:
where ( :p_col1 is null or ( :p_col1 = tab1.col1 ) )That one is the simplest and does not need a dummy value. Here are some other more complicated examples:
where nvl( :p_col1, 'yourdummyvalue' ) = decode( :p_col1, null, 'yourdummyvalue', tab1.col1 )or this:
where nvl( :p_col1, 'yourdummyvalue' ) = nvl2( :p_col1, tab1.col1, 'yourdummyvalue' )In the last 2 cases, it will not matter if the dummy value exists in the data, but they are unnecessarily complex.
Kurz -
How to do Bulk data transfer using Web Service
In my application I have to write various web services but majority of the web service has to
query database and return back bulk data(rows>10K) through web service.
So I would like to ask what is the efficient way of transferring bulk data using web service as presently
Iam returning the dataset as xml String (using StringBuilder) from web service and consuming the same at client end.
Is there a better way to this in web service?
My env:
Front end can be in any other technology ,UI like C#
Back end : Tomcat 6 on Java 6 with Axis2
Thanks in advanceInnova wrote:
But then also I have to mention a return type although its xml that is getting transferred.
Can you provide me a with a small sample code.Like if I have Emp obect with properties
Empname,EmpID,DOJ,DOB,Dpt . In this case what will be the return type.
My major concern is that my resultset is going to be huge in terms of >10,000 rows so
that much time for formation of xml and then the transfer so how can I reduce the transfer
time ,I meant a faster optimised approach for transferring large data as part of web service.
Simply putting , how can I transfer bulk data in minimum time so that I can reduce the
waiting time at client side for the response.
Thanks in advanceI've done this with thousands before now, and not had a performance problem...at least nothing worth writing home about.
Your return type will be an array of Emp objects. You can use a SOAP array for that (you'll need to look that up for the syntax, since I can't remember it off the top of my head), which gets restricted to being an array of Emp.
Should the normal technique prove to be too slow then you should look at alternatives, but I would expect this to work well enough. And you have no faffing about with devising a new transfer system that then has to be explained to your client system...it'll all be standard. -
How to show all data when data is authenticated
Hi,
Now I have an application where the user has to be authenticated and the data is only shown to that user. I want a way somehow I can access all the data from all the users who have lodged it. Like in the azure portal it shows all the data which was lodged
in the same way I want it in a account.
Thanks!
pratikHi,
I think you may need to use some logic in your application, such as filter the data according to the user.
Hope this helps
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to restore all data deleted from iPhone ?
I did back up on iTunes but it didn't back up anything all data been deleted and I got install new clouds anyone knows how I could recover my contacts and my photos ? Anyone in Brisbane thanks
Have you done a back up on your computer? If so your contacts and photos will be under the last saved back up. Have you checked there? If you havent backed it up on your computer then you are out of luck. Good luck.
-
How to view multiple output parameters from web services
I have used the Labview tool to create a .NET assembly from a WSDL file.
In the WSDL file the service has been defined to return 2 output parameters.
In Labview, when I invoke the method for this service the first output parameter ends up as the return value of the method. I can create an indicator for this and it gets updated properly when I run the VIS to use the web service.. The indicator is an integer value but recognizes the type defined within the WSDL file.
The second output parameter shows up as an output value. When I right click on it and create an indicator for it I get a .NET icon on the front panel rather than an integer value.
How can I view the value for this second output parameter after running the web service?
Is there a difference in how multiple output parameters handled in newer versions of Labview (I am using verison 7.1)?scrooge wrote:
You can try this link .
the link is dead... or i dont have access.. -
Complex types returned from web services
I'm having problems getting values from a complex type from a
CFC web service. Are there any tutorials that show you how this is
done? The only tutorials I've seen have been returning simple
types.
I have tried everything I know, which is not a lot I must
admit, I'm just a beginner! *L*
Thanks in advance.I'm having problems getting values from a complex type from a
CFC web service. Are there any tutorials that show you how this is
done? The only tutorials I've seen have been returning simple
types.
I have tried everything I know, which is not a lot I must
admit, I'm just a beginner! *L*
Thanks in advance. -
The format of XML file returned from web service
Hi everyone,
My web service (build in asp.net 2.0 with C#) returns the
following xml file which is not what I want.
<Root>
<Root2>
<Person> .... </Person>
<Person> .... </Person>
<Person> .... </Person>
</Root2>
</Root>
But I want my web service to return the following xml file.
How can I get the following xml file instead of the above xml file
? Thanks.
<Root>
<Person> .... </Person>
<Person> .... </Person>
<Person> .... </Person>
</Root>Thanks for everyone's reply!
Sorry, I don't know where to set resultFormat="e4x". Below is
my code. And LINE 111 gives error. And the error message is below.
And the xml returned from the web service is below.
Error: Error #2093: The Proxy class does not implement
getDescendants. It must be overridden by a subclass.
at Error$/throwError()
at flash.utils::Proxy/
http://www.adobe.com/2006/actionscript/flash/proxy::getDescendants()
at
LogIn/loginHandler()[P:\JIMMY-FLEX\Flex_LogIn\LogIn.mxml:58]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc::AbstractService/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\A bstractService.as:232]
at mx.rpc::AbstractOperation/
http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractOperation.as:193
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\3.0.x\frameworks\projec ts\rpc\src\mx\rpc\AbstractInvoker.as:191
at
mx.rpc::Responder/result()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:4 1]
at
mx.rpc::AsyncRequest/acknowledge()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:74]
at
DirectHTTPMessageResponder/completeHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\ messaging\channels\DirectHTTPChannel.as:381]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%" height="100%" xmlns:ns1="*">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
namespace FaciNS = "
http://FaciNet.com/";
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.soap.WebService;
//public var __xmlResult:XML;
public var ws:WebService;
public function Log_In(UN:String, PW:String):void
ws.Login(UN, PW);
public function getLoginData():void {
loadWSDL();
Log_In(UN.text, PW.text);
public function loadWSDL():void
ws = new mx.rpc.soap.WebService();
ws.wsdl = "
http://localhost:50779/VS2008_LogIn/Service.asmx?wsdl"
ws.useProxy = false;
ws.addEventListener("fault", faultHandler);
ws.addEventListener("result", loginHandler);
ws.loadWSDL();
public function loginHandler(e:ResultEvent):void {
var wkSouID:String = e.result[0]..SouID; // LINE 111
trace(wkSouID);
public function faultHandler(event:FaultEvent):void
dispatchEvent(new Event("Error"));
public function checkUser(UName:String, PWord:String):void {
getLoginData();
]]>
</mx:Script>
<mx:Panel id="loginPanel" horizontalScrollPolicy="off"
verticalScrollPolicy="off" width="400" height="200" x="97"
y="66">
<mx:Form id="loginForm" width="100%" height="100%">
<mx:FormItem label="Username:" color="red">
<mx:TextInput id="UN" />
</mx:FormItem>
<mx:FormItem label="Password:" color="red">
<mx:TextInput id="PW"/>
</mx:FormItem>
</mx:Form>
<mx:ControlBar>
<mx:Spacer width="100%" id="spacer1"/>
<mx:Button label="Login" id="loginButton"
click="checkUser(UN.text, PW.text)" />
</mx:ControlBar>
</mx:Panel>
</mx:Canvas>
<?xml version="1.0" encoding="utf-8" ?>
- <ArrayOfLogIn xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns="
http://tempuri.org/">
- <LogIn>
<SouID>2</SouID>
<LogInUserID>3</LogInUserID>
<LogInUserName>samlam</LogInUserName>
<Password>abc123</Password>
<DialectID>4</DialectID>
<CreatedByUserID>5</CreatedByUserID>
<UpdatedByUserID>5</UpdatedByUserID>
</LogIn>
- <LogIn>
<SouID>3</SouID>
<LogInUserID>4</LogInUserID>
<LogInUserName>samlam</LogInUserName>
<Password>abc123</Password>
<DialectID>4</DialectID>
<CreatedByUserID>5</CreatedByUserID>
<UpdatedByUserID>5</UpdatedByUserID>
</LogIn>
</ArrayOfLogIn> -
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.
-
How to bind list data to XML Web service request
How do I bind specific columns in a DataGrid to the Web
service request? I'm having trouble finding any documentation that
addresses that specific pattern, i.e. sending a complex list to the
server via a Flex Web service send() command. I'm fairly new to
Flex programming and don't know if what I want to do is possible.
Here what I've been able to do so far.
1. Using a Web service called a service on the server and
retrieved a complex list.
2. Poplulated a DataGrid with the result
3. The user has selected multiple rows from the DataGrid
using a checkbox column
4. The user pressed a button that calls a Web service send().
This Web service should only send data from only two columns and
only for those rows the user has checked.
5. I can loop over the DataGrid and find the selected rows
and put them in another ArrayCollection called 'selectedRows'.
The issue is that I don't know how to bind 'selectedRows' to
the Web service. Right now I'm reading up on "Working with XML" in
the Programming with ActionScript 3.0 chapter. But I'm just fishing
here. No bites yet.Don't bind. Build the request object programatically, as you
are doing with your selectedRows AC, and send(myObject) that.
Tracy -
How to delete the Webservice entry from Web service navigator?
Hi,
My current issue is that, developers have created many webserivces and these web services are visible in web service navigator that i access by following link
http://<host>:<port>/wsnavigator
But now we have to remove the unwanted webservices i.e. i want that unwanted webservices should not be visible to anyone when we access WSNAVIGATOR.
How should i go about it?
Am i required to undeploy the web services that is deployed from SDM GUI?
Please pour in your valuable inputs.
Any help would be highly appreciated.
Regards,
AmeyaI had to revove the entry from VA. Removing this entry also removes the web service from ws navigator.
-
How to display complex type result from web service?
Hi,
I am trying to invoke a web service with the following code
but I can't display the result. Can someone help me how to display
the result?
<cfset randomID = CreateUUID()>
<cfset today = Now()>
<cfset args = StructNew()>
<cfset args.login = "wanna">
<cfset args.key = "#DateFormat(today, 'YYYY-MM-DD')#
#TimeFormat(today, 'hh:mm:ss')#:#Left(randomID,12)#">
<cfset args.hash= LCase(Hash("123456" & args.key,
"SHA"))>
<CFINVOKE webservice="
http://sandbox.voxbone.com/ws/services/VoxService?wsdl"
METHOD="getCountriesList"
AuthenticationToken="#args#"
RETURNVARIABLE="Result">
<cfoutput>#Result#</cfoutput>I have tried using that that it display the following. I was
expecting a list of coutries but it display the following text
only. Can you guide me in displaying list of countries?
"object of
voxbone.webservices.services.containers.ArrayOfCountry"
Methods hashCode (returns int)
equals (returns boolean)
getCountry (returns
[Lvoxbone.webservices.services.containers.Country;)
getCountry (returns
voxbone.webservices.services.containers.Country)
getSerializer (returns interface
org.apache.axis.encoding.Serializer)
getDeserializer (returns interface
org.apache.axis.encoding.Deserializer)
getTypeDesc (returns org.apache.axis.description.TypeDesc)
setCountry (returns void)
setCountry (returns void)
getClass (returns java.lang.Class)
wait (returns void)
wait (returns void)
wait (returns void)
notify (returns void)
notifyAll (returns void)
toString (returns java.lang.String)
Maybe you are looking for
-
Safari and camera disappeared from my screen
Safari and camera has disappeared from my screen. It's the 2:nd time it happens. Got my iphone, brand new, last week. First time it happened, I reset everything. Now it feels like this could be a reoccurring thing, and not fun to reset every time. I'
-
Smartforms: no page break between last line item and footer in table?
Hello All, my smartform has FIRST and NEXT pages. I would like to avoid a page break between last item line of a table in MAIN window and the footer of the same table. Here is how it looks currently. Output of FIRST page, MAIN window, table ITEMS: 1.
-
File sender channel - file name "null"
Hi all, I am designing a scenario where I am reading 2 files from 2 different senders, and these 2 messages are fed to a multi mapping in BPM, which creates a single target message. I need to read the name of only one of the two source files and popu
-
How to stretch lov in table?
Hi, i need to stretch LOV in table. i attach examples Please, help.
-
CS6: Adobe Help Manager - PDF download/extraction error
Hi - we have received several reports through this forum that some users are encountering an issue when downloading Help reference PDFs through the Adobe Help Manager in CS6. Problem: Although the application appears to be downloading the Help conte