Navigating from pipeline component to a IP in another webflow
Hi folks,
I am stuck with a issue here. Please help me out if you know the answer. Thanks
in advance.
I have a requirement where I have cart webflow and a shipping webflow. I have
a PC called continue shopping which should take me to an IP in shipping. is this
possible. can I navigate to another webflow to a IP from a PC in this webflow.
If so how. Please respond if you know the answer to this.
Thanks
Srini
Thanks for the reply tanya!
I am using proxy node now and it takes me to the next webflow but none of the
events in the second webflow work. Do you have a way around that ?
Thanks in advance
Srini
"tanya" <[email protected]> wrote:
>
have you tried using a proxy node?
it's described in the following:
http://e-docs.bea.com/wlp/docs70/dev/navigate.htm#1011383
-tanya
"srini" <[email protected]> wrote:
Hi folks,
I am stuck with a issue here. Please help me out if you know the answer.
Thanks
in advance.
I have a requirement where I have cart webflow and a shipping webflow.
I have
a PC called continue shopping which should take me to an IP in shipping.
is this
possible. can I navigate to another webflow to a IP from a PC in this
webflow.
If so how. Please respond if you know the answer to this.
Thanks
Srini
Similar Messages
-
Hi Everyone,
We have a requirement to
Navigate from Custom Component to the Standard Component(IUICCON – Contract
management) on the basis of some conditions.
We tried navigating with Manual
as well Dynamic Navigation. The Navigation is happening properly and the Navigation is completed and we are on the Contract
Management Screen(Standard component View).
On the Contract Management
screen (standard Component view), when we click on New Contract Button; it throws dump stating “Define
Component Usage IUICOBJ”. After debugging we identified that the issue was with the Parent class/ component is getting changed, because of which the usage was not found.
Appreciate your help.
Thanks in Advance.
Regards,
Bhavikjp.Hi Bhavik,
Check which is the active enhancement set at the runtime in the component_loading BADI.
If it is anything other than your enhancement set,Set it to your enhancement set .
Check if the parameter WCF_IGNORE_ENHANCEMT in Tcode SU01 is set to 'A' for the User.
Regards JP. -
Hello Experts,
I have been assigned to a CRM-UI Object which is basically to create follow-up action i.e. creating debit/credit memos with reference of one/multiple billing documents.
SAP has already provided an option to create the follow-up action for 1 billing document at a time, but the requirement is to create follow-up action for multiple billing documents at a time. For example, There are 2 invoices raised against a dealer "DEL" and due to some reason the dealer wants to send back the products.
Now the dealer wants to create only 1 claim/return for those 2 invoices, Which Standard SAP doesn't provide.
I did some of the development and added the 'Follow-up create' Button to the search result work area of the billing search. But could not able to build the link between the Billing and Sales order Components.
It would be really a great favor if you can guide me to build this navigation link.
Please let me know if any further information required.
Please find the attachment for step-by-step process.
Codes and Configs:
Method DO_PREPARE_OUTPUT to provide the “Follow-up Create” Button
method DO_PREPARE_OUTPUT.
CALL METHOD SUPER->DO_PREPARE_OUTPUT .
DATA:
lr_coco TYPE REF TO cl_beabds_b_bspwdcomponen_impl,
ls_button TYPE crmt_thtmlb_button,
lv_usage TYPE string,
lv_info TYPE string,
lv_info_transfert TYPE string,
lv_show_btn_transfer TYPE boolean VALUE abap_false,
lv_show_btn_cancel TYPE boolean VALUE abap_false,
lv_show_btn_split TYPE boolean VALUE abap_false,
lv_show_btn_create TYPE boolean VALUE abap_false,
lr_col TYPE REF TO if_bol_bo_col,
lv_show_separator TYPE abap_bool,
lv_num_marked TYPE i,
lr_entity TYPE REF TO if_bol_bo_property_access,
lv_appl TYPE bea_appl_ubd.
lr_coco ?= comp_controller.
lr_col = me->typed_context->ubdheader->collection_wrapper->get_marked( ).
lv_num_marked = lr_col->size( ).
* Decide based on the usage which buttons should appear, others are not shown by default
CALL METHOD lr_coco->get_env_info
IMPORTING
ev_usage = lv_usage
ev_info = lv_info
ev_info_transfert = lv_info_transfert.
CASE lv_usage.
WHEN cl_beabds_b_bspwdcomponen_impl=>gc_usage_search_result.
IF lv_info_transfert = cl_beabds_b_bspwdcomponen_impl=>gc_inf_trans_search_result.
lv_show_btn_create = abap_true.
lv_show_separator = abap_true.
ENDIF.
ENDCASE.
if lv_show_btn_create = abap_true.
* Separator between two buttons if needed
IF lv_show_separator = abap_true.
CLEAR ls_button.
ls_button-type = cl_thtmlb_util=>gc_separator.
APPEND ls_button TO gt_buttons.
lv_show_separator = abap_false.
ENDIF.
CLEAR ls_button.
IF lv_num_marked > 0.
ls_button-enabled = abap_true.
ELSE.
ls_button-enabled = abap_false.
ENDIF.
ls_button-text = text-001.
ls_button-id = 'BTN_CREATE'. "#EC NOTEXT
ls_button-on_click = 'CREATE'. "#EC NOTEXT
APPEND ls_button TO gt_buttons.
lv_show_separator = abap_true.
ENDIF.
endmethod.
METHOD eh_oncreate.
* Added by wizard: Handler for event 'CREATE'
TYPES: BEGIN OF ty_trans,
process_type TYPE crmt_process_type,
proc_type_descr_20 TYPE crmt_description_20,
subobject_category TYPE crmt_subobject_category,
subob_cat_descr_20 TYPE crmt_description_20,
END OF ty_trans.
DATA: lt_trans TYPE STANDARD TABLE OF ty_trans ,
ls_trans TYPE ty_trans ,
lv_ref_struct TYPE REF TO ty_trans.
DATA:
lv_struct_ref TYPE REF TO crmt_extbt_il_header_ref,
lv_value_node TYPE REF TO cl_bsp_wd_value_node,
lr_ent TYPE REF TO if_bol_bo_property_access,
lv_bo_coll TYPE REF TO if_bol_bo_col,
ls_ref_header TYPE crmt_extbt_il_header_ref,
lv_title TYPE string,
lr_comp_ctrl TYPE REF TO cl_beabds_b_bspwdcomponen_impl,
lr_cw TYPE REF TO cl_bsp_wd_collection_wrapper,
lr_col TYPE REF TO if_bol_bo_col,
lr_col_proc TYPE REF TO if_bol_bo_col,
lr_bo TYPE REF TO cl_crm_bol_entity.
IF gv_fu_popup IS NOT BOUND.
lv_title = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT/FOLLOW_UP' ).
gv_fu_popup = comp_controller->window_manager->create_popup(
iv_interface_view_name = 'MainWindow'
iv_usage_name = 'UCBTEXTFOLLOWUP'
iv_title = lv_title ).
ENDIF.
CREATE OBJECT lv_bo_coll TYPE cl_crm_bol_bo_col.
lr_comp_ctrl ?= me->comp_controller.
lr_cw = lr_comp_ctrl->typed_context->ubdheader->collection_wrapper.
lr_col = lr_cw->get_marked( ).
CREATE DATA lv_struct_ref.
CREATE OBJECT lv_value_node
EXPORTING
iv_data_ref = lv_struct_ref.
CHECK lr_col IS BOUND AND lr_col->size( ) > 0.
CREATE OBJECT lr_col_proc TYPE cl_crm_bol_bo_col.
lr_bo ?= lr_col->get_first( ).
WHILE lr_bo IS BOUND AND lr_bo IS NOT INITIAL.
lr_bo->get_property_as_value(
EXPORTING
iv_attr_name = 'HEADNO_EXT'
IMPORTING
ev_result = ls_ref_header-object_id ).
ls_ref_header-object_type = 'BILLDO'. "#EC NOTEXT
lv_value_node->set_properties( ls_ref_header ).
lv_bo_coll->add( lv_value_node ).
lr_bo ?= lr_col->get_next( ).
ENDWHILE.
gv_fu_popup->set_on_close_event( iv_view = me iv_event_name = 'FOLLOWUP_SEL_CLOSED' ).
gv_fu_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
gv_fu_popup->open( iv_inbound_plug = 'EXTFOLLOWUP' iv_collection = lv_bo_coll ).
ENDMETHOD.
method EH_ONFOLLOWUP_SEL_CLOSED.
* Added by wizard: Handler for event 'FOLLOWUP_SEL_CLOSED'
DATA:
lr_context_node TYPE REF TO cl_bsp_wd_context_node,
lr_current TYPE REF TO cl_crm_bol_entity,
lr_col TYPE REF TO if_bol_entity_col,
lr_wdw TYPE REF TO cl_bsp_wd_window.
IF gv_fu_popup->get_fired_outbound_plug( ) EQ 'LEAVE'. "# EC NOTEXT
lr_context_node = gv_fu_popup->get_context_node( iv_cnode_name = 'BTORDER' ). "# EC NOTEXT
CHECK lr_context_node IS BOUND.
lr_current ?= lr_context_node->collection_wrapper->get_current( ).
CHECK lr_current IS BOUND.
CREATE OBJECT lr_col
TYPE
cl_crm_bol_entity_col.
lr_col->add( lr_current ).
lr_wdw = me->comp_controller->if_bsp_wd_window_manager~get_window( 'MainWindow' ).
lr_wdw->call_outbound_plug( iv_outbound_plug = 'NAVIGATE_CREATE' iv_data_collection = lr_col ). "#EC NOTEXT
ELSEIF gv_fu_popup->get_fired_outbound_plug( ) EQ 'LEAVEPROCTYPE'. "# EC NOTEXT
gv_fu_popup->set_on_close_event( iv_view = me iv_event_name = 'FOLLOWUP_SEL_CLOSED' ).
gv_fu_popup->open( iv_inbound_plug = 'EXTFOLLOWUPITEMS' ).
ENDIF.
endmethod.
method OP_NAVIGATE_CREATE.
* Added by wizard: Outbound plug 'NAVIGATE_CREATE'
DATA:
lr_window TYPE REF TO cl_bsp_wd_window.
lr_window = me->view_manager->get_window_controller( ).
lr_window->call_outbound_plug( iv_outbound_plug = 'NAVIGATE_CREATE'
iv_data_collection = iv_data_collection ).
endmethod.
Thanks,
Subhash.Hi Srikanth,
I believe You are trying to implement dynamic navigation..
lv_data_collection->add( lv_descriptor_object ).
I can see lv_data_collection is not having the actual entity just the descriptor object details you are adding in the lv_data_collection..
If you don't have the context node binding between source and destination component, add the required data to lv_data_collection
, in the target component inbound plug retrieve the same data entity and set it on the relevant context node.
To get an idea, check standard component for where dynamic navigation is implemented.
Hope this helps..
Cheers,
Sumit Mittal -
Navigating from WD component to POWL component
Hi all,
I do have a requirement to navigate from my standalone wd component to a standard POWL component.
Could you please tell how it can be achieved?
Thanks & Regards,
Arun.Hi Arun,
Please cehck this...
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f1d5ee-84ab-2c10-ce97-97dfd89bc238?quicklink=index&overridelayout=true
POWL
Re: Opening Web Dynpro application from POWL
Cheers,
Kris. -
Problem in Navigation from one component to another component
Hi,
Here my requirement is:
I have component - SRQM_INCIDENT_H/MainWindow. Now I have a buttopn in this window called "Create Task". When I clicke on this button, I need to navigate into another component carrying with some data. The other component is - BT125H_TASK/MainWindow.
I have done the following steps:
1. Added Task as component usage.
2. Added Outbound plug in Service Request
3. Now I am trying to create navigation link. Here, I am not able to see my component usage in Target views list.
So, I am not able to create navigation link itself.
Could you please help me out with some stepsfor this.
Thanks,
Sandeep1)Add the window to you component usage,the one whihc u want to navigate to .
2) add this wuindow in the runtime repository to your main window.
Only then u shud b able to c ur window in the "target" list for creating nav links.
Suvidha -
Navigation from One page to another page through hyperlink in webcenter
Hi All,
I created ADF unbounded taskflow and want to use it in my webcenter portal application for navigation from one page say Page x to another say Page y by clicking on the hyperlink in the Page x. How to do this in webcenter portal application. When I try to add the taskflow in the navigation model it is taking to the blank page instead of taking to Page x. Many thanks in advance.
Regards
Kaushik GopalakrishnanTake a look at this discussion (and referenced resources): http://groups.google.com/group/webcenter-emg/browse_thread/thread/b32d3252228c9e0a
-
Accessing user attributes from a pipeline component
Hello,
I'm using WLCS & WLPS 3.1. I use webflow and I have implemented the page
transition myself to work with the portal. Everything is working fine.
I'm planning to implement a complex step of a business process as a pipeline
component. For various reasons, this PC will be implemented as an EJB. To
perform its job, this PC needs to get information about the user that is
currently logged in. More specifically, it needs to lookup custom attributes
from the user profile (i.e. user property set).
So my question is : is this possible directly from the PC, or do I have to
populate the pipeline session with required information in the input
processor?
Thank you for your advice
NicolasHello Ture,
Thanks for both posts.
Nicolas
"Ture Hoefner" <[email protected]> wrote in message
news:[email protected]..
... To perform its job, this PC needs to get information about the userthat
is
currently logged in. More specifically, it needs to lookup customattributes
from the user profile (i.e. user property set).
So my question is : is this possible directly from the PC, or do I haveto
populate the pipeline session with required information in the input
processor?Hello Nicolas,
I have not tried this myself. I think that the disconnect between the
pipeline session and the portal session is probably the fact that theattributes
in the portal session have their keys "fixed up" by prepending the portal
request URI. This is made possible by the
com.beasys.commerce.foundation.flow.jsp.DefaultDestinationDeterminer,which the
PortalDestinationDeterminer extends. It puts a "TRAFFIC.URI" attributeinto the
each request that goes through the FlowManagerServlet for the portal. Inthe
Acme exampleportal, the "SERVICEMANAGER.USER" attribute is put into theportal
HttpSession as "exampleportal.SERVICEMANAGER.USER".
If you want to get to the cached profile from your portal from yourpipeline
component (PC) then you would have to know that the name is "fixed up" tobe
"exampleportal.CACHED_PROFILE". There are probably several different waysyou
could get the "TRAFFIC.URI" information to your PC.
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com -
Where do Pipeline Component classes get loaded from?
Can someone please point me to some documentation that describes where my Pipeline
Component classes get loaded from?
I have just wasted hours on this - to find that they are not loaded from WEB-INF/classes
- but instead they must be available to the EJB classloader. The sampleportal
is completely misleading in putting the classes in WEB-INF/classes - because they
are in fact loaded from the sampleportal EJB jar!
Did I miss something obvious?
regards,
NickNick
Refer to this portal doc on dev2dev
ftp://edownload:[email protected]/pub/downloads/webflow.doc
-tulan
"Nick Minutello" <[email protected]> wrote
in message news:[email protected]..
>
>
Can someone please point me to some documentation that describes where myPipeline
Component classes get loaded from?
I have just wasted hours on this - to find that they are not loaded fromWEB-INF/classes
- but instead they must be available to the EJB classloader. Thesampleportal
is completely misleading in putting the classes in WEB-INF/classes -because they
are in fact loaded from the sampleportal EJB jar!
Did I miss something obvious?
regards,
Nick -
How to pass data from one component to other component.
Hi,
I have created a table view in Item Details Page Under Price Agreement Assignment Block. Price Agreement Assignment Block has one table as standard. I have created one more view Under the Assignment block of Price agreement(CRMCMP_CND). In that view I have an option to enter data when the user click on edit. In that custom view, If user cnages to edit mode and enter data. it has to save when user click's on save button in Quotation page(BT116QH_SRVQ). From Quotation page user clicks on item to get the Item details. In the Item details there is an Price Agreement Assignment Block. In that Custom view was created and assigned to it. Data entred in that view needs to be stored when user clciks on Save button on Quotation page when he comes back. How to get the custom view data from CRMCMP_CND to BT116QH_SRVQ). Please advice. Thanks In Advance.Hi Satish,
Global custom controllers are not available everywhere. So before using them please make sure that they are available for your case.
http://sapdiary.com/index.php?option=com_content&view=article&id=2402:sap-network-blog-interaction-center-global-custom-controllers&catid=81:data-services&Itemid=81
if you find problems in navigating data using component controllers then you can also navigate it through navigation links.
If you see your outbound plug method op_xxxxx, then there is a method call to navigate method. This method has an option to pass your data collection. Pass your data collection and also inbound plug so that in target component you can read and temporarily store data as soon as you hit target component.
Hope that helps,
BJ -
Custom Pipeline Component stopped changing input filename
Hi
In my project, I have a custom pipeline component to change the input file name. I use it in the receive pipeline decode stage. It was working initially when I had only a receive pipeline and custom pipeline component in my solution. later I introduced
two schemas, an orchestration, map and a send pipeline. The rename is not working anymore. Please help.
receive adapter: FILE
send adapter: FTP
Custom pipeline component: (File Name Setter)
Receive pipeline:
decode: custom pipeline component to rename the filename
disassemble: flatfile disassembler conecting to a document schema
Map:
Schema 1 to Schema 2 (transforms from Windows to Unix format)
Orchestration:
receive message
transform using map above
send message
Exception Handler
Send pipeline:
FlatFile assembler
manibestMay be its not working now, because in the orchestration which you have added,
you’re constructing a new message from the received message and the context properties from the Received message is not copied across to the newly constructed message. So when you use “%SourceFileName%” macro in the send port,
the ReceivedFileName context property is missing in the newly constructed message which is sent out.
So in your Orchestration, while constructing (in MessageAssignment shape) the outbound message from the Received message, copy the context property of the Received message to the newly constructed message. Something like this
//This line copies all the context properties from received message to the outputted message
msgOutputted (*)= msgReceived(*)
//or
//This line just copies the receive file name context property from received message to the outputted message
msgOutputted (FILE.ReceivedFileName)= msgReceived (FILE.ReceivedFileName).
If you’re not using the Orchestration or constructing the new message (even in map), then just add the schemas/orchestration or any pipeline would not affect the ReceiveFileName code. May be in this case, debug the pipeline and also check whether the outputted
message has ReceivedFileName in its context property.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Popups: Navigation from view to window does not work
Hi,
I open a second window as popup. This window has 2 views embedded, displaying view1 first. On some actions I would like to navigate to view2.
Defining an outbound plug on view1 and an inbound plug on view2, connecting them and firing the outbound withith the onaction works absolutely fine.
However, for some reasons I would like to avoid a direct navigation, but would like to navigate from view1 to the popupo window and from there to view2 (or maybe another view, ofcourse also embedded in the same popup window). Unfortunately I fail on this scenario - I can fire the view-to-window plug, but the destination on the window side (handle in method) is never reached.
Since the same concept works fine on non-popup windows I wonder whether a navigation from view to embedded window does not work for popups?
Any idea?Hi Yashpal,
no, just one window.
The first link is view1 -> window, the second window -> view2.
I.e., I fire in the view the outbound plug, which is connected with its window.
In the window I fire an outbound plug, which is connected to view2.
In theory this should work - for non-popup windows I do not have any problem at all, however, for popup windows the navigation from view1 to the window is not processed.
In the meantime I played a little bit further: Instead of firing a navigation from view1, I now fire an event defined in the component contoller, on which an event method is registered within the window. Doing so, I reach the window, which I didn't reach via the navigation link. Once in the window, firing to view2 works just fine ...
Hope the issue is a bit clearer now. Also I found a solution, I am surprised that the simpler way via navigation does not work. -
Hi,
I have 2 BTF in my Security-Enabled ADF application. First BTF has a Task Flow Call to another BTF.
I then created 2 web pages for each BTF. Page A for first BTF and B for second BTF.
If I open any page, it ask for Authentication and display the page with BTF content on web browser.
The only Problem is, if I click on the button on first BTF which has a navigation to second BTF, it throws me following error.
Note: All Task Flows and web page has 'View' permission for 'authenticated-role' Rule. Can someone please explain if I can open 2 BTF separately, then why it is throwing 401 error while navigating from 1 BTF to another. Am I missing assigning any permission ?
javax.servlet.ServletException: ADF_FACES-60101:HTTP Error Status Code: 401."
at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse._logException(XmlHttpServletResponse.java:140)
at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse.sendError(XmlHttpServletResponse.java:106)
at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse.sendError(XmlHttpServletResponse.java:100)
at oracle.adfinternal.controller.util.JsfInterfaceImpl.sendResponseError(JsfInterfaceImpl.java:477)
at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:725)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:934)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:824)
at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:554)
at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)
at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)
at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)
at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)I upgraded to 11.1.2.2... and the good news is.. it throws me more appropriate error message:-
ADFC-0619: Authorization check failed: '/WEB-INF/task-flow-name' 'VIEW'.
ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #2I was using template taskflow from another adf application, but I failed to give permission to that task flow template because I didn't check "Show task flows imported from ADF libraries".
I gave permission to task template and is working fine now.. :) -
Question about login in Pipeline Component
Dear All,
I'm working on registering a new user. Soon after user submits registration, an InputProcessor
will validate its registration data. If success, a Pipeline Component will create
a user via UserManager.createUser() method and then will set properties via ProfileWrapper.setProperty()
method. But before I can setProperty I need to login user. I'm think of using ServletAuthentication.weak()
method to do so, but I don't know how to get a HttpServletRequest object or HttpSession
object. Can anyone tell me how to do it? Also, will it be any trouble to logout if
I use this way to login user?
Thanks in advance for your help.
TimTim,
You can get the HttpServletResponse from the PipelineSession from inside you
PipelineComponent (with signature):
PipelineSession process(PipelineSession pipelineSession,
java.lang.Object requestContext)
By calling:
reponse (HttpServletResponse) = pipelineSession.getRequestScopedAttribute(
WebFlowConstants.HTTP_SERVLET_RESPONSE,
pipelineSession.getContext().getCurrentNamespace(), context );
From the reponse you can get the HttpSession by simply calling getSession.
Let me know if you have any problems.
Sincerely,
Daniel Selman
"Tim" <[email protected]> wrote in message
news:3d32cdc3$[email protected]..
>
Dear All,
I'm working on registering a new user. Soon after user submitsregistration, an InputProcessor
will validate its registration data. If success, a Pipeline Component willcreate
a user via UserManager.createUser() method and then will set propertiesvia ProfileWrapper.setProperty()
method. But before I can setProperty I need to login user. I'm think ofusing ServletAuthentication.weak()
method to do so, but I don't know how to get a HttpServletRequest objector HttpSession
object. Can anyone tell me how to do it? Also, will it be any trouble tologout if
I use this way to login user?
Thanks in advance for your help.
Tim -
BTDF Deployment - Custom Pipeline Component
If I am deploying manually, I am able to deploy, GAC and get output accordingly.
1) But when using BTDF, its not getting deployed properly and not receiving any output. What am I doing wrong ?
2) Before deploying 'RemoveFooter' assembly and adding to PipelineBizTalk Project, how can I add that in tools of Pipeline components to add this 'RemoveFooter' component in Decode stage ?
In BTDF mentioned this :
<PropertyGroup>
<IncludePipelineComponents>true</IncludePipelineComponents>
</PropertyGroup>
<ItemGroup>
<PipelineComponents Include="$(ProjectName).PipelineComponents.dll">
<LocationPath>..\PipelineComponents\bin\$(Configuration)</LocationPath>
</PipelineComponents>
</ItemGroup>
MBHHi
MBH,
The configuration that you mentioned above is totally correct. When you add the custom pipeline component in BTDF it deploys
to “Pipeline Components” folder and at run time BTS refers the dll from this place.
Its working for me with the same configuration and I believe it might be other problem related to the actual project.
JB -
Pipeline component for replace the values in send pipeline 837P
hi friends,
I am working in 837P splitting the claims.When i am sending using sendpipe line.
I need pass the 2010bb loop NM103 and NM109 defaluts values,
ex: NM103=100,NM109=0123456789
like can you help me write pipeline component to manipulate the XPath and replace the default values.
THanks
hkyou will need to extract data from the message coming on your receive location.
You can create two diffferent function which can do your task.
The first one is to get the stream from the message and create a seekable one to be used later on.
private Stream GetMessageStream(Microsoft.BizTalk.Message.Interop.IBaseMessage msg, Microsoft.BizTalk.Component.Interop.IPipelineContext context)
Stream stream = msg.BodyPart.GetOriginalDataStream();
if (!stream.CanSeek)
ReadOnlySeekableStream readStream = new ReadOnlySeekableStream(stream);
if (context != null)
context.ResourceTracker.AddResource(readStream);
msg.BodyPart.Data = readStream;
stream = readStream;
return stream;
The second method is the one that would perform the data extraction as follows.
private string ExtractDataValueXPath(Stream MsgStream, string MsgXPath)
XmlReaderSettings settings = new XmlReaderSettings()
ConformanceLevel = ConformanceLevel.Document,
IgnoreWhitespace = true,
ValidationType = ValidationType.None,
IgnoreProcessingInstructions = true,
IgnoreComments = true,
CloseInput = false
MsgStream.Seek(0, SeekOrigin.Begin);
XmlReader reader = XmlReader.Create(MsgStream, settings);
string strValue = null;
if (!string.IsNullOrEmpty(MsgXPath))
if (reader.Read())
XPathDocument xPathDoc = new XPathDocument(reader);
XPathNavigator xNavigator = xPathDoc.CreateNavigator();
XPathNodeIterator xNodes = xNavigator.Select(MsgXPath);
if (xNodes.Count != 0 && xNodes.MoveNext())
strValue = xNodes.Current.Value;
MsgStream.Seek(0, SeekOrigin.Begin);
return strValue;
You can update the node with the Xpath of the element.
Thanks
Abhishek
Maybe you are looking for
-
How can I get the ibooks onto a 2nd generation ipod touch since it requires 5.0 and the version on the ipod is only 4.2.1? Surely, I should be able to read books on the 2nd generation ipod, right?
-
HI all, when I'm creating asset master at AS01, I'm getting an error "No internal number range is defined for the equipment category", I'm getting this error only for one asset class. While I'm creating asset, at ALLOCATION tab, under INTEGRATION OF
-
Hi Scenario We are using internal order (Investment) for capital budgeting. We have created two roles a)Z_FI_IOCREATION for order creation, change and display and b)Z_FI_IORELEASE exclusively for releasing the order. End users create the order and th
-
Hi.. We have business requirement where cetain users are only allowed for certain material groups. Say user1 can access only material groups grp1 and grp3. Can we have a authorization check for material group in the purchase order ??. I suppose
-
The form template failed to load. IAssociation could not be found using criteria
Hello, I'm using the project used in the "TechEd OSP309 Session" to integrate CRM 2011 with SharePoint 2010. I successfully made the integration. I can create external lists in SharePoint, execute de CRUD operations and submit them to CRM. Also the