Cfgrid and binding to a webservice on another server
i want to use cfgrid to bind to a CF webservice on another server via http. Is this possible and if so, what is the proper code? Ive already tried
bind="http://notthesameserver.com/webservices/service.cfc"
Any help would be greatly appreciated.
GK
nvm, i figured it out. sample below...
bind="url:http://www.someurl.com/someserver/soemfunction()"
thanks gk
Similar Messages
-
Script to copy current files from one folder to another and to FTP it to a another server
I have created a simple script that copies the file, but doesn't give me only the current day file. I'm not sure what I'm doing wrong.
:: @echo off
setlocal
:: Checking for production cluster
if not exist e: exit
date /t
for /f "tokens=1-4 delims=/ " %%A in ('date /t') do (
set M=%%B
set D=%%C
set Y=%%D)
xcopy E:\ACHDlrPPcsvDownload\*-%Y%%M%%D%*-GMACTEST.csv /y E:\ACHDLRCSV
pause
endlocal
I also want to ftp this file to another server. I've tried the basic FTP command but it doesn't work.Here is a more reliable method of extracting the date.
@echo off
:: Checking for production cluster
if not exist e: exit
set M=%date:~4,2%
set D=%date:~7,2%
set Y=%date:~10,4%
set target=%Y%%M%%D%
@echo E:\ACHDlrPPcsvDownload\*-%target%*-GMACTEST.csv /y E:\ACHDLRCSV
xcopy E:\ACHDlrPPcsvDownload\*-%target%*-GMACTEST.csv /y E:\ACHDLRCSV
Look at the command being echoed to validate the filename template. Try it at a prompt.
¯\_(ツ)_/¯ -
Hello,
I have about 10 checkboxes that I would like to show as
checked or unchecked in a cfform. The cfgrid does not need to show
the checkboxes. So I have 3 columns in my cfgrid
(firstName,lastName,company) these all bind just fine to cfinput
type="text". There are 10 bit/boolean columns in the same database
table that I need binded to my form. When I selected a record the
forms update fine with the following code.
<cfinput type="text" name="firstname" label="First"
bind="{membersGrid.dataProvider[membersGrid.selectedIndex]['FirstName']}"
onChange="membersGrid.dataProvider.editField(membersGrid.selectedIndex,
'FIRSTNAME', firstname.text);">
But when trying to do something similiar for a cfinput type
of checkbox I get no where.
Any assistance would be greatly appreciated.
Thanks,
RyanTry this:
<cfsavecontent variable="change">
if (myGrid.selectedItem.active == 0 ) {
myCheckBox1.selected = false;
else {
myCheckBox1.selected = true;
</cfsavecontent>
<cfform name="myForm" format="flash" height="500">
<cfgrid name="myGrid" query="rsMyQuery"
onchange="#change#">
<cfgridcolumn name="field1" display="yes">
<cfgridcolumn name="myCheckBox1" display="no">
</cfgrid>
<cfinput type="text" name="field1"
bind="{myGrid.selectedItem.field1}">
<cfinput type="checkbox" name="myCheckBox1" checked="no"
value="0" label="myCheckBox1">
</cfform>
Then obviously you can spawn the logic for each additional
checkbox in the same onchange event.
Hope this helps.
Joel -
Reporting and Analysis server down need to move to another server
I lost my original server for RA and re-installed the components on another server, however, when I try to access from workspace, I receive the message *"Could not find a Hyperion Reporting and analysis server running on "old server name' at port 6800. Please veriify your server connect string and confirm the server is set up".*
I've re-run the installer and configuration to no avail. Is there a configuration file that I have to update someplace?This basically means that the HSS registry is still pointing to the old server name for RA_FRAMEWORK component.You will have to check through the registry report whether there are multiple instance of RA framework registered (one with the old server and another with the new server).If yes you can delete the old one from registry through the epmsys_registry command tool and reconfigure with the new server.
If you want assistance with the same,please raise an SR with Oracle support and should be able to guide you through. -
Generating pdf using ADS on another Server failed
Hi there,
I am trying to generate a pdf-document using Adobe Document Services installed on another server.
It's a Visual Composer app, which opens a Web Dynpro component to generate the pdf. Everything works fine when I run the app on a server, which has Adobe Document Services installed.
But when I try to run the app on a server without ADS installed and want to use ADS on another server (both NW 7.3 SPS4) it fails with and FileNotFoundException.
The log of the ADS-Server says, that it cannot found the file located in <PATH TO THE XDP-FILE ON THE APP-SERVER>. It's sure, that the server cannot find the file, because it's not deployed there!
It seems that the Application calls the Adobe-System which trys to find the template on its own file-system.
Does anybody know the mistake here?
Any help would be greatly appreciated
Edited by: Bernd Speckmann on Oct 17, 2011 10:31 AMThe problem was, that I was passing xdp template source as url .
Instead I should send it as a stream using the appropriate pdfdocument api. -
IDoc to webservice and get the response back into another IDoc.
Hi guys
We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
Questions:
1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
2. Is there a Async to Sync bridge in BPM?
3. How do I use this bridge in my scenario and customize it?
4. If not possible, provide me the related docs using BPM for the same scenario.
Appreciate your quick response
Regards
NaiduHi,
this link may help u............,
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
Regards,
Azeez khan. -
How to Call webservice by another webservice
Hi all,
Anybody knows how to call a webservice by another webservice.Yep. Have a look at [Developing Java EE 5 Applications|http://help.sap.com/saphelp_nwce10/helpdata/en/44/c778033d5360eee10000000a155369/frameset.htm] and [Creating J2EE 1.4 Applications in SAP NetWeaver Developer Studio|http://help.sap.com/saphelp_nwce10/helpdata/en/46/69364d53070ea1e10000000a155369/frameset.htm].
HTH!
\-- Vladimir -
Can WS name and Binding name be changed?
Hi,
When we generating the wsdl file from a sender agreement, A webservice name and Binding name have been created in the wsdl file.
web service name AS "XI_20ec1074cc28367c964b34f226098f29_Service"
and binding name as "ServiceInterfacenameBinding"
But the legacy people who are going to access this webservice need this names to be changed. is it possible from PI??
i mean like instead of "XI_20ec1074cc28367c964b34f226098f29_Service" they want some name like "getProductinformation"
and binding name like as "ProductinformationBinding"
Regards,
Balaji
Edited by: Balaji Pichaimuthu on Sep 1, 2010 8:32 AMHi Balaji,
It s not possible within PI, as this Information is generated when you retrieve the WSDL from the Directory.
However if you want to change that you can do it manally before forwarding the WSDL to other people.
The name of Binding/Service has no impact on the call at runtime.
Best regards
Sebastian -
LDAP as directory service and bind dn
hi, i dont want to bind with the manager user for a dt subtree, but when i create acl for a entry with all permitions for his acl i have permisions problems to create groups and organizational units in administration proxy
�i can only bind with a manager user?
�how i must config another user diferent a manager (i delete acl in ldap thats can bind anonymous)?
thanksYou can bind with a user dn instead of a manager, however you will have to give the user enough rights to create and delete other users. The directory server manual should explain more on this.
-
hi, i am trying to open and view a report that comes from another server with different odbc connection
i created a crystal report for a mysql database on my machine and everything works great
but we have other reports that come from other machines with different odbc connection
and this its not working when opens the report asks for credentials
and i cannot use the remote ip for these reports that come from other machine
question
if i cannot connect to remote ip to open the report
for each report i have to create a database the report database on my machine and then open the report ?
or there is some other way to open the report ?
i am using visual studio 2013 and mysql and
<add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
thanksshort
i have a report that it was created on another server with a specific dsn
now i am trying to open the report on my machine
the database from the other server does not exist on my machine
the server machine where the report was created the ip its not accessible
question ?
can i open the report on my machine or its impossible ?
thanks -
Dynamic sql and bind variables
Hi,
I have a stored procedure which filters a table on 5 five columns. The filters come from the input parameters,
and these 5 parameters can come in any combination, I mean some of them may be null and some of them may not be null.
So I constructed the where filter of the query with IF blocks like the following:
dynamic_query := 'select * from TESTTABLE where 1= 1';
IF (P1 is not null) THEN
dynamic_query := dynamic_query || ' AND column1 = :1';
END IF;
IF (P2 is not null) THEN
dynamic_query := dynamic_query || ' AND column2 = :2';
END IF;
IF (P3 is not null) THEN
dynamic_query := dynamic_query || ' AND column3 = :3';
END IF;
IF (P4 is not null) THEN
dynamic_query := dynamic_query || ' AND column4 = :4';
END IF;
IF (P5 is not null) THEN
dynamic_query := dynamic_query || ' AND column5 = :5';
END IF;
OPEN CUR_OUT FOR dynamic_query USING P1, P2, P3, P4, P5;
The problem is how can I construct the USING and bind parameters, I cannot use "USING P1, P2, P3, P4, P5" because some of bind variables
may not be in dynamic query if the input parameters are null. Is there a way to overcome this problem without writing all the 2 ^ 5 combinations?
Any help is greatly appreciated.here it is in the Tomer Cohen way:
IF (P1 is not null) THEN
dynamic_query := dynamic_query || ' AND column1 = :1';
ELSE
dynamic_query := dynamic_query || ' AND :1 IS NULL';
END IF;
IF (P2 is not null) THEN
dynamic_query := dynamic_query || ' AND column2 = :2';
ELSE
dynamic_query := dynamic_query || ' AND :2 IS NULL';
END IF;
IF (P3 is not null) THEN
dynamic_query := dynamic_query || ' AND column3 = :3';
ELSE
dynamic_query := dynamic_query || ' AND :3 IS NULL';
END IF;
IF (P4 is not null) THEN
dynamic_query := dynamic_query || ' AND column4 = :4';
ELSE
dynamic_query := dynamic_query || ' AND :4 IS NULL';
END IF;
IF (P5 is not null) THEN
dynamic_query := dynamic_query || ' AND column5 = :5';
ELSE
dynamic_query := dynamic_query || ' AND -1 = :5';
END IF;
OPEN CUR_OUT FOR dynamic_query USING P1, P2, P3, P4, P5;Amiel Davis -
I am trying to drag and drop one page of a .pdf into another .pdf in Acrobat Reader. I used to be able to drag and drop from one .pdf to another.
If you could drag and drop pages before, it wasn't in Reader. You no doubt had Adobe Acrobat (Pro or Standard) which shouldn't be confused with Adobe Acrobat Reader. They recently added Acrobat to the name of Adobe Reader so the confusion about which product you had and/or have is understandable.
-
Backup DC past tombstone and need help replacing it with another DC with the same name and IP
Hey Everyone
We have a single domain in a forest with 2 DCs with AD integrated DNS configured. The primary DC with all the FSMO roles is a VM (Server 2008 R2) and the backup DC is a physical server (Server 2008 non-R2).
The backup DC's hardware is very old and has been giving us a lot of issues where the system would intermittently BSOD, freeze, black screen only etc. and as a result, the server was turned off for a very long time, definitely beyond the default tombstone
lifetime of either 60 or 180 days.
We want to replace this bad backup DC with another physical server which became available as a spare and is much newer and in a working condition hardware wise. We also wish to ultimately give it the same name (FQDN) and IP to basically make it an outright
replacement for the current bad backup DC.
My questions are:
1.) If we are in a position where the bad server could possibly physically boot and start the operating system and have network connectivity, will we be able to use DCPROMO as one would normally do to demote this DC, or will it have to be done forcefully,
while keeping in mind as I said that the DC is way past the tombstone lifetime period?
2.) If it has to be done forcefully, I am aware that the meta data needs to be cleaned up in AD on the working primary DC, although I have never performed such a process before. If this is done, are there any other things I need to look out for or do
before I attempt to replace it with the other server which I will set up wit the same name (FQDN) and IP, then add to the domain, and then lastly promote as per normal using DCPROMO?
I know we will have to upgrade the scema to 2012RM as the replacement backup DC will be running this newer operating system.
Anything else you wish to add or point out to me would be highly appreciated. Thank you in advance.
Regards,
CTVHi,
I would suggest please do the metadata cleanup using the script and then remove object from below DNS console and then run the repadmin /syncall /Aed
https://gallery.technet.microsoft.com/scriptcenter/d31f091f-2642-4ede-9f97-0e1cc4d577f3
Repeat running the vbs script till the wrong/unnecessary dc’s are removed.
Cross check the removal – dsa.msc [ad users and computers] > Domain Controllers OU
Adsiedit.msc
Expand domain partition, select OU=Domain Controllers, make sure only the necessary domain controllers are listed.
Delete the incorrect domain controllers.
Dnsmgmt.msc [Dns Management]
Expand the forward lookup zones\_msdcs folder
i. Make sure only the actual domain controllers are listed, delete wrong Alias recordsremove wrong name server records
ii. Select the container [forward lookup zones\_msdcs.domain.com\dc\_sites_\sitename\_tcp] > delete incorrect _ldap and _kerberos records are listed.
iii. Select the container [forward lookup zones\_msdcs.domain.com\dc\_tcp] and delete incorrect _ldap and _kerberos records
iv. Expand the [forward lookup zones\_msdcs.domain.com\domains\guid\_tcp] and delete incorrect _ldap entries
v. Select [forward lookup zones\_msdcs.domain.com\gc] – delete incorrect HostA records
vi. Expand the [forward lookup zones\_msdcs.domain.com\gc\_sites\sitename\_tcp] – delete incorrect _ldap entries
vii. Select the [forward lookup zones\_msdcs.domain.com\gc\_tcp] – delete incorrect _ldap entries
viii. Select the [forward lookup zones\_msdcs.domain.com\pdc\_tcp] – delete incorrect _ldap entries
Expand the forward lookup zones\domain.com folder
i.
Delete Host(A) records of dc’s which are non-existant.
ii.
Correct the NameServer (NS) records
iii.
Follow steps similar to ’ A ii ‘ >> ‘ A viii’
Dssite.msc [Sites and Services]
Expand the [Sites\Sitename\Servers] – delete incorrect server’s
B. Delete incorrect subnet configurations [Sites\Subnets]
Delete incorrect site links [Sites\IP] -
Creating and Binding View Objects dynamically : Oracle Jdeveloper 11g
Hello,
We are trying to create and bind view objects dynamically to adf data visualization components.
The view object is a result of multiple tables.
We are using Oracle JDeveloper 11g Technical Preview. ( can't upgrade to TP2 or TP3 now).
We have found this : http://radio.weblogs.com/0118231/stories/2003/07/15/creatingUpdateableMultientityViewObjectDefinitionsDynamically.html on our search for the same.
The sample application however, is in 10g , hence required migration.
Also, it was a standalone application with the TestClient.java having a main() method.
Our requirement is for Web Application; we use Adf+jsf .
Guidance of any sort is very much appreciated.
Thanks in advance.
-Anil GollaHi,
there also exist a forum for JDeveloper 11: JDeveloper and OC4J 11g Technology Preview
What you are trying todo is not trivial because you need to not only dynamically create the VO, you would also dynamically need to create the binding meta data for it (assuming you use ADF). Not sure if the API to modify the binding is public, so posting it on the JDeveloper 11 forum bears a glimpse of hope for an answer
In JDeveloper 10.1.3 you can't do this
Frank -
Hi, i have a MB Pro Intel C2D with Lion OS and i migrated the user to another MB Pro i5 Lion, after migrating I'm having a problem on Safari, it won't open and just crashing
Shouldn't be having a problem, then. That's the version for ML. Try taking your question to the Safari forum - https://discussions.apple.com/community/mac_os/safari - that's where all the Safari experts hang out.
Clinton
Maybe you are looking for
-
Low image quality, strange playing behavior of Encore CS5-authored DVD
Hello Forum. looks like I'm becoming a frequent visitor here! Could do with a little more help. A no-menu DVD I tired to make yesterday is shown plays in rather low quality. Also, it starts from about a minute into the movie, even though no chapters
-
I just got an iphone5. My computer itunes recognizes the iphone when connected, but will not sync. I have been to the Apple genius bar and they have uninstalled and reinstalled itunes several times and did everything they could think of, but still
-
Hi Guys, Does anyone have any info on creating iviews? I have installed Enterprise Portal version 7 and would like to start creating iviews and create new tab button activity on the portal home page. my e-mail address is [email protected] Thanks Dep
-
Deploying Printers With Group Policy Preferences
Ok so I know this is an old topic but I need to clarify my position a bit here to best decide how to deploy printers to our organization. We currently have about 600 printers on a Server 2012 R2 print server and we have 25 buildings. For several year
-
Printer says "Incompatible Print Cartridge"
I have a HP Photosmart D110 series.. I bought it yesterday and when I first started it, it worked fine until I went and registered it.. Now the printer says Incompatible Print Cartridges and refer to status screen on my computer for details. So I l