Webserice scenario
Hi Experts,
Webservice scenario:
1. Version1 : Basic webservice scenario.(Client1, webservice1)
2. Version2 : Added some more additions to the existing webservice scenario(Client2, Modified webserice1). Client 1 can't access version2 because of the old wsdl file and the latest changes are not applicable with the old wsdl.
Is there any way to figure out the clients ? Can we pass the client info in the SOAP Header or ?
3. Is there any way to redirect the activities according to the clients? When we create the wsdl file we can have only one outbound interface, but if we know from which client we get the request then we can redirect our request according to that client..
4. Where we have to mention the redirection? Sender Agreement or where?
5. Example :
a) MI_Outbound(Outbound interface) & same SOAP address -> if it is from client1 -> Call client service1(Mapping, Business service, cc and etc)
b) MI_Outbound(Outbound interface) & same SOAP address -> if it is from client2 -> Call client service2(Mapping, Business service, cc and etc)
Any suggestions on the above approach?
Regards
Sara
Hi Sara,
You can do it receiver determination.
You need two sender agreements for each clients in order to distinguish them.
/wg
Similar Messages
-
Specific features for webservice scenario
Hi All,
Do we have any specific features which are used for webserice scenario in XI compared to other platforms (ORACLE, Microsoft, IBM)?
Regards
SaraHi Sara,
In ID you can generate WSDL used for Webservice communication in Tools -> Define Webservice.
Regards,
Sreenivas -
Upgrading from PI 7.1 to PI 7.1 Ehp1
Hi,
We are planing to upgrade from PI7.1 SP7 to PI 7.1 EHP1.
How much time will take to do complete upgrade -
After upgrade doe's it will effect any EDI scenario's or webserice scenario's
and what kind of issues we may face while doing upgrade.
and what else precations we need to take care.
If there any docuemnt upgradeing from PI 7.1 to EHP1 please provide me the link.
appriciate your help.
Regards,
Venu.Hi Venu,
Please refer this link , it will give you insight to PI 7.1 EHP1 details.
SAP Enhancement Package 1 for SAP NetWeaver Process Integration 7.1 - Details [original link is broken]
regards,
Srinivas -
Webserice to JDBC BPM scenario
Hi Experts,
I have created the below webservice to JDBC BPM scenario.
IR
Data Type
1. DT_SOAPRequest
2. DT_SOAPResponse
3. DT_JDBCRequest
4. DT_JDBCRequest_response
Message Type
1. MT_SOAPRequest
2. MT_SOAPResponse
3. MT_JDBCRequest
4. MT_JDBCRequest_response
Message Interface
1. SOAP_Out_Sync_ReqResp
2. SOAP_Abs_Sync_ReqResp
3. SOAP_Abs_Async_Req
4. SOAP_Abs_Async_Resp
5. JDBC_In_Sync_ReqResp
Message Mapping
1. MM_Request ( MT_SOAPRequest to MT_JDBCRequest)
2. MM_Response (MT_JDBCRequest_response to MT_SOAPResponse)
Interface Mapping
IM_SOAP_TO_JDBC (SOAP_Abs_Sync_ReqResp to JDBC_In_Sync_ReqResp)
Integration Process
IP_SOAP_TO_JDBC
Container Variable
1. ReceiveMsg - SOAP_Abs_Async_Req
2. SendMsg - SOAP_Abs_Async_Resp
Process
1. Receive Step:
Message : ReceiveMsg
Mode : Opens S/A bridge
Sync Interface : SOAP_Abs_Sync_ReqResp
2. Send Step:
Mode : Sync
Sync Interface : SOAP_Abs_Sync_ReqResp
Request Message : ReceiveMsg
Response Message : SendMsg
3. Send Step:
Mode : Closes S/A bridge
Opend by : Receive step
ID
Business Service & communication channel
1. BS_SOAP ( For Sender Interface, I have mentioned SOAP_Out_Sync_ReqResp -->Is this correct)
a) CC_SOAP - Default Interface Name : What we have to give here ?SOAP_Out_Sync_ReqResp or SOAP_Out_Sync_ReqResp
2. BS_JDBC ( Receiver Interface : JDBC_In_Sync_ReqResp)
One more question, while creating webserive which interface name we have to give Abs_Sync or Outbound_Sync? Not comfortabel with Configuration part, please share your inputs.
Regards
SaraHi Sekhar,
I need info on only Message Interface in SOAP Service, SOAP CC and while creating webserivce from Integration Directory -> Tools -> Define webservice -> 3rd step. I have done with the remaining Sender Agreement, Receiver Agreement, Receiver Determination, Interface Determination..
Confusion is, I have to use whether SOAP_Abs_synch or SOAP_Outbound_synch interface...
Regards
Sara -
Polling in webservice scenario
Hi Experts,
I know Sender File Adapter and JDBC Adapter supports polling. Is it possible to use polling in webservice scenario?
Is it possible to expose a File Adapter and JDBC Adpaters scenarios as a webserice?
Regards
SaraSara,
Can you go through the urls:
sender JDBC by schedule function
JDBC
If it doesnot work for you, then try to see the SXMB_MONI or the JDBC
Try using:
"Disconnect from Database After Processing Each Message" indicator
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
Polling at intervals
Thanks,
Satya Kumar.
Edited by: SATYA KUMAR AKKARABOYANA on Apr 25, 2008 2:25 PM -
SAP XI scenarios (SAP Solution Manager and SAP ECC 6.0)
Hi!
I have a SAP Solution Manager System 7.0 (ABAP+Java) and SAP IDES ECC 6.0 (ABAP).
Futhermore I have SAP NetWeaver 7.0 with SAP XI 7.0.
Which scenarios can I implement with these systems and where can I find the appropriate documentation?
- Proxy to Proxy
- IDOC/ALE
- Webserice
- other scnenarios (???)
Thank you very much!
regards
HolgerHi Holger,
Please do search in SDN you might get more.......
Proxy to Proxy
ABAP Proxies in XI(Client Proxy) - ABAP Proxy to File
File to R/3 via ABAP Proxy - File to ABAP Proxy
IDOC/ALE
Introduction to IDoc-XI-File scenario and complete walk through for starters. - IDoc to File
Few other scenarios :
File to R/3 via ABAP Proxy - File to ABAP Proxy
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1) - File to File Part 1
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2) - File to File Part 2
Convert any flat file to any Idoc-Java Mapping - Any flat file to any Idoc
RFC Scenario using BPM --Starter Kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
Dynamic File Name using XI 3.0 SP12 Part - I - Dynamic File Name Part 1
Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II - Dynamic File Name Part 2
The specified item was not found. - Dynamic Mail Address
Understanding message flow in XI - Message Flow in XI
Walkthrough with BPM - Walk through BPM
Schedule Your BPM - Schedule BPM
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
The specified item was not found. - Maintain RFC destination centrally
Triggering e-Mails to Shared folders of SAP IS-U - Triggering Email from folder
Outbound Idoc's - Work around using "Party"? - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
The specified item was not found. - Testing of integration process
The specified item was not found. - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
The specified item was not found. - Alert Configuration
The specified item was not found. - Trouble shoot alert config
Executing Unix shell script using Operating System Command in XI - Call UNIX Shell Script
Overview of Transition from Dev to QA in XI - Transport in XI
Using ABAP XSLT Extensions for XI Mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
IDOCs (Multiple Types) Collection in BPM - Collection of IDoc to Single File
XI : Controlling access to Sensitive Interfaces - Controlling access to Sensitive Interfaces
The specified item was not found. - The same filename from a sender to a receiver file adapter - SP14
Payload Based Message Search in XI30 using Trex Engine - Payload Based Message Search in XI30 using Trex Engine XI : Configuring CCMS Monitoring for XI- Part I - XI : Configuring CCMS Monitoring for XI- Part I
The specified item was not found. - XI: HTML e-mails from the receiver mail adapter
Thanks
Prabhakar -
How To Develop a Simple WebService App XI Scenarios
Hi,
How can I develop A simple Webservice for any scenario, for example, if am doing File to file scenario, and i want to develop a Webservice for the same scenario,
I think in ID we have an option Under Tools "Define Webservice" where in we can use wsdl format of the message interfaces.
How should i proceed to develop the Webservice?
Regards,
VarunHi Varun,
After creating the wsdl file u can deploy using MS visual studio.
Follow the steps and run the scenario.
use it in a Client Program in .NET : (assuming Maths as the WSDL and Webserice name)
1.) Place maths.wsdl in C:/Sample/ folder
2.) Open Visual studio command prompt using the Start Menu
Start->Programs->Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 Command Prompt
3.) In the Command prompt go to that directory
> C:
> CD\
> CD Sample
> wsdl maths.wsdl /out:"c:\sample"
4.) The previous step will create a file called Maths.cs , go to that folder and confirm this
5.) Open Microsoft Visual Studio 2005, open the Client application where this webservice needs to be called
6.) If your Client application is a web application, the see if the website has a folder called "App_Code"
If not then create this folder. Right Click on this folder and click on "Add Existing Item"
7.) Browse to C:/sample and select the Maths.cs file
8.) If your client is a Desktop application , just add this file in a similar manner to the project(no need of creating any folder)
9.) After the file gets added, open Maths.cs file
10.) Add a namespace to it for convinience
eg:
namespace SAP
This should come before the Class Declaration and close it after the class
eg: See the red lines
namespace SAP
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name = "Equi_get_NotifBinding", Namespace = "http://Equipment_Get_Notifications")]
public partial class Equi_get_NotifService : System.Web.Services.Protocols.SoapHttpClientProtocol
functions....
11.) Save the Maths.cs file
12.) Open the Webform or windows form code where this webserive will be called
13.) The webservice will now be available here under the SAP namespace
so when u type "SAP." u will get all the classes in it.
Add credential in this code as shown below
eg:
private void GetNotifications()
try
SAP.Equi_get_NotifService ser1 = new SAP.Equi_get_NotifService(); //This is the Webserive Proxy class
SAP.Equi_get_Notif_Request req = new SAP.Equi_get_Notif_Request(); //Request Class
req.Equipment = SAPID;
req.Date = Calendar1.SelectedDate;
System.Net.CredentialCache ch = new System.Net.CredentialCache(); //Adding Credentials for authentication on webservice server
System.Net.NetworkCredential cr = new System.Net.NetworkCredential("xisuper", "infotech");
ch.Add(new Uri(ser1.Url), "Basic", cr);
ser1.Credentials = ch; // Assing this Credential to the ProxyClass.Credentials property as shown here
SAP.Equi_get_Notif_ResponseNotifications[] res = ser1.Equi_get_Notif(req); //Call the webservice, res is the responce object
GridView1.DataSource = res;
GridView1.DataBind();
catch (Exception ex)
Response.Write(ex.Message);
"Award points if it is helpful" -
Can any one tell the difference between the webserice and BAPI ? or give some links so that i can get knowledge from it.
With Regards,
BalachanderHi Bala,
<u>Web Services</u>
To a great extent, communication between B2B and e-Commerce applications is based on manually declared interfaces, message formats, and arrangements between business partners. Using Web services, this process can be simplified. Web services are Web-based interfaces that can be integrated into business scenarios of a company based on open and commonly accepted standards. Using Web services enables you to combine functions implemented on different software components into a single process.
Web services are self-contained, modularized, executable entities that can be published, searched for, and accessed across a network. For a caller or sender, a Web service is a black box that may require input and delivers a result.
http://help.sap.com/saphelp_nw04/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/content.htm
<u>BAPI</u>
BAPI (Business Application Programming Interface) is a set of interfaces to object-oriented programming methods that enable a programmer to integrate third-party software into the proprietary R/3 product from SAP. For specific business tasks such as uploading transactional data, BAPIs are implemented and stored in the R/3 system as remote function call (RFC) modules.
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html#quickstart
Thanks!
-SanS- -
Logical System in IDOC-XI scenario
Hi,
I need help to understand few things in IDOC-XI scenario, could any one help me in this regard.
we use Adapter specific identifiers to map services, we have following type of identifiers 1) Sys.ID & Client No. 2) Logical System.
my questions are
a) Are we use Logical System in B to B scenario ?
b) Are we use LS in reference to the SAP system or Non SAP system ? if a non SAP system....how a non SAP system send an IDOC and why a non SAP system receive an IDOC ( conversion is possible in XI ) ?
Thanks and Regards
Mahesh.Hay Kumar,
Logical systems can also be used for SAp sytems wich are not installed yet as a virtuall placeholder.
a) yes. if on of your business is a non sap system or a propritery system that you developed yuo'll ue LS.
b) non SAP system can send and recieve IDOCs. so it's possiable to get an IDOC from a system and turn it into an RFC for SAP or get an IDOC from an SAP system and then turn it into something else for another system.
Have a Good One,
Uri Lifshitz. -
Sale Order Scenario - Report in PS Budget /Actual/Variance
Dear Experts,
Please help me understand solve the scenario given below
Step 1
Work order issued to a contractor ( contract includes Service and Material from the contractor) - Service being the labour part
and Material being the cement
But cement is supplied by the client as a sale of cement at a basic price agreed between the two parties.
Eg:
There are 2 WBS
WBS 1 - has a PR released converted to PO with value 100 ( inclusive service + material)
Material procured through me51n , Me21n - GR done and stock has come to GNST ( 40 rs)
material converted to sale order stock mb1b - 412 E after creating sale order with reference to WBS 2
WBS 2 - reports cost incurred for procurement ie; 40rs
Actual booked against WBS1 based on GR 100
Once the billing is done for rs 20 ( basic price) report in budget actual variance shows as below
Budget Actual Variance
WBS 1 200 100 100
WBS 2 40 -40
Report should show 120 as the project cost rather than 140 - since 20 is lost against selling at lower cost.
How to get the cost to 120 which is the actual cost for the workDear Experts,
Please help me understand solve the scenario given below
Step 1
Work order issued to a contractor ( contract includes Service and Material from the contractor) - Service being the labour part
and Material being the cement
But cement is supplied by the client as a sale of cement at a basic price agreed between the two parties.
Eg:
There are 2 WBS
WBS 1 - has a PR released converted to PO with value 100 ( inclusive service + material)
Material procured through me51n , Me21n - GR done and stock has come to GNST ( 40 rs)
material converted to sale order stock mb1b - 412 E after creating sale order with reference to WBS 2
WBS 2 - reports cost incurred for procurement ie; 40rs
Actual booked against WBS1 based on GR 100
Once the billing is done for rs 20 ( basic price) report in budget actual variance shows as below
Budget Actual Variance
WBS 1 200 100 100
WBS 2 40 -40
Report should show 120 as the project cost rather than 140 - since 20 is lost against selling at lower cost.
How to get the cost to 120 which is the actual cost for the work -
Possible to do if/then scenarios?
I work for a large company that has many sales branches throughout the US (40+). Each branch has a MPLS circuit and a local ISP. We have prioritized data that is sent over the MPLS circuit, and all other data over the ISP, with failover configured for either circuit to fail over to the other one. Right now all of the sales branches internet traffic (along with all non-priority traffic such as email) comes back thru the ISP (via a VPN tunnel) to our main location, so we can monitor the internet links. We would like configure the normal internet traffic to go out the ISP directly, but still have the email and so come back via the VPN tunnel. We know how to configure this, however, when we do this we would like to install a PC with some monitoring software on it (surf control), that way we can still monitor the internet traffic. We would like to set it up so that if the PC with Surf Control goes down, that the router will send traffic back over the VPN tunnel or MPLS traffic. So the basis of what I want to do is:
If PC Goes Down = False, Send Traffic To PC
If PC Goes Down = True, Send Data To VPN tunnel or MPLS circuit.
Is it possible to do such a scenario?
We do not currently have the budget for a pix or anything like this, so we are trying to figure it out. I have attached a very basic diagram of the basic network configuration that we have. Any suggestions would be appreciated.
Also we do have a Ciscoworks LMS 2.6 available as well if that would help at all.http://www.cisco.com/en/US/products/sw/iosswrel/ps5413/products_feature_guide09186a00801d862d.html
good luck,
Peter -
Using a variable in the call scenario
I´m using ODI 10.1.3.6.8.
I´m calling the scenario as follows:
./startscen CENARIO_PRINCIPAL 001 GLOBAL -v=5 GLOBAL.EVENTO=12345
This is my CENARIO_PRINCIPAL within it calls two scenarios using the global variable GLOBAL.EVENTO.
When I ran, appears the following error:
"java.lang.Exception: Specified variable not found in the Repository: GLOBAL.EVENTO"
I tried to create a step in CENARIO_PRINCIPAL, declaring GLOBAL.EVENTO (this variable is set to the most recent value).
I ran the scenario again and appears no error, but the variable did not receive the value specified on the "./startscen CENARIO_PRINCIPAL 001 GLOBAL -v=5 GLOBAL.EVENTO=12345" .
Can anyone help me?As I said, I declared the variable in CENÁRIO_PRINCIPAL and ran.
But the variable GLOBAL.EVENTO not received the amount that I reported the call of the stage was GLOBAL.EVENTO = 12345.
Remembering that this variable is being used within the scenarios that are executed within the CENARIO_PRINCIPAL. -
Error while invoking a scenario from another scenario through ODIStartScen
hi,
my requirement is to call a scenario from another scenario. the main scenario contains an interface to get data from jms que and put that in DB and then invoke the inner scenario through ODIStartScen and am executing the scenario through an agent which is on another machine. when am trying to execute the main scenario then i get following error while invoking inner scenario in ODIStartScen step ....
ERROR:::::
oracle.odi.runtime.agent.invocation.InvocationException: HTTP/1.1 500 Internal Server Error
at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:271)
at oracle.odi.runtime.agent.invocation.support.InternalRemoteRuntimeAgentInvoker.invokeStartScenario(InternalRemoteRuntimeAgentInvoker.java:149)
at com.sunopsis.dwg.tools.StartScen.actionExecute(StartScen.java:266)
at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:155)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3185)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:1414)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2785)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1818)
at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:559)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:481)
at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1040)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
the error that is in ODI server log is:
Root cause of ServletException.
org.springframework.jdbc.CannotGetJdbcConnectionException: Create DwgConnectConnection to master repository failed; nested exception is java.sql.SQLException: Pool connect failed : java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:93)
at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:49)
at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:58)
at oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:348)
at oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
at oracle.odi.runtime.agent.servlet.AgentServlet.processRequest(AgentServlet.java:494)
at oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:454)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.sql.SQLException: Pool connect failed : java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at com.sunopsis.sql.SnpsConnection.createConnection(SnpsConnection.java:380)
at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java:338)
at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:88)
at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:49)
at oracle.odi.core.persistence.dwgobject.DwgRepositoryConnectConnectionUtils.doGetMasterDwgConnectConnection(DwgRepositoryConnectConnectionUtils.java:58)
at oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:348)
at oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
at oracle.odi.runtime.agent.servlet.AgentServlet.processRequest(AgentServlet.java:494)
at oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:454)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.sql.SQLException: Pool connect failed : java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:258)
at weblogic.jdbc.pool.Driver.connect(Driver.java:160)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:652)
at weblogic.jdbc.jts.Driver.connect(Driver.java:127)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:355)
at org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter.doGetConnection(UserCredentialsDataSourceAdapter.java:162)
at org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter.getConnection(UserCredentialsDataSourceAdapter.java:133)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused By: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:835)
at weblogic.security.service.IdentityUtility.authenticatedSubjectToIdentity(IdentityUtility.java:30)
at weblogic.security.service.RoleManager.getRoles(RoleManager.java:183)
at weblogic.security.service.AuthorizationManager.isAccessAllowed(AuthorizationManager.java:375)
at weblogic.jdbc.common.internal.JDBCUtil.checkPermission(JDBCUtil.java:231)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:357)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:317)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:93)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:106)
at weblogic.jdbc.pool.Driver.connect(Driver.java:149)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:652)
at weblogic.jdbc.jts.Driver.connect(Driver.java:127)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:355)
at org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter.doGetConnection(UserCredentialsDataSourceAdapter.java:162)
at org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter.getConnection(UserCredentialsDataSourceAdapter.java:133)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
kindly help me out.
thanks in advance.In the batch File write this way
cd E:\OraHome_ODI\oracledi\bin
E:
startscen EXT_DATA 002 GLOBAL In case you are providing the values (EXT_DATA 002 GLOBAL) as parameter
then call the startscen this way
cd E:\OraHome_ODI\oracledi\bin
E:
startscen %1 %2 %3 -
ERROR WHILE RUNNING ODI SCENARIO FROM BAM ALERT
We are using oracle data integrator 11g and have created an ODI Scenario and able to run the scenario from ODI studio client.
We have done the configuration for BAM-ODI integration as mentioned in http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bam_odi.htm#BABEJIGD
We have started ODI Agent, soa and bam servers. Created a BAM alert -> select action - Run ODI Scenario -> selected the same scenario.
Alert ran at scheduled time but failed with following error:
java.io.IOException : truncated data integrator frame received
Error Message (if any)
[2012-08-06T11:24:21.046+05:30] [bam_server1] [WARNING] []
[oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
OracleSystemUser] [ecid:
3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
oracle-bam#11.1.1] EventEngine: Error occured while running a ODI Scenario.
[2012-08-06T11:24:21.250+05:30] [bam_server1] [ERROR] []
[oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
OracleSystemUser] [ecid:
3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
oracle-bam#11.1.1] EventEngine: Action exception: EEInstEv2 EEInstAct1 Rule
Id: 2 exception: java.io.IOException: truncated Data Integrator Frame
received
[2012-08-06T11:24:21.250+05:30] [bam_server1] [WARNING] []
[oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
OracleSystemUser] [ecid:
3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
oracle-bam#11.1.1] EventEngine: Exception stack trace: [[
at
oracle.bam.eventengine.engine.event.action.RunScenario.invokeScenario(RunScena
rio.java:145)
at
oracle.bam.eventengine.engine.event.action.ActionProcessor.runScenario(ActionP
rocessor.java:891)
at
oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(Actio
nProcessor.java:337)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
ava:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.system.Delegate$Sink.invoke(Delegate.java:80)
at oracle.bam.system.Delegate.dynamicInvoke(Delegate.java:186)
at
oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.proc
essWorkRequest(ThreadPoolController.java:155)
at
oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.run(
ThreadPoolController.java:128)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java
:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908
at java.lang.Thread.run(Thread.java:619)
Any help on this is highly appreciated...
Thanks
Rajdip MukherjeeHi,
Forgot to include the ODI classes RunScenario.invokeScenario() is invoking odi scenario using odi sdk api. Please see the below stack trace :-
java.io.IOException: truncated Data Integrator Frame received
at
oracle.odi.sdk.invocation.internal.AgentNetworkCmd.readCmd(AgentNetworkCmd.java:303)
at
oracle.odi.sdk.invocation.OdiInvocation.invokeCommand(OdiInvocation.java:176)
at
oracle.bam.eventengine.engine.event.action.RunScenario.invokeScenario(RunScenario.java:140)
at
oracle.bam.eventengine.engine.event.action.ActionProcessor.runScenario(ActionProcessor.java:891)
at
oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(ActionProcessor.java:337)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Thanks
Rajdip Mukherjee -
Error while executing a JDBC to Idoc scenario : No standard agreement found
Hello SAP PI Gurus,
I am having a JDBC to idoc Scenario .And the interface is running at 10 min of duration.
<SAP:AdditionalText>No standard agreement found for ,
BS_EXT_CTBSREPDB, , BS_ERPQAS_QE1_320, http://XYZ.com/FI/FI_FI_01/Charges, FIDCC2</SAP:AdditionalText>.
While i test the configuration...i get an error in reciever agreement as mentioned above.
Can you pls help me in resolving this issue.
Regards,
RaviHi,
I think the problem is with namespace....for IDOC the namespace will be "urn:sap-com:document:sap:idoc:messages"...but in your case it is different.....i.e http:....etc.....please check whether you 've used the same IDOC withe above mentioned namespace in all the configuration objects like interface determination, receiveragreement etc.....
Thanks
Priyanka
Maybe you are looking for
-
G4 Power Mac compatibility with new monitor
Have a G4 Power Mac with dual 1.25 processors and a Radeon 9000 Pro graphics card. What limits on flat panel monitors does this system have? 22", 24" or resolution?
-
Process order variance calculation not taking the GI+Activity confirmation Cost
Hi, Process oder was settled in the Month of June,2014. Accounting document was generated,but system only considered the GR cost. System was not considered the GI as well as activity cost on variance calculation. Variance posted GR= Variance. 22nd J
-
Hi, Does anyone know if Identity Manager email notifications get automagically resent if they failed intially (because the SMTP server was down)? In my test environment it doesn't. 1. set-up email notifications correctly 2. make sure smtp server is r
-
How to setup IFS: do not switch language automatic?
I installed an IFS 9 English version on english version windows 2000. It's all ok when i visit from localhost. However when i visit the IFS server from another computer installed with simplified Chinese Windows 2000, it's fail. Would anyone can help
-
Is it possible to create a Functional module dynamically?
Hello All, Does any one know whether is it possible to create a FM dynamically and write some code in it? Regards, Lisa.