cancel
Showing results for 
Search instead for 
Did you mean: 

Triger to activate SAP XI

Former Member
0 Kudos

Hello,

I'm looking for the best way to do this scenario:

I have a button in SAP portal and I looking for the way to activate the XI from this button. When the user click on the button

XI takes data from our Oracle database and creates xml FILE

Elad

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Refer the below weblog:

/people/william.li/blog/2007/05/04/control-communication-channels-externally-without-using-rwb

Through the URL u can control the communication channel.

When u click button based on the action in URL ur channel will be active and start taking data from DB.

chirag

Former Member
0 Kudos

hi,

Please check these links for EP with XI

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]

/people/sameer.shadab/blog/2005/09/27/converting-non-xml-documents-to-xml

/people/harsh.chawla/blog/2006/06/27/so-you-want-to-be-a-web-dynprofor-java-programmer

/people/klaus.meffert/blog/2004/06/29/netweaver-congress-in-germany-panem-et-circenses

/people/kathirvel.balakrishnan2/blog/2005/07/31/creating-an-extractor-for-downloading-maxdb-table-data-to-xml

/people/sap.user72/blog/2005/12/08/145web-dynpro-for-abap146-is-here--to-stay

Thanks,

Vijaya

Former Member
0 Kudos

Hello chirag,

I tried this blog and i received this message:

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE ChannelAdminResult (View Source for full doctype...)>

- <ChannelAdminResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://XI-DEV:50000/AdapterFramework/channelAdmin/ChannelAdmin.xsd">

- <Channels>

- <Channel>

<Party />

<Service>Open_Friday_Service_Sender</Service>

<ChannelName>Open_Friday_Sender</ChannelName>

<ChannelID>0a60324ed17b348fb8a6169e9126f34e</ChannelID>

<ActivationState>STARTED</ActivationState>

<ChannelState>ERROR</ChannelState>

<AdminErrorInformation>com.sap.aii.af.service.administration.impl.WrongAutomationModeException: The channel "/Open_Friday_Service_Sender/Open_Friday_Sender (GUID 0a60324ed17b348fb8a6169e9126f34e)" is configured to use an automation mode not compatible with the type of the current principal (WSUSER). The channel was not started. Change the channels automation mode and repeat the administrative action. at com.sap.aii.af.service.administration.impl.AdminManagerImpl.setChannelActivationState(AdminManagerImpl.java:723) at com.sap.aii.af.service.administration.impl.AdminManagerImpl.setChannelActivationState(AdminManagerImpl.java:621) at com.sap.aii.af.app.administration.scheduling.SchedulingServlet.doGet(SchedulingServlet.java:169) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</AdminErrorInformation>

</Channel>

</Channels>

</ChannelAdminResult>

And the chanel not activated.

Elad

Former Member
0 Kudos

Have you selected the "External Control On" button for the communication channel?

Former Member
0 Kudos

Where I can find this button?

former_member181962
Active Contributor
Former Member
0 Kudos

Hello,

Now is work and I having 2 simple questions:

1.How can I start and stop the communication channel in one link?

2. How can I enter the user name and password in the link?

Thank you

Elad

Answers (0)