BPM: XI calling proxy
Hi,
I have situation where BPM is calling proxy inbound for R/3. It was working fine but we had change in servers and all the settings were restored but now the BPM does not function as before. BPM contents have no data in XML messages. The BPM process is working fine but it is not passing data into R/3 (target) system. I already tried SWWL, SXMB_MONI_BPE, SPROXY. Checked the queues, checked the connections, settings. Don't know what else could be wrong. Any suggestions on debugging BPM?
Thanks,
Sangita
Hi,
The problem may be because of difference in the Sender Message Interface, Business Service and Reciever Interface and Business Service. GO to SXMB_MONI and check Runtime entries for the Sender Message Interface, Sender Business Service , Reciever Message Interface/Service. Check is this matches with your configuration ? Probably there is some mismatch between configuration and runtime in the interfaces used.
test the interface mapping with data from SXMB_MONI in the IntegratioN repository separately.
For this refer SAP note-830803
Still problem, then try to check th BPM and change it and activate it. Then reimport this into Directory and re-run the scenario. Before this, delete all errored workflow entries- with transaction SWWL.
Regards,.
Moorthy
Similar Messages
-
Trigger BPM without Abap Proxy
Hi there,
my scenario:
BPM (XI)-> JDBC -> IDOC
is it possible to fire an event on the intergration server for starting the xi bpm ?
abap proxy is not the solution because my webas is only configured as an integration server.
thanks
sebastianHi,
is it possible to trigger the bpm with a async message ?
rfc is a sync call. because some async steps (idoc, aleaud) in the bpm a rfc call
as trigger would block a dialog process at the appl server for a several time.
sebastian -
BPM process calling another BPM process synchronously
Hi,
When have a BPM (SCENARIO_1) that receives a request.
The BPM makes a SYNC call to another BPM (SCENARIO_2_SYNC_SEND). The second BPM should return the sync response to the first BPM. The second BPM has been implemented as a SYNC/ASYNC bridge. .........This scenario is NOT working.
We have independently tested the second BPM and can confirm that it works correctly and as expected when it is NOT called by another BPM.
design steps of BPM
1. BPM (SCENARIO_1)
start -> receive(async) - >send(sync - calls 2nd BPM) -> stop
2. BPM (SCENARIO_2_SYNC_SEND). (this BPM is invoked by first BPM (SCENARIO_1)
start ->receive(sync -open SA bridge) ->send(sync - calls webService) ->send(closes SA bridge)
Is SAP PI supports synchronous call from one BPM to another BPM???
rgds,
RDSHi Henrique,
we also done the BPM calling another BPM asynchronousl;y, which is working fine.
In this case, I designed BPM like follows (as initially mentioned)
1. BPM (SCENARIO_1)
start -> receive(async) - >send(sync - calls 2nd BPM) -> stop
Note : In 'send' step, I selected 'Create New Transaction'.......if I don't select this property then system dumping without invoking the second BPM, When I select this property the second BPM is invoked after the 1st BPM completes i.e it waits for CHECK_FOR_ASYNC_RESPONSE_TIMEOUT (default value 60 secs) to elapse. during this time an entry in the outbound queue (smq2) appears
2. BPM (SCENARIO_2_SYNC_SEND). (this BPM is invoked by first BPM (SCENARIO_1)
start ->receive(sync -open SA bridge) ->send(sync - calls webService) ->send(closes SA bridge)
how do we check whether it using more than one queue??
we have only looked at smq1 & smq2.
We see an entry in SMQ2 which stays there for the timeout period of the first BPM.
It seems as if the second bpm doesnt see it until the first BPM closes.
I might think this is appropriate behaviour to stop the engine processing the same message more than once which would explain the behaviour we are seeing. However this would mean PI would not support BPM synchronously calling BPM which is what we are trying to determine if it is supported.
We cant find any documentation saying this is possible and alot of documentation indicates workarounds.
Have you ever seen this scenario implemented.
<removed by moderator>
Hi supriya,
There is no problem in getting the response from webservice, the problem is the BPM which calls webservice itself invoked after the timeout of first BPM.
Edited by: Shankar Raju Devadoss on Aug 25, 2010 7:21 AM
Edited by: Shankar Raju Devadoss on Aug 25, 2010 7:32 AM
Edited by: Prateek Raj Srivastava on Aug 25, 2010 11:24 AM -
Can we call proxy communication channel of type XI in user defined function
HI ,
can any body tell whether we call proxy communication (type xi) in an user defined function
regards
sandeepHi,
The Proxy is an abap coding only.
Hence it can be called from anywhere in R/3 region.
But we need to ensure that the SPROXY settings and proper linking between XI & R/3 are established.
I think, we can get more clarity on this from the Netweaver forum rather in R/3 ABAP.
Regards,
Ramani N -
Hi,
Following is the process flow to send messages to UWL of a user.
incoming message from XI -> calls proxy -> performs a transaction in SAP -> error -> error messages moved to user's UWL -> user can again call the transaction from SAP.
I have a requirement where I want to call the proxy again from the user's UWL. is it possible? If yes how and if no why?
Please give me your opinions.
Points will be rewarded.
Regards,
MayankCan anyone help me in the same?
-
ALSB-calling proxy from another proxy
hello,
I am calling a proxy service by another proxy service which is listening to JMS queue. The called proxy service is used to invoke a busiiness service.
I am using tcpmon for testing purpose. If i removed the second proxy and then put a message to JMS it's invoking my business service but if i add the second proxy i am not getting any output.
For second proxy i am using local transport. Might be the configuration i am giving is not able to pass the message to second proxy.
I searched a lot but could found anything sustantial !
Could anybody please help.
Thanks & Regards,
ArunaIf you don't have this yet, put an error handler on the first proxy, at the top level. Log $fault in the error-handling stage. See if you get any good information in the logs. You probably also want to add logging in your second proxy, an entry first thing in the request pipeline, and log $fault in an error-handling stage.
You should be able to get some kind of hints from the information that gets logged when you do that.
Meghan -
StreamCorruptedException occured when applet calls proxy
Hello, All,
We've recently migrated from Weblogic4.5.1 to Weblogic6.0 SP1. We have an applet
application written in Java Swing that proxy requests to NES server. After the
migration, the applet basically works fine but we've got the following exceptions
when we click "save" button. Can someone give us some insights what can cause
the "EOFException while reading the stream header"
and what we can do to fix the problem? If further information is needed, please
let me know. Thanks a million.
Ting
[7/23/01 3:40:24 PM EDT] <A> RTQ: Exception caught calling proxy (http://palace:7500/,
[Ljava.lang.Object;@4fc23).
[7/23/01 3:40:24 PM EDT] <A> - Throwable stack trace
java.io.StreamCorruptedException: Caught EOFException while reading the stream
header
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at com.fnx.util.fnxcomm.RemoteInvoker.invoke(RemoteInvoker.java:217)
at com.fnx.applet.RealTimeQuote.RTQ.callProxyMethod(RTQ.java:342)
at com.fnx.applet.RealTimeQuote.RTQ_ConfigModel.saveConfig(RTQ_Config.java:360)
at com.fnx.applet.RealTimeQuote.RTQ_Config$SymAction.saveButton_ActionPerformed(RTQ_Config.java:763)
at com.fnx.applet.RealTimeQuote.RTQ_Config$SymAction.actionPerformed(RTQ_Config.java:739)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
RTQ_Config:save:unsub ...
RTQ_Config:save:setConfig ...You should use the new version of HttpClusterServelt or plugin from 6.0sp1 to connect
to wls60sp1 server.
"Ting Zhang" <[email protected]> wrote:
>
Dear Mr. Lee,
Thanks so much for your kind reply. Could you give us some hints as
to how to
fix this problem? Do we need reconfigure the plug in or change ProxyServlet
when
we migrate from WebLogic4.5.1? Your help is highly appreciated. Thank
you again.
Ting
"Jong Lee" <[email protected]> wrote:
EOFException occurs when the content-length header does not match the
actual bytes
write by wls.
"Ting Zhang" <[email protected]> wrote:
Hello, All,
We've recently migrated from Weblogic4.5.1 to Weblogic6.0 SP1. We
have
an applet
application written in Java Swing that proxy requests to NES server.
After the
migration, the applet basically works fine but we've got the following
exceptions
when we click "save" button. Can someone give us some insights what
can cause
the "EOFException while reading the stream header"
and what we can do to fix the problem? If further information is needed,
please
let me know. Thanks a million.
Ting
[7/23/01 3:40:24 PM EDT] <A> RTQ: Exception caught calling proxy (http://palace:7500/,
[Ljava.lang.Object;@4fc23).
[7/23/01 3:40:24 PM EDT] <A> - Throwable stack trace
java.io.StreamCorruptedException: Caught EOFException while readingthe
stream
header
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at com.fnx.util.fnxcomm.RemoteInvoker.invoke(RemoteInvoker.java:217)
at com.fnx.applet.RealTimeQuote.RTQ.callProxyMethod(RTQ.java:342)
at com.fnx.applet.RealTimeQuote.RTQ_ConfigModel.saveConfig(RTQ_Config.java:360)
at com.fnx.applet.RealTimeQuote.RTQ_Config$SymAction.saveButton_ActionPerformed(RTQ_Config.java:763)
at com.fnx.applet.RealTimeQuote.RTQ_Config$SymAction.actionPerformed(RTQ_Config.java:739)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
RTQ_Config:save:unsub ...
RTQ_Config:save:setConfig ... -
Hi,
I have an IDCO XI File scenario as 1:N (Multiple legacy systems)using BPM.
The File that is been sent to the legacy system is when updated (in the database)needs a response back to XI either by RFC or method.
How can it be done?Is there any How to guides or Weblogs or Example scenario?
Please give me an advice.
Thank you,
Joslyn.You need to go for Synchrnous communications for this. If you use Jdbc/ABAP proxy(Proxy -WAS 6.20 above SAP systems) , you can achieve this.
SO here it is a synchronous call.
But how AS/400 communicates with XI ? Is thru File Adapter ? If so, you can make use one more scenario, i.e AS/400->XI->SAP . This will act as a response. but it is different scenario..
To synchronous communications , you can refer this e.g
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Regards,
Moorthy -
Calling proxy according to jms attribute in Dynamic Configuration
Hello,
I have jms to proxy integration. I defined additional jms parameters in Adapter -Specific Message Attribute in JMS senderadapter. And I can retrieve this field in dynamics configuration in SXMB_MONI. Process should be continued as such:
If "DCJMSMessageProperty0" is 1, proxy should be called for invoice,
If "DCJMSMessageProperty0" is 2, proxy should be called for Claims.
How can i do it?
Please help
Thanks for your help
NurhanThanks for your reply, but i think so that i misstold. I mean that i have one jms queue in ibm websphere mq. In this queue exist multiple messsage format. I defined a addtional jms message attribut in jms sender adapters in PI. I have two jms sender adapters.
According to this additional jms message properties should be called different proxy:
If "DCJMSMessageProperty0" is 1, proxy should be called for invoice,
If "DCJMSMessageProperty0" is 2, proxy should be called for Claims.
Also this configuration should be done in jms sender adapter.
Thanks in Advance
Nurhan -
What to write in ABAP program at R/3 to call proxy classes.
Hi
I am working on R/3 to File scenario and using ABAP Proxy for outbound.
I have generated proxy in XI server and have coded the program in R/3 but can one tell me wht code needs to be written in ABAP program at R/3 end to connect to ABAP proxy. How those objects will be available in R/3 side.
Please help as it's urgent.
thanks
RiaHi Rekha,
Thanks for the link, I did write this code already as follows.
data prxy type ref to zxico_zproxy_interface_po .
create object prxy.
data it type zxipurch_order_info_snd.
try.
it-purchorderinfo_snd-ebeln = '000010'.
it-purchorderinfo_snd-werks = '2320'.
it-purchorderinfo_snd-bedat = '10/11/2005'.
it-purchorderinfo_snd-potype = '0'.
call method prxy->execute_asynchronous
exporting
output = it.
commit work
catch cx_ai_system_fault .
data fault type ref to cx_ai_system_fault .
create object fault.
write :/ fault->errortext.
endtry.
When I do syntex check it give me error message:
The type "ZXICO_ZPROXY_INTERFACE_PO" is unknown. SInce this object was created in XI client so is not available in the R/3 just wondering do i need to create this in R/3 side.
Regards
Ria -
ABAP Proxy: Error calling Proxy
Hi guys,
Here I am with another amazing mistake.....
After searching the forum, reading some suggestions, notes, I'm a little bit lost on how to figure out what is wrong...
I've created a receiver ABAP Proxy. XI should call this proxy and receive the consequent response.....
I've tested the ABAP Proxy, everything is working fine...I've encountered some errors but was able to bypass them... But this one is getting hard...I've found one or two similar threads, or with the same error description but I had no luck in overcoming the error....
So, what is the problem....:
When XI is calling the ABAP Proxy I get:
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">EXCHANGE_PROFILE_ACCESS</SAP:Code>
<SAP:Stack>Error while reading exchange profile for system DEV and client 100</SAP:Stack>
I've searched the exchange profile but everything seems ok...
The user has all (and more) the authorizations needed....
Can you guys give me some hints? Or suggest any attempt....?Kumar,
as I said before, in SPROXY i can test the interface with no errors....
In the Application System the sldcheck returns no errors and the RFC Destinations return no errors on the connection tests...
I really can't understand what this problem might be...
Problem solved
What was it? Well, I'm really not sure...Like most of the threads related to this topic it's quite an awkward problem....I've tested some RFC connections which were created, changed some parameters, restarted the system and voila....
Thanks
Message was edited by:
Gonçalo Mouro Vaz -
BPM Studio call web service deployed by R12 Intergration Repository error
Hi, I encountered a problem when calling a web service deployed by R12 Intergration Repository (SOA Gateway) w/ username/password authentication.
It seems that the BPM Studio can not pass the security information to the web service. But using SoapUI it's quite easy to call the service with no error, just set the username and password, and set the password type to PasswordText.
Under the External Resources catalog, I've set fileds in the Security tab with "Plain" Username Token, "sysadmin" Username and "sysadmin" Password, then changed the Authentication Type to "Username Token Profile". Then create a participant named sysadmin, and use this participant to run the process, but it just can't work.
Anybody can help? My colleague also posted a topic here: processRemoteException when invoke webservice from Oracle E-Business Suite but nobody answered. It would be very appreciated if sb. can fix this.I've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
Fuego.WebServices.UsernameTokenProfileSecurityPolicy
I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
policy.username ="mark";
policy.password = "password";
tws = YourWebService();
response = tws.callWebServiceMethod();
I realize the security profile isn't tied anywhere to the web service, but try it anyway.
There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
Edited by: Mark Peterson on Mar 19, 2010 9:20 AM -
Web Service call to BPM to call another Web Service - all synch
HI all,
I have a webservice call to GetDocument from external system. In BPM I like to call another ws (SearchDocument) to retrieve metadata, which I need to complete the first GetDocument webservice. All synch if possible.
Any idea how to achieve this with (or mayby without) BPM ??Thanks for your reply. Can you elaborate on that a bit more ?
My first WS call is to get a document..but because I need to add some metadata in order to have a succesful call I need to call another WS first to the same system to get the required metadata. Then I need to use this metadata to complete the first - GetDocument- call....
Hope this clarifies the scenario...
Is it maybe possible to do this another way..in sequence..using response data to populate another ws call ??
all help appreciated !
cheers, -
BPM send abstract interface sd025proxy (bapa proxy).
in sproxy only message interface outbound and inbound can create proxy, abstract interface can't create proxy.
so how can I handle this in ID?Proxy communication needs direction....abstract interface does not have any direction.
BPM send abstract interface sd025proxy (bapa proxy).
BPM will send abstract interface...fine....however when you run config wizard for BPM --> SAP communication include the inbound message interface corresponding to your proxy wherever there is a reference for target(receiver) MI....create a new MI in IR accordingly.....this is the only option available.
Regards,
Abhishek. -
Issue with BPM while calling store proc
Hi All,
We are using BPM to execute/call the store procedure for look up. We are sending the correct request; bu we are not get the expected output form BPM during runtime. No issue with store proc ,we doudble checked
Is there any way to debug the BPM part of it. Plz advise Any bok or suggestion will be appreciated.
Thanks & Regards,
MohanIntegration Process monitoring:
https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/ab3f538e-0d01-0010-07b7-802c90b67eec&overridelayout=true
Regards,
Manjusha.
Maybe you are looking for
-
How do I get an iCloud email address for an iCloud account that is already set up?
When I set up my wife's iCloud account, I used her regular email address. Now, when I try to iMessage her from my iPhone (4s), I am successful when I am on a wifi but not via my cellular connection. I can iMessage other users. I believe this is du
-
Itunes app crash on windows 7 emachins windows starter
Problem signature: Problem Event Name: APPCRASH Application Name: iTunes.exe Application Version: 8.2.0.23 Application Timestamp: 4a2186e9 Fault Module Name: StackHash_0a9e Fault Module Version: 0.0.0.0 Fault Module Timestamp: 00000000 Exception Code
-
Is this mean that my Apple TV is broken?
Hi All, I have an 160 GB Apple TV connected to an Ethernet network, and the PC I am trying to transfer my content from is connected to the same network. It is taking a ridiculous amount of time for the content to sync. Music alone, which is 304 songs
-
Selection Screen on Web Report only show filter area varieables.
HI , I am using WAD 3.5 and web template uses the query developed in 3.5, This report has two selection variables one in filter area and one in Rows section. We recently did the Ehp 1 upgrade and after that it automatically showing only variable sele
-
Filling table field on basis of selected value
Hello, The model has a form (Quotation header) and a table (Quotation lines). In the header I have the Default Engine , which is a push button [(layout)|http://img410.imageshack.us/img410/3998/quotation1ff6.jpg]. On click displays a pop-up with list