on 02-07-2013 4:09 PM
Hi All,
we're encountering a communication problem into a BPM scenario.
We're trying to trigger a communication between our BPM and an iFlow developed on Netweaver Developer Studio.
The PI flow is File to SOAP (XI 3.0). We would like to start the BPM flow as soon as a file is delivered from PI.
As you can see in the following screen, the scenario is very simple:
we have associated the inbound Service Interface (related to the target Business Component of the flow) to the trigger of the Start Event, a human interaction with a web dynpro in which we want to show/approve/reject our data, and finally an End Event with no interface associated.
the iFlow is the following:
The Service interfaces (Outbound and Inbound) has the same Message Type associated and are configured as XI 3.0 stateless.
The mapping contains simple move of values.
The communication channel sender polls on a local folder on PI in order to catch a file with the structure defined into the data type and should send the data through the SOAP communication channel to the receiver structure (mapped into the Data Object created in the BPM).
But, once we start the Communication channel sender, we encounter the following error:
Delivery of the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. FaultException: com.sap.aii.proxy.xiruntime.core.ESPXISystemFaultException: Error encountered during processing of XI request message in inbound ESP; Hint: com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException:
Unexpected uriID '/{http://abc.com/BPM_process_demo}Anagrafica_async_in_SI'. Found: BindingData 'null', interfaceMapping 'null' interfaceDefinition 'null'
We tried to search for some help on the portal but the only suggestion we found has been already implemented.
Any other suggestions?
Thank you very much.
Regards.
Andrea
Hi Andrea, Firstly please let us know exactly which release and support pack you are using. It can make a difference.
Secondly,
a) Have you deployed your BPM process to the server?
b) Have you checked in the NetWeaver Administration > SOA > Single service admin that the start url of your BPM process is there and assigned to an appropriate security profile?
c) Have you tried testing your BPM Process directly in NWA > Configuration > Processes and Tasks > Process Repository and using the Start Process option to start it directly?
d) Have you tried starting your BPM Process from the WS Navigator
e) Have you checked the user id used for the triggering of the process has the appropriate authorization to trigger BPM Processes? See here for more details...
The above should reveal if there are any basic problems with your BPM process that need to be resolved before you try triggering it from PI.
Let us know how you go.
Regards,
Jocelyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh and you might want to take a look at this page in the PI troublehsooting wiki as it may be covered here:
http://wiki.sdn.sap.com/wiki/display/TechTSG/PI+Messages+are+not+delivered+to+SAP+NetWeaver+BPM
Hi Jocelyn,
thanks for your reply
The release is 7.31 and the sp is 5.
There are my answers:
a) Yes
b) Yes, I can see the URL. When you talk about security profile, you mean this?
c) Yes, It works, but starting the BPM from there doesn't involve the PI flow because is configured to be ran firstly. Btw the Approval human interaction works well and i can reach the web dynpro assigned filled with the data manually inserted in the Start process.
d) yes we tried but in WSRM Service Details tab the status of the message is not delivered, don't know why.
e) yes, it has SAP_BPM_TRIGGER_EVENT and all the others Netweaver BPM Administrator roles. Infact we have already deployed others BPM (with automated actions that calls iFlows inside), but not a PI flow that triggers the Start Event of the BPM like this one.
Thanks
I know very well that link, because i read it tons of times
Btw I'm sure the data type is correct, because is the same structure from both sides, the target url is correct because it's equal to the one described in the guide and I don't encounter any kind of HTTP error, the roles are correctly assigned and the right interface is assigned to the Start Event (possible cause 4) even if the error signaled is the same encountered.
Thank you
Hi Andrea,
Yes that's the security profile and it looks ok from what I can see.
Ok so your BPM process itself is working when called directly but not when called from the outside, e.g. via WSNavigator.
I think that needs to be the starting point for your investigation. For starters, do you really need to have WS-RM on? It might be easier to try it with that off, at least that might reveal if it's a WS-RM problem itself, as remember that adapter wasn't provided with PI(AEX).
Also try it again from WSNavigator and then immediately check the default log and the system log to see if you have any messages coming up there around the same time. If there is a problem in launching the process you are likely to see it there.
Good luck!
Jocelyn
Hi Jocelyn,
i discovered why into the WS navigator didn't work. I didn't set the HTTP authentication.
Now the status on the WSRM Service Details is Delivered and I can see the Approval task into the NW Portal (confirms that BPM itself works).
Unfortunately the error PI side still persists so i can't trigger BPM start yet.
Regards
Andrea
Hi Andrea,
Check your configuration in ID, service interface and Operation mapping. Did you change the service interface , maybe in ICO the service interface is old.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrea,
I am having exact same issue as yours for the AEX to BPM communication "null" error can you let me know how you were able to resolve this problem.
Thanks
Jake
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check the following:
For inbound interface (from PI to BPM):
For outbound interface (from BPM to PI):
Hi,
I did make these changes and I get a new kind of deployment error please advise.
Status ERROR
Plugin : com.sap.ide.tools.services
code=0
Deployment problems
children=[
Status WARNING
Plugin : com.sap.ide.tools.services
code=0
DC concurbpm/bl/ddic does not contain any archives for deployment
Status WARNING
Plugin : com.sap.ide.tools.services
code=0
DC concurbpm/bl/caf/dictionary does not contain any archives for deployment
Status WARNING
Plugin : com.sap.ide.tools.services
code=0
DC concurbpm/bl/caf/metadata does not contain any archives for deployment
Status ERROR
Plugin : com.sap.ide.tools.services
code=0
Deploy Exception.
com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
Reason: ASJ.dpl_dc.001085 Operation [deploy] of [xyz.com_concurbpm~pr~pm] failed
Hello Andrea,
I'm new to PI 7.3/BPM.
I have to implement the similar scenario.
PI takes the file from a directory and sends the content to BPM
I don't know how PI and BPM communicate.
Compared to the second image, shown above, then BPM side, I lack the development of the first pool.
In ESR I created all the mapping (source and target), the two service interfaces (inbound and outbound).
In Integration builder I created the FILE communication channel, but i don't know how to create the communication channel with BPM, therefore I didn't finish the Integrated Configuration creating.
Could you give some advice or suggest me some link on which to understand what needs to be done and how?
Thanks in advance for your time.
MariaI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ciao Maria,
to make the communication possibile between the PI and the BPM you have to implement an Integration Flow directly in the Netweaver Developer Studio. With NWDS you can create every design object (DT,SI, mapping ecc) and then use them in the Integration Flow.
Remember that PI can communicate with the BPM through a SOAP communication channel with a specified configuration (XI 3.0 compatible). I followed the guide William has just linked above, it is very useful.
Furtermore you can have a look to this resource:
http://scn.sap.com/docs/DOC-7712
It contains lots of guides and example for the implementation of iflows and BPM.
Just a question...are you working on a 7.3 ehp1 right? I don't think that integration flows are present in a 7.3 standard ABAP+Java.
Please William and Jocelyn correct me if I'm wrong.
Hope this helps.
Andrea
Hi Andrea,
I'have
SAP Process Orchestration
NW 7.3 EHP1 SPS 07
Is there IFlow?
Please tell me the step to open IFlow, because I can't find it.
The link, above mentioned (http://scn.sap.com/docs/DOC-7712), refers to release 7.2, is the same as 7.3?
Thanks
Maria
Hi,
iFlow is started with NWDS, which can be downloaded from:
https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/nw/731/
(authorization is required to access the content)
Regards,
William
Infact.
The perspective used to create the iFlows is called "SAP Process Integration Designer" and can be reached in the NWDS from Windows->Open Perspective.
Once you create your iFlow from the NWDS, you'll find it directly in the Integration Builder of the PI connected to your NWDS.
Hope this helps.
Andrea
Hi,
I'have
SAP NetWeaver Developer Studio
SAP NetWeaver 7.3 SP09 PAT0002
but I dont' find the SAP Process Integration Designer, as mentioned by Andrea, therefore I tried to install new software
SAP NetWeaver Developer Studio Process Integration | 8.30.90006.130821112657 |
under branch
SAP NetWeaver Developer Studio 7.3 SP09 PAT0006 |
but I receive this error: cannot complete the request. Generating detail.
Why do I receive the error?
Should I install new software?
regards
Maria
Hi guys,
good news!
BPM started working!
i just tried to create another BPM on my NWDS with its project name shorter (9 or less characters are recommended). I'm not sure if this stupid change solved my problem but...it worked! Do you think this change could be the cause of my issue?
I'm a little bit confused but finally happy
Thank to all of you for the support
See ya.
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrea, Great to hear you have it working! No the 9 or less is not a real restriction - just a recommendation. But if your original name was veeeeeeery loooooong sometimes we've seen problems with sub-sub-sub folder names not being handled well by the underlying operating system.
Rgds,
Jocelyn
What does the landscape look like: AEX and BPM on different SIDs, or is this a Process Orchestration installation? If PO installation, then XI protocol must be used when sending a msg from AEX to BPM for both the service interface and the SOAP receiver comm chan. If AEX and BPM are on different SIDs, then a "regualar" (non-XI) SOAP receiver comm chan is to be used; this will require some changes to the BPM configuration and the msg is no longer reliable since WS-RM is not used. (WS-RM is only available for PI dual-stack.)
Which release and SP level is used for AEX or PO? I've had some problems using PI 7.31 SP2; however, SP4 had no problem.
Regards,
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi William,
we have a PO installation.The iflow developed has got a File communication channel sender that takes a file from a local folder on the server and creates a message that has to be sent to the BPM. For this reason we have configured a SOAP communication channel receiver with a HTTP transport protocol and a XI 3.0 message protocol with the following target URL :
http://10.107.88.22:50000/MessagingSystem/receive/JPR/XI
We have created the BPM on our local machine and we have deployed it on the Process Orchestration server.
The release is 7.31 and the sp is 5. Do you think that the sp 5 could create problems?
Regards.
Andrea
I am just shooting in the dark.
Can you try to replace the host of the URL to „localhost“ instead of “10.107.88.22”? Can you also also check the proxy settings in the NWA?
How did you imported the interface into the Process Composer: did you import it directly from the ESR or from the Web URL? There can be error when importing the interface into BPM via the Web URL . You must import the IF from the ESR.
Regards,
William
I am facing the same problem: Found BindingData null, interfaceMapping null interfaceDetermination null.
we have dual-stack pi and bpm, they are on different systems with different sids.
My scenario is starting a bpm, they call a pi webservice then notification the relevant user.
when I trigger the bpm using soapui, we get the error above.
I checked the startmsg(inbound) interface with xi3.0-compatible,
and checked the receiver channel with soap xi3.0 with JPR.
you mentioned that there are some configurations in bpm if pi and bpm are different sids.
I want to know what configurations should i do in bpm.
thank you.
Hi Andrea,
You may also want to review this article by William Li to verify configurations and designs:
NetWeaver BPM for System-to-System Message Orchestration (Including Migration of ccBPM to NW BPM)
Thanks and Regards,
Mariana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello andrea,
Not sure what exactly could be your issue (specially after all the checks that you have already done) , BUT in you post i can see an error which says " Unexpected uriID '/{http://abc.com/BPM_process_demo}Anagrafica_async_in_SI'. Found:". I think it would be worth while to check the URL defined in the Reciever Communication Channel (in PI - Integeration Directory). can you try to verify if the url in the CC of the reciever is correct! open the url link on its own in a browser and see if it opens up the WSDL defination. hope that can give you a start to find the actual error .
Hi Tarik,
the URL is the following:
http://10.107.88.22:50000/MessagingSystem/receive/JPR/XI
I think is correct because from browser i can check it:
Furthermore the following URL is described into the triggering event of the BPM:
http://10.107.88.22:50000/bpm/demosapcom/bpmprocessdemo/BPMstarttrigger?wsdl
and the following is the result from the browser:
Regards
Andrea
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.