XML in Portal
I apologize if this is not the correct forum.
Can anyone please describe Portal's current use of XML. Also, what are the future plans for XML in Portal.
Thanks!
Ok, I solved the problem myself, it was not that complicated...
Just got the HTTPServletResponse from the request and wrote the output there.
Similar Messages
-
Can i update weblogic.xml from portal(programmatically). i am using WL
platform 8.1 sp2.
Now i am manually adding each principal name.
For ex:
<principal-name>mark</principal-name>
Can i achieve this programmatically from portal.
Any solution
TIA
Maheshthis is what i have done but i dont know how to do the rest. i will apprecite any help from u.
Edited by: man700s on Feb 16, 2010 6:58 AM
REPORT Z_XML_FILE_UPDATE.
TYPES: BEGIN OF ts_staff,
REF_IND(10) TYPE c,
Staff_No(5) TYPE c,
Name(50) TYPE c,
Room(3) Type n,
Phone(7) Type n,
Mail(30) Type c,
END OF ts_staff.
DATA: t_staff TYPE TABLE OF ts_staff WITH HEADER LINE.
DATA: w_staff Type ts_staff.
DATA T_STRING TYPE TABLE OF STRING.
DATA W_STRING TYPE STRING.
call SCREEN 100.
PERFORM upload_xml_file.
PERFORM update_xml_tab.
*PERFORM download_xml_file.
MODULE USER_COMMAND_0100 INPUT.
W_STRING = '<allstaff>'.
APPEND w_string to t_string.
loop at t_staff into w_staff.
w_string ='<staff>'.
APPEND w_string to t_string.
if T_staff-Ref_Ind = 'X'.
CONCATENATE '<Ref_Ind>' w_staff-Ref_Ind '</Ref_Ind>' into w_string.
APPEND w_string to t_string.
ENDIF.
if T_staff-staff_no = 'X'.
CONCATENATE '<staff_no>' w_staff-staff_no '</staff_no>' into w_string.
APPEND w_string to t_string.
ENDIF.
if T_staff-name = 'X'.
CONCATENATE '<name>' w_staff-name '</name>' into w_string.
APPEND w_string to t_string.
ENDIF.
if T_staff-room = 'X'.
CONCATENATE '<room>' w_staff-room '</room>' into w_string.
APPEND w_string to t_string.
ENDIF.
if T_staff-phone = 'X'.
CONCATENATE '<phone>' w_staff-phone '</phone>' into w_string.
APPEND w_string to t_string.
ENDIF.
if T_staff-mail = 'X'.
CONCATENATE '<mail>' w_staff-mail '</mail>' into w_string.
APPEND w_string to t_string.
ENDIF.
w_string = '</staff>'.
append w_string to t_string.
ENDLOOP.
W_STRING = '</allstaff>'.
APPEND w_string to t_string.
ENDMODULE.
Edited by: man700s on Feb 16, 2010 7:01 AM -
Loading of data from XML into Portal
Hi,
I have a XML schema generated from a Word document, containing chapters and appendices in diffrent levels.
Is it possible to load this document into Portal text items, keeping the chapter/appendix structure?
Regards,
NathalieSeveral third-party tools support converting a DTD into a "first-cut" XML Schema. It likely will need a lot of subsequent work to get it into a useable format -- since for example, all of the datatypes would need to be string.
The tools I've personally used to accomplish this (and surely there are others) are:
[list]
[*]XML Authority from Extensibility
[*]XML Spy 3.0 from Icon Software
[list]
The canonical format for XSU insert is precisely the default output format you would get by using XSU to generate XML for a select * from tablename statement. -
Render XML in Portal - brainstorming
All,
Suppose we have a bunch of XML files - perhaps on the file system - perhaps in a database. Together, they represent an external content management system.
I'm looking for ideas on architecting a "document delivery system" within Portal R2.
Here are some of the requirements:
[1] Portlets created and added to Portal pages
[2] Content available to Portal (on filesystem or db)
[3] Hitting page renders content within portlet
[4] Change in content produces corresponding change in portlet
[5] Process needs to be automatic - only change needed is in underlying XML file - portlet sees any needed change
Thoughts?
Thanks!
DougOk, I solved the problem myself, it was not that complicated...
Just got the HTTPServletResponse from the request and wrote the output there. -
XML iView Portal Runtime Error
Hallo,
I am trying to fetch RSS feeds through XML iView. The contents displayed, but the bottom of the page gives an error:
Portal Runtime Error
An exception occurred while processing your request
Exception id: 04:02_30/10/08_0069_9080150
See the details for the exception ID in the log file.
Any suggestions on this?>
Portal Runtime Error
> An exception occurred while processing your request
> Exception id: 04:02_30/10/08_0069_9080150
> See the details for the exception ID in the log file.
>
> Any suggestions on this?
Could you also check the log file on your portal server and let us know the error in detail?
Regards,
Anagha -
O. Portal XML util. Vs. O. Java XMLutil., whats the difference?????
OK, in the O. Portal doc. there is this link:
http://technet.oracle.com/docs/products/ias/doc_library/1021doc_otn/dev.102/a83730/toc.htm
that talks about
oracle.portal.utils.xml.v1
And then there is the O. Java XML utils. Talked about in:
http://technet.oracle.com/docs/products/ias/doc_library/1021doc_otn/dev.102/a86030/adx17paj.htm#1000433
I guess my questions are:
1) Are there TRULY to different O. XML utils. that do the XSLT transformation, one being oracle.portal.utils.xml.v1, and the other being the O. Java XML utils????
2) When would you want to use the O..Portal XML (oracle.portal.utils.xml.v1,) stuff for XLST???? Is the oracle.portal.utils.xml.v1 stuff just as robust as O. Java XML utils???
3) When would you want to use the O..Java XML ( O. Java XML utils. ) stuff???? For XSLT???
THANKS!!!
nullBoth use the same Oracle core XML Developer's Kit components for XML parsing and XSLT transformation.
-
Error While Uploading XDB files in Portal.
Hi Experts,
I have created an adobe forms which consists of Date,Text,NUmeric fields. After saving the same file in xdb format and trying to upload the same file to generate xml in portal, it is throwing error in create callable object --> Upload Default Language Template.
The error is Could not retrieve template fields: Wrong document format or adapter mismatch from adapter.
Your help will be higly appreciated.. Please help me...
Regards.
-
Change the default language of an existing SAP Portal
Hi,
Our SAP Portal works with two languages, Spanish and English. The default language is Spanish, but since the company is becoming more international, we want to set the default language to English. Need to know if you can change the default language of an existing SAP Portal.
Specifically, it is the case of the standard UWL notifications, which are sent by mail in Spanish. For tasks defined in the application, the message is personalized and sent in two languages at once. However, when the task is not defined, notifications arrive in the default language, which is now Spanish. Could anyone tell me if I change it?
Thanks for the help!Dear Marciano
I hope you are well and many thanks for using the SAP Discussion Forums .
In relation to the scenario that you have described regarding the language setting for EP and the UWL.
The language that the portal is displayed in depends on the following heirarchy, with the languages at the top of the list taking precedenceover those at the bottom:
1.Component (iview) language (defined in the portalapp.xml)
2.Portal Mandatory language (defined in the prtDefault.properties)
3.User language (defined in the user#s profile).
4.Request language (defined by the browser).
5.Portal Default language (defined in the prtDefault.properties)
6.System Default language (default locale defined by the OS).
So for example, if you have your portal user language (as in point 3)set to Czech, but the language of the iView that is the logon page (as in point 1) set to English, that logon page will be displayed in English.
Regarding the navigation path for the prtDefault.properties kindly refer to the SAP Documentation outlined below which provides a detailed summary and walkthrough regarding the language settings.
Setting Mandatory Language For Portal
http://wiki.scn.sap.com/wiki/display/EP/Setting+Mandatory+Language+For+Portal
- SAP Note: 1013521 - Configuration of supported languages within the portal
- SAP Note: 1661391 - Portal 7.3 is not displayed in the configured language
- SAP NetWeaver Portal 7.3: SAP Documentation and Guides: http://scn.sap.com/docs/DOC-23349
- SAP Note: 1696439 - Changing the Default or Mandatory Locale for a 730 Enterprise Portal
Using Extended Notifications and the UWL
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/ad/d64842d59fb430e10000000a155106/frameset.htmhttp://http://help.sap.com/saphelp_nw70ehp2/helpdata/en/ad/d64842d59fb430e10000000a155106/frameset.htm
Kindly update me as per your findings.
Kind Regards & All The Best
Troy Cronin - Enterprise Portal Support Engineer -
Passing Parameters between Portal and Forms 6i
Hi,I'm new in Oracle Portal and I have a problem. I have a Portal's report and I need to pass a value from this report to Form 6i to perform the query. This form is a porlet including in the Portal page.
please help meHi, Im trying to do that you said, but doesn't work :-(, my code is something like this, in the portlet.xml(jboss portal 2.6) :
<portlet-preferences>
<preference>
<name>stockSymbols</name>
<value>BEAS</value>
</preference>
<preference>
<name>refreshInterval</name>
<value>600</value>
</preference>
</portlet-preferences>
in the consumer(bea wlp 8.1 sp5), i dont see any portlet preference in the palette window, im doing something wrong?...thanks for your help. -
I have created a custom XML Transformer using the SAP Library article:
http://help.sap.com/saphelp_nw04/helpdata/en/e1/98e14110340b7fe10000000a155106/frameset.htm
I created the project and uploaded the PAR file but when I try to create an XML iView I get to the part where I enter the URL and when I click "Next" I get the following error:
Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.sap.portal.EmptyTransformersProvider...
In the PAR Structure section it says - The Par File must have the following folder structure:
dist->PORTAL-INF->portalapp.xml
dist->PORTAL-INF->xml->XSLLibrary->Transformers (My custom XSL File (stock.xsl) is HERE)
dist->PORTAL-INF->xml->Transfomers.xml
This I have completed however, it also shows two files under the project:
EmptyTransformersProvider.etz
com.sap.portal.EmptyTransformersProvider.par
What are these files and how do I create/add them?
I noted that the name of the Project created here is EmptyTransformersProvider but my project is named ep_sts does this matter?
Also if it matters: this is a DC which I created in NWDS using Enterprise Portal->Portal Application Module.
Lastly I have tested the XSL using Internet explorer and an XML File and it workes fine so I would assume it is not the XSL causing the error.Hello
As i've created my own transform according to the tutorial, it doesnt appear in the list of available transforms either in the xml iview wizard or editor.
Any idea ?
previously I had the same error resolved by naming the project with the right name.
Thanks -
We have been struggling to create an XML iview using the XML iview template since we installed EP 6.0 SP9. We tried to upgrade to SP13, SP14 but still did not work. Recently we upgraded to SP18 and today SP19, and we got a new error message "Runtime error in XML iView. Proxy settings on the server may not be configured".
We don't use any proxy servers in our network. I have also tried to configure the proxy settings in system configuration and restart the service but the error keeps unchanged.
We are almost desperated but without the XML iview Portal means nothing to us.Thank you for replying, Prem.
We don't have to go though a proxy server to access the internet. And the XML source URL is from our internal server netword. So I believe that we don't need to configure the proxy setting in this case.
We have also tried to configure the proxy settings as instructed in many messages but it still doesn't work.
Is there anything else that we might be missing for creating an XML iview? -
Portal Exception -- InvalidArgumentException
Hello,
The environment is WLP sp1 in Win2K .
We have three pages 010.jsp, 020.jsp, 030.jsp.
010.jsp has two action buttons which forward the requests to 020.jsp and
030.jsp respectively.
I press the button links to 030.jsp in the page 010.jsp .
Before the action finished, I press the stop button of the browser and press
another button link to 020.jsp .
It has the following exception:
Webflow Configuration Error:
XML File: portal.wf
Current Namespace: portal
Configuration Error Message:
Exception[com.bea.p13n.appflow.exception.InvalidArgumentException: The
origin named [030.jsp] in namespace [Employee] in application
[employeeportal] does not have an event named [020.go].]
The portal server treats 030.jsp as the active page, but what we see in the
browser is still 010.jsp.
How can I solve this problem?
Sincerely,
AlanHmmm. It appears there are some differences. It looks like the migrator tool didn't
properly migrate this one. Let me resync the one from sampleportal and see what
happens.
Steve
"Daniel Selman" <[email protected]> wrote:
Steve,
I suspect a bad version of admin_portal.wf to be the culprit. Opening
the
one shipped with 7.0 I see:
<event event-name="link.page_attr">
<destination namespace="admin_portal"
node-name="set_page_attributes" node-type="jsp"/>
</event>
Perhaps you have sync'ed a version from 4.0?
Sincerely,
Daniel Selman
"Steve Lewis" <[email protected]> wrote in message
news:[email protected]..
Okay, so I migrated my EBCC files from Portal 4 to Portal 7. But Ican't
add my
portlefts to my page. Several of the links break on the manage portalpages link.
(manage_portal_pages.link)
Under "Available Pages" Attributes breaks, Entitlements breaks, andEdit
Portlets
breaks.
I know this isn't a giant problem, but it's kind of disappointing.I'm
logged
into ebizAppTools as administrator.
Steve
Exception[com.bea.p13n.appflow.exception.InvalidArgumentException:The
origin
named [manage_portal_pages.jsp] in namespace [admin_portal] in application[tools]
does not have an event named [link.page_attr].] -
Can you update .class files in a running portal instance?
We are developing with wlportal4.0 sp2/wlserver6.1 sp2 and we're having a problem
with the .class files which define our custom servlets, tag-libraries, etc. We store
all of the class files required by the portal under (obviously) the web-apps "WEB-INF/classes"
directory, following the standard J2EE servlet contract. Everything works fine,
but if we change one of the .class files while the server is running, no matter which
.class file it is, we receive a "Webflow Configuration Error":
Webflow Configuration Error:
XML File: portal.wf
Current Namespace: portal
Configuration Error Message:
ClassCastException was throw while trying to cast class [com.bea.p13n.appflow.webflow.internal.IPProcessor]
to [{1}].
.. Followed by a dump of the pipeline session and the session attributes. The only
way to get around this we've found is to stop and re-start the portal which, obviously,
is a pain.
Has anybody run into this situation and found a workaround?
Thanks!Seeing how your getting an webflow type error. If these classes are inputprocessors
issue a support ticket about "hot deployments of input processors"
-Travis
"Joshua Davies" <[email protected]> wrote:
>
We are developing with wlportal4.0 sp2/wlserver6.1 sp2 and we're having
a problem
with the .class files which define our custom servlets, tag-libraries, etc.
We store
all of the class files required by the portal under (obviously) the web-apps
"WEB-INF/classes"
directory, following the standard J2EE servlet contract. Everything works
fine,
but if we change one of the .class files while the server is running, no
matter which
.class file it is, we receive a "Webflow Configuration Error":
Webflow Configuration Error:
XML File: portal.wf
Current Namespace: portal
Configuration Error Message:
ClassCastException was throw while trying to cast class [com.bea.p13n.appflow.webflow.internal.IPProcessor]
to [{1}].
... Followed by a dump of the pipeline session and the session attributes.
The only
way to get around this we've found is to stop and re-start the portal which,
obviously,
is a pain.
Has anybody run into this situation and found a workaround?
Thanks! -
Weblogic portal 9.2 and Maven 1.0.2
Hi ,
Does any body worked on weblogic portal 9.2 and Maven 1.0.2? If any one then please send me the Pom.xml of Portal Web and Portal Ear project.
Please make sure Maven version should be 1.0.2.
I want to convert all the shared jar dependency in my .classpath to POM.xml but not getting correct direction for this.
Trying e.g
<dependency>
<groupId>weblogic-common.p13n-app-lib</groupId>
<artifactId>p13n-app-lib-parent</artifactId>
<version>9.2.0</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
But always getting
Attempting to download p13n-app-lib-parent-9.2.0.pom.
WARNING: Failed to download p13n-app-lib-parent-9.2.0.pom.
classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="com.bea.wlw.ear.core.AppLibrariesContainer/LcdPortalEar"/>
<classpathentry kind="con" path="com.bea.wlw.xmlbeans.lib"/>
<classpathentry kind="con" path="com.bea.wlp.eclipse.common.system"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-tools-visitor-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-commonui-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-services-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-tools-support-app-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-webdav-app-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-tools-app-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-services-app-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="src" path="build/assembly/.src"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-framework-full-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-wsrp-producer-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-lookandfeel-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-light-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-framework-common-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-framework-struts-1.2-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/p13n-web-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/wlp-framework-full-app-lib/allow-newer/9.2.0/9.2.3"/>
<classpathentry kind="con" path="com.bea.wlw.libmodule/p13n-app-lib/allow-newer/9.2.0/9.2.3"/>Yest I study http://www.gexperts.com/articles/weblogic-maven.asp.
But this was based on Maven 2 version and not maven 1.0.2
As there is lot of difference between Maven 2 version and maven 1.0.2 so littler bit confussed about compatibily of maven 1.0.2 and Weblogic portal 9.2
Please reply. -
Problems redeploying portal logon par file
Hi,
We customized the portal logon page within a custom par file and modified the authschemes.xml to make it work.
Once it worked on our DEV portal we moved the par file to the QA environment.
At this point the par file is having problems and doesn't execute. When we change the Authschemes.xml the portal even crashes because it tries to execute the custom par file and it fills up the log files.
The only difference in the deployement I could get from the log files it that it doesn't create a "work" directory during the deployement in QA while it does in DEV.
Any reasons why the par file would work in DEV and not in QA?
the portal releases and patch levels are exactly the same.
Thanks,
JohnnyHi,
1. create ur custom parfile
2. change all occurences of the the old par file name with the new custom parfile name in authschemes.xml.
3. <b>delete or rename com.sap.portal.navigation.masthead.par.bak</b>
3. move the new custom parfile to the PCD location
4. <b>delete the .bak file of new parfile or old parfiles if any</b>
5. restart the portal.
check whether there are any discrepancies in authschemes.xml while changing the name of old parfile.
Hope this helps
Thanks,
Praveen
PS. Dont forget to reward point if useful/solved.
Maybe you are looking for
-
Having sound distortions in games with M-Audio Revolution 7.1
I'm having sound distortion problems with a couple of games. I think this started a few OS X updates ago, but not sure which one. Two known games are Quake 3 and Quake 4. When I run either of them, the sound is deep and distorted. I'm sure an update
-
I have a strange thing happening. I'm sure it's something simple, but I can't figure it out. I have a layered image. I've been dragging photos onto it without any problems. But... there are two images that are now acting weird. The first is my daught
-
Beginning programmer: i need help its cake for some of you
ok i have an assignment : hypothetically i have been given a data file that contains a letter(a,b,or c) and a number separated by a space it tellsme to create a program that will output the average each class of numbers (those w/ an 'a' on the same l
-
Overlaping request in 7.x
Hello everybody, I have a third party (UD Connect) transactional datasource that is not delta enabled. I want to avoid loading the complete history every day over and over again. There is a filter for characteristics 0FISCPER in the datasource. I kno
-
Problem locating components by coordinates
Hi all, I'm converting an asp application to jsp using JDeveloper. On the asp all the components are located by coordinates, which is not the Java model. I can get a reasonable layout for most of the components using the Java model of forms & panels