Using pdv and km services
Hi,
I am trying to use the PDV and the KM Services but
import com.sapportals.wcm.repository.*;
import com.sapportals.wcm.util.content.*;
import com.sapportals.pct.util.pdv.PDVDynPage;
import com.sapportals.pct.util.pdv.IDataViewer;
causes the following message while compiling
import com.sapportals.wcm cannot be resolved
import com.sapportals.pct cannot be resolved
I installed the pdk and the eclipse-plugin as recommended. What do I have to do?
I am using
SAPPDKEclipsePlugins_5.0.5.0.zip
tomcat_pdk_5_0_5_0.zip
eclipse-SDK-2.1.3-win32.zip
jakarta-tomcat-3.3.2.zip
Developing 'normal' iview without services works fine.
Please help...
Quynh Anh
Sorry, I forgot to include the services in the default.properties ...
Similar Messages
-
The Oracle Database Programming using Java and Web services book is out
This book http://www.amazon.com/gp/product/1555583296 shows how to build pragmatic applications using the combination of PL/SQL, Java in the database, JDBC, SQLJ, JPublisher, and Web services. It is intented for database developers, DBA, data architects, Java developers and Web services assemblers.
My blog http://db360.blogspot.com/ and the free/sample chapter http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf will give you a feel of the content.
Enjoy, KuassiHi Kuassi,
Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
The configuration is proving very challenging but will hopefully reap rewards.
(Thought I would give you some background to my experience).
Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
Finally off to buy your book now as no doubt there is a huge amount more to learn.
Kind Regards
David O'Donnell -
Book: Oracle Database Programming using Java and Web services
This book http://www.amazon.com/gp/product/1555583296 shows how to build pragmatic applications using the combination of PL/SQL, Java in the database, JDBC, SQLJ, JPublisher, and Web services. It is intented for database developers, DBA, data architects, Java developers and Web services assemblers.
My blog http://db360.blogspot.com/ and the free/sample chapter http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf will give you a feel of the content.
Enjoy, KuassiHi Kuassi,
Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
The configuration is proving very challenging but will hopefully reap rewards.
(Thought I would give you some background to my experience).
Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
Finally off to buy your book now as no doubt there is a huge amount more to learn.
Kind Regards
David O'Donnell -
Create a record using SAPUI5 and ODATA Service
Hi there,
since SPS6, SAP HANA should allow CRUD operations using an ODATA Service.
That sounds nice and so I wanted to give it a try.
I've started by creating a simple table and set up a tiny application that displays the data in a grid (using a JSON Model) and allows to insert new records by entering data into two textfields and save them as a new record to the databse. That works well, the grid shows the records which I have created using the SAP HANA Studio.
So I wanted to create new records, and the documentation says very clearly how to create a new record.
I've tried it this way, but when the request is send I get an 501 Not Implemented error.
Thats the code I'm using in my SAVE-Button:
btnSave.attachPress(function() {
var entry = {};
entry.id = tfUserId.getValue();
entry.username = tfUserName.getValue();
oData.create('/tbl_user', entry, null,
function() {
alert("Create successful");
function() {
alert("Create failed");
After that I've tried to create a record using the POSTMAN extension for Chrome browser as mentioned in this cool video by Thomas Jung.
Unfortunately, this also doesn't work for me. After sending the request I get as respone a sap hana xs login window with Status Code 200 instead of a status code "201 created".
Here's a screenshot:
I'm using SAP HANA Cloud Trial.
Anybody got an idea what I'm doing wrong? Or does ODATA CRUD not work an SAP HANA Cloud Trial?
Many thanks,
benHi Jason,
exactly, it's the logon page returned that is opened when I open the service URL in the browser. After logging on I can see the results of the ODATA service call.
The URL must be correctly defined, the grid shows up the data from the ODATA Service.
And yes, the URL looks OK when expecting in Chrome developer tools...
Thanks,
ben -
My new iPhone 5 won't let me log in my Apple ID to use FaceTime and iMessage
O Just got a new iPhone 5 I tryed loggong in to my apple id to use facetime and iMessage it will not connect I have tried using wifi and my service help
Howdy Cedigiam,
Thanks for using the Apple Support Communities.
From your post I understand you're receiving errors when trying to activate iMessage and FaceTime on your iPhone. To help resolve this issue, please follow the steps in the article below.
If you get an error when trying to activate iMessage or FaceTime - Apple Support
Take care,
Alex H. -
Using Applescript and Automator to manage files and folders
Hi all.
I need to make a simple action via applescript and-or automator to take the file it's been applied to (via the services) create a folder around it with the same name as the file.
So far, I've searched the web, found some solutions but none are really working.
Here's the script I found :
set myFolder to findFolder()
tell application "Finder" to set myFiles to files of myFolder as alias list
repeat with aFile in myFiles
set bName to my baseName(aFile)
tell application "Finder"
set folderExists to exists folder bName of myFolder
if not folderExists then make new folder at myFolder with properties {name:bName}
move aFile to folder bName of myFolder
end tell
end repeat
---------------- HANDLERS ----------------
on baseName(myFile)
tell application "System Events" to set {fileName, fileExt} to {name, name extension} of myFile
return text 1 thru ((get offset of "." & fileExt in fileName) - 1) of fileName
end baseName
on findFolder()
activate application "SystemUIServer"
-- Bug pointed out by Lauri Ranta http://www.openradar.me/9406282
tell application "Finder"
activate
set mySelection to (get selection)
if mySelection ≠ {} then
set mySelection to first item of (get selection)
if mySelection's class = folder then
set currentFolder to mySelection
else if mySelection's class = document file then
set currentFolder to parent of mySelection
else if mySelection's class = alias file then
set currentFolder to original item of mySelection
end if
else
set currentFolder to target of front Finder window
end if
end tell
return (currentFolder as alias)
end findFolder
And here's a page where they explain how to use automator and the Services to do what I <allmost> want, with some adaptation.
But it still doesn't work.
http://hbase.net/2011/08/17/move-selected-files-into-a-new-folder-using-applescr ipt-and-automator/
So if anybody has an idea n how I could do this ?
It It could either be a folder action (I drag and drop the files into a folder and boom, they get their folder around them)that I would set on a folder on a network drive, or locally, it doesn't matter, or a service (right clic on the file and boom folder around it.
So if anyone could help with this I'd be grateful...Hi,
Make an Automator Service (Service receives selected "Files or Folders" in the "Finder.app").
Use this script in the "Run AppleScript" action:
on run {input, parameters}
tell application "Finder"
repeat with aFile in input
if class of (item aFile) is not folder then
set {tName, fileExt} to {name, name extension} of aFile
if fileExt is not missing value and fileExt is not "" then
set tName to text 1 thru -((count fileExt) + 2) of tName
tell (get container of aFile)
if not (exists folder tName) then make new folder at it with properties {name:tName}
move aFile to folder tName
end tell
end if
end if
end repeat
end tell
end run
This script work on files with a name extension. -
If you want to use Struts and web services, what approach do you take? If you want to use reliable messaging,
you need to have a web service client as well as the web service being called.
What is the recommended way to set this up?
Do you call a local web service from the action class and then have that web service do all of the business logic including calling remote web services?
I am just starting to look at this so I am probably not close but I would like some guidance on what, in general, is the correct approach.The jars you are referring to are not SAP BusinessObject specifics jars: struts and JiBX. There are open source java framework. For more information about the struts refer to:
http://en.wikipedia.org/wiki/Apache_Struts
for more information about jibx refer to:
http://en.wikipedia.org/wiki/JiBX
Normally the core jars for a SAP BusinessObjects webservice SDK are:
The core jar files to use for Web Services Java SDK applications are:
dsws-bicatalog.jar
dsws-biplatform.jar
dsws-common.jar
dsws-publish.jar
dsws-queryservice.jar
dsws-reportengine.jar
dsws-saveservice.jar
dsws-session.jar
wilog.jar
And the jars you have mentioned are part of the
The dependent jar files to use for Web Services Java SDK applications are:
activation-1.1.jar
axiom-api-1.2.5.jar
axiom-impl-1.2.5.jar
axis2-kernel-1.3.jar
axis2-saaj-1.3.jar
axis2-xmlbeans-1.3.jar
backport-util-concurrent-2.2.jar
commons-codec-1.3.jar
commons-httpclient-3.0.1.jar
commons-logging-1.1.jar
log4j-1.2.14.jar
mail.jar
stax-api-1.0.1.jar
struts.jar
wsdl4j-1.6.2.jar
wstx-asl-3.2.1.jar
xbean-2.2.0.jar
XmlSchema-1.3.2.jar
In any cases it is recommended not to have duplicated jars in your deployment and also check if the version of the jars to use is supported by the version of the JDK used.
Thanks -
Can I use the same Apple ID for iMessage and FaceTime services simultaneously on two different devices - iPhone and iPad? It seems those are competing to each other, and the services work on one of them only (iPhone).
Many thanks, Sir! Both are mine and it's good to know that imessage can work on both with the same Apple ID. Will now have to find out why imessage stopped working on iPad when it started on iPhone (new). After exploring the forum I understand that there may be plenty of reasons why imessage does not work, even though it worked previously on the same device with the same ID.
-
I use my earthlink address as my apple ID. Will I have to change it if I add my iCloud email
Account and send email from it. I intend to keep my earthlink account and email
Address as I have had it since 1997 and my friends and several services I use know
me by my earthlink handle. Will that be a problem?I'm not sure if I understand your question, but if you create a new iCloud account with a different ID your existing ID isn't effected by this. It will continue to work as it does now, you will just have an additional Apple ID. If you have an earthlink email address you can continue to use it as a separate account, and it can continue to be your default account if you set it to be (in Settings>Mail,Contacts,Calendars>Default Account). If I'm misunderstanding your question, please explain further.
-
Creating Activities in CRM using Word Templates and Web Services??
Hi,
This functionality can be achieved through Adobe Interactive Forms from what I have learnt through demos etc. We are checking the feasibility of using with Word Templates instead.
This thread has multiple questions:
We are trying to set up the activity creation as mentioned in the CRM70 system.
1) At this point, finished the retrieval of information from the CRM Activity into a Word Template using a READ Web Service. Subsequently synchronized this with outlook and can see the Word document in the outlook item. Not able to open the same in Outlook, since it comes over as a XML document type. "Cannot open as there is a problem with the contents. ">" expected, line so and so...is the message
2) I created a Web Service that writes as well into CRM and would like to use this from the Word Template to create the activity in CRM
2a) Can the word template be incorporated with buttons that can trigger creation in CRM, similar to Adobe "Execute" etc
2b) If yes, and If there are some custom fields that I add to the activity transaction, in the UI, can I populate these with input from the Word Template, as well
Regards,
AshwinHell Wregs,
You can create the Product in CRM GUI,by using Transaction:COMMPR01,not mandatory to have WebUI..,
but b4 that you need to set up Product Hierarchy and Product category under which the Products can be created.
Use Transaction:COMM_HIERARCHY Transaction to do this.
Hope this helps
let me know if any further questions
Thanks & Regards
Arshad -
I have a new Ipad and was trying to sync from Itune what is on my Iphone. It keeps saying "Ipad can't be used Apple Moble device service isn't started". ???? help I then tried to connect my phone to Itunes and it is saying the same thing??? Help what is going on?
Right click 'computer' in your PC/laptop (whichever). Click 'Manage', then 'Services and Applications', then 'Services', you should see 'Apple Mobile Device' running or stopped. If you couldn't find 'Apple Mobile Device', it means you haven't download iTunes into your PC/laptop (whichever).
Cheers -
Can 10.5.8 OD master be used with 10.6.2 wiki and iCal services?
Hi folks,
I am having a hard time getting OD users on 10.5.8 to login to 10.6.2 iCal and wiki. Is this setting up supposed to work? I can't find any info from the Apple's OD Administrator's guide.
Set up :
* one 10.5.8 server running OD master
* one 10.6.2 server running wiki and Apache
* one 10.6.2 server running iCal and Apache
* one 10.6.1 server running Mail service
The server for Mail does not bind to OD for authentication, and after assigning each OD user in group "com.apple.access_mail" all users can connect to mail service and get/send emails. Authentication is working perfectly.
However, based on the same OD master and user accounts, using the same connection methods (enabled iCal and Blog services in 10.5.8 server, without turning them on, and assigning users to both services in SACL) in the Wiki server and iCal server won't let any OD users to log in. In wikid's error log, I can see the following error msg :
http://HTTPChannel,19,127.0.0.1 Unhandled Error
Traceback (most recent call last):
Failure: twisted.cred.error.UnauthorizedLogin: Bad username or password: <username>
Here are the questions :
* can 10.5.8 OD be used for 10.6 wiki and iCal service? Or must I configure 10.6.2 OD (either in another server or in the same host?)
* must the servers for wiki and iCal bind to OD in order for the services to work?
* must Kerberos be running for the services to work?
Thanks for any suggestions!
CharlesA 10.5.8 OD master should be fine for wiki and calendar services on machines running 10.6.2. However, you do need to have your servers hosting wiki and calendars to be bound to your OD master. You can enable Kerberos for iCal if you'd like, but it is not necessary.
-
Using AIA for Error Handling. Logging and Notification Services
hi,
In our project we usie OSB and BPEL for integrating different applications.
There is a suggestion that we should use AIA to just use the Error Handling, Logging and Notification services from AIA. I am not sure about this use case, as most of these services mentioned can be replicated in BPEL. Except for the AIAAsyncExceptionHandling BPEL process, i guess all other functionalties provided by AIA can be easily developed in BPEL or OSB alone.
However, would like to hear from you guys about this particular use case. Is it advisable?Hi,
It's an issue with 10.1.3.4 OBIEE. (whem using IBM LDAP)
References
BUG:7363517 - INTERNAL BI FAILURE ON STARTUP
They issue can be resolved by setting LD_PRELOAD=/path/libibmldap.so
Here are the steps:
. sa-init.sh
export LD_PRELOAD=/path/libibmldap.so -
Not able to deploy HumanTask and Decision service using ant file
Hi all,
I am using ant file to complile and deploy a bpel process. Currently i am able to compile the bpel process and deploy it. But when it come to deploying humantask and decesion services I am getting a message.
[deployDecisionServices] There are no decision services to deploy
[deployTaskForm] There are no forms to deploy
Kindly guide me out of this issue
below is my ant file
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="bpel.deploy" default="AuthorizeCreditRequestApproval" basedir=".">
<property name="process.dir" value="..\SVNCopy\Code}"/>
<!-- Set BPEL process names -->
<xmlproperty file="${process.dir}\AuthorizeCreditAS\bpel\bpel.xml"/>
<property environment="env"/>
<!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
<condition property="bpel.home" value="${env.BPEL_HOME}">
<available file="ant-orabpel.xml"/>
</condition>
<!-- If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
<property name="bpel.home" value="${oracle.home}/integration/bpel"/>
<!-- First override from build.properties in process.dir, if available -->
<property file="build.properties"/>
<!-- import custom ant tasks for the BPEL PM -->
<import file="ant-orabpel.xml"/>
<!-- Use deployment related default properties -->
<property file="ant-orabpel.properties"/>
<target name="AuthorizeCreditRequestApproval" depends="CheckCustomerMarketSegment">
<echo>
| Deploying workflow form for AuthorizeCredit on ${j2ee.hostname}, port ${http.port}
</echo>
<deployTaskForm
platform="${platform}" dir="../SVNCopy/Code/ManageCustomerCreditEligibility/AuthorizeCreditBS/public_html"
domain="${domain}" process= "AuthorizeCreditBS" rev="${rev}"
user="${admin.user}" password="${admin.password}"
hostname="${j2ee.hostname}" cluster="${cluster}"
rmiport="${rmi.port}" opmnrequestport="${opmn.requestport}"
oc4jinstancename="${oc4jinstancename}"
asinstancename="${asinstancename}" verbose="${verbose}"
/>
</target>
<target name="CheckCustomerMarketSegment" depends="compileAuthorizeCredit">
<echo>
| Deploying decision services for AuthorizeCredit on ${j2ee.hostname}, port ${http.port}
</echo>
<deployDecisionServices
platform="${platform}" dir="../SVNCopy/Code/AuthorizeCredit/decisionservices"
domain="${domain}" process="AuthorizeCredit" rev="${rev}"
user="${admin.user}" password="${admin.password}"
hostname="${j2ee.hostname}" httpport="${http.port}"
cluster="${cluster}" rmiport="${rmi.port}"
opmnrequestport="${opmn.requestport}" oc4jinstancename="${oc4jinstancename}"
asinstancename="${asinstancename}" verbose="${verbose}"
/>
</target>
<target name="compileAuthorizeCredit" depends="checkout">
<echo> --- | Compiling bpel process AuthorizeCreditBS| ---
</echo>
<bpelc input="../SVNCopy/Code/AuthorizeCredit/bpel/bpel.xml"
out="../SVNCopy/Code/AuthorizeCredit/output" rev="${rev}"
home="${bpel.home}"/>
<echo> --- | AuthorizeCredit Compiled Successfully, revision ${rev}| ---
</echo>
</target>
</project>
Edited by: Arun Vikram on Mar 4, 2010 10:45 PMIs there any workflow or decision service in ur bpel???
if present,...the ant is not getting ../SVNCopy/Code/AuthorizeCredit/decisionservices and ../SVNCopy/Code/ManageCustomerCreditEligibility/AuthorizeCreditBS/public_html folders.
Edited by: krish.chaitnya on Mar 4, 2010 11:20 PM -
Can I purchase an IPhone 5 that is factory unlocked, so that I can insert my t-mobile sim card and use it on my service from the apple store?
Not in the US, at the present time. Apple has not started selling officially unlocked iPhone 5's in the US, & has not announced when they will.
Maybe you are looking for
-
Sequence dependent setup (setuo matrix) with pooled capacity
Hi all, We are facing a problem in the sequence dependent setup. We have a pooled capacity in ECC on which we want sequence dependent setup happening in APO. In APO orders are required to be scheduled on this resource and this resource is the primary
-
10.2.0.4 Grid Control reporting EM repository is down
I am confused by the status GC is reporting for my OMS and my EM repository. OMS is obviously up if I am accessing GC isn't it? And why would it show my EM repository is down. I couldn't be looking at Grid Control and monitoring all my targets succes
-
HELP! Trashed Controller Assignments - backups? What backups?!
I have read about major bugs in the Controller Assignments/Automation side of L8 (they remain and persist in 8.01 - the version I am using) - bugs such as whole Modes/Zones literally vanishing from in front of my eyes. Specifically that is vanishing
-
WLC\WiSM os version mismatch?
so I know what Cisco recommends but what are the implications of running 6.0.199 on a Guest anchor 4400 and 4.2.209 on the remote controllers? (since for now I'm stuck there because of my 1010 AP's, thx Cisco ) Anyone else running that much of a dis
-
MacBook Pro (2012) 2.9 GHz Intel Core i7 8GB Ram Everything was fine until a few weeks ago... after installing the latest security patch for ML, video playback - downloaded and streamed - will briefly pause and/or choppy. I thought the problem was re