SAML in webservice to BPM scenario
Hello,
I have read the the "How to configure SAML..." but I am not sure if it works in my scenario.
We have a "SOAP(XML) to BPM to IDOC scenario"
and there is the request to secure the "SOAP to BPM" part with SAML.
The scenario works asynchron, so the SOAP(XML) is sent to the BPM.
And in the BMP there are several actions, messages sent and also an IDOC is sent to the R/3 system then
So in our case the WS provider is the BPM or the PI itself.
Do I just have to change from SOAP SENDER adapter to WS SENDER Adapter????
Or does the BPM also have to provide some SAML functionality or something like this.....
Who has implemented a scenario like this with using SAML security???
best regards
Werner Magerl
Werner,
So in our case the WS provider is the BPM or the PI itself.
BPM has nothing to do with it. All the configuration for SAML is done at the server level.
Do I just have to change from SOAP SENDER adapter to WS SENDER Adapter????
Or does the BPM also have to provide some SAML functionality or something like this.....
Use WS Sender adapter. No setting in BPM is required. Any security / certificate related setting is done at the server level. Worth reading:-
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04408cc-f10e-2c10-b5b7-af11026b2393?quicklink=index&overridelayout=true
Regards,
Neetesh
Similar Messages
-
Webservice response in BPM scenario
I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
Do you guys think it is a cache problem or something else?
Thank you.this is because there is no proper error handling in your BPM.
you need to handle the exceptions in case of mapping or communication failures.
refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm -
Webservice to JDBC BPM scenario
Hi Experts,
I have created the below objects for the Webservice to JDBC BPM scenario.
Data Type
1. DT_SOAPRequest
2. DT_SOAPResponse
3. DT_JDBCRequest
4. DT_JDBCResponse
MessageType
1. MT_SOAPRequest
2. MT_SOAPResponse
3. MT_JDBCRequest
4. MT_JDBCResponse
Message Interface
1. MIIS_JDBC_In - Inbound Synch(With JDBCRequest(Input message) and JDBCResponse(Output message)
2. MIOS_SOAP_Out - - Outbound Synch(With SOAPRequest(Input message) and SOAPResponse(Output message)
3. SOAPRequest_ABS - Abstract Asynch for SOAP Request
4. SOAPResponse_ABS - Abstract Asynch for SOAP Response
5. JDBCRequest_ABS - Abstract Asynch for JDBC Request
6. JDBCResponse_ABS - Abstract Asynch for JDBC Response
Is the object are correct?
Already raised the same below request..but still confused with BPM flow
BPM scenario
Please help me out..
Thanks in Advance
SaraHi Sara:
Container variable : You have to create 3 variables...
1. Name : ReceiveMessage
Category : Abstract
Type : MI_AA_SOAP_Req
2. Name : SendSynch
Category : Abstract
Type : MI_AS_SOAP_ReqResp
3. Name : Send
Category : Abstract
Type : MI_AA_SOAP_Resp
BPM Steps:
1. Create Receive Step :
In properties :
Message = MI_AA_SOAP_Req
Mode = Open S/A Bridge
Synchronous INterface = MI_AS_SOAP_ReqResp
2. Create Send Step
In propereties :
Mode = Synchronous
Synch Interface = MI_AS_SOAP_ReqResp
Req Message = MI_AA_SOAP_Req
Resp Message = MI_AA_SOAP_Resp
3. Again create Send step
In propereties :
Mode = Close S/A Bridge
Message = MI_AA_SOAP_Resp
Opened by = Receive
I almost provide you each step to create BPM:)
Try and let me us now if you find any difficulty.
Thanks
Farooq. -
Error executing webservice in BPM
Hi All,
I would need your solution for the issue that i am facing while executing a webservice. My scenario is as follows.
I have a BPM process which has a message trigger which is bound to the start event of the process. Now this webservice of the message trigger is called by the webdynpro java application to start the process. Here both my webservice and the webdynpro application lies on the same server.
I have created a provider system for the wsdl with the communication profile for WS SAP_DEFAULT_PROFILE(Authentication method: None and Transport: local or http). Assigned the provider system to the service group as well. Now when i execute the webservice through the WSNavigator, the process is started. but when i execute the same through webdynpro, i get an exception as below.
Invalid Response code (401). Server <http://cmpce:52000/bpm/demosapcom/demo/testprocess/TriggerTestProcess> returned message <Unauthorized>. Http proxy info: none
[EXCEPTION]
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Invalid Response code (401). Server <http://cmpce:52000/bpm/demosapcom/demo/testprocess/TriggerTestProcess> returned message <Unauthorized>. Http proxy info: none
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.handleSOAPResponseMessage(SOAPTransportBinding.java:561)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1316)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:952)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:907)
Kindly provide me a solution for the same.
Regards,
Karthikeyan RSAP_DEFAULT_PROFILE(Authentication method: None
you have to change the profile. enable this two: user name/password and logon ticket.
the user you configured for the provider system has nothing to do with the ws call. -
File to Sync Webservice using BPM
Hi all,
My scenarios is File to Webservice and again the output of this web service to some other file...
I an refering a document in which its written as
*In the Integration Directory Create Configuration Scenario, Then create three communication channels, one for sending the xml file to the BPM, one for sending the request to Web Service from BPM and one for sending the response as xml file to the desired location.*
My doubt is do I need a communication chaneel for BPM also?
and if yes then what will be my receiver adapter in case of BPM.
Thanks in advanceHi,
No need for 3 Communication channels.
you define a CC for Sender and another CC fro receiver(webservice)
In BPM we'll define the IM(this is between the two abstract interfaces)
Reward points if this is helpful
Thanks,
Madhu -
Hi,
I am working on a BPM process in SAP XI3.0 which looks as follows:
SAPR/3 Idoc(asynch) --->SAP XI BPM asynch abstract receive --->Transformation(Idoc to Webservice request)
--->BPM Synch abstract send&receive ->External synch webservices->webservice response send--->
Transformation ->SAP R/3 receive send-> stop.
Since we have SAPWAS620 as SAP system,we define the response structure manually to generate proxy(Please note that WAS620 does not support generation of proxies based on external definitions like WSDL)and handle the response from Webservice in SAP.
The question is : I have 2 send steps after the webservice call.I can give receiver as SAP for the send step SAP R/3 receive send.But I am unable to give the
receiver for webservice response send.
Because of this I am getting receiver determination error message in SXMB_MONI.
Is there a possibility to give some dummy receiver in BPM to avoid the reciver determination error message.
Apart from the error message,the BPM is working fine.
If any of the forum members have worked on a similar scenario,I request them to provide valuable inputs.
Thanks,
LeoHi Udo,
I don't need receiver for the synchronous call.But to handle the response from the synchronous call,I have 2 abstract aynch interfaces(2 send steps).One refers to the response part of the WSDL and second refers to the manually defined message type(similar to the response part of WSDL).
I can provide the receiver for the second one but not for the first one.Probably I can provide a dummy receiver for the first one and close the issue.
Thanks,
Leo -
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 -
Hi All,
I am doing scenario in which my sender ORION is webservice (It is synchronous to synchronous scenario)
I have to use bpm for this,
We are receiving webservice in XI and sending it to another PI system where i m doing soap look up (request,response mapping) and i m getting response in BPM and some transformation i have to do and send it back to the ORION.
Can you poeple please suggest me steps how to execute in BPM,I have tried doing it as a asynchronous request from ORION and sending ASYNCHRONOUS response.
Now requirement is changed they want us to do synchronously,
Wht will be the BPM scenario of this?In BPM we cant have sync receive,We can open sync async bridge but that also we cant use in this case
Please suggest me on this
Thanks
Best Regards,
Harleen Kaur ChadhaHi,
Yes you can do it in BPM. You need to do the following steps.
Step 1.Receive step, receive request from ORION with mode as Open S/A bridge
Step 2. Send Step, mode as Synchronous, synchronous send to PI and gets the response back from PI.
Sep 3. Send Step, mode as Close S/A bridge , this will synchronously send the response back to ORION.
In between you can have your transformation steps for any mappings.
thanks
amit
reward point if answer is helpful -
Sync RFC scenario VS BPM scenario -- speed doubt
Hello friends!
My case:
I have to choose between 2 scenarios:
1) SAP(Idoc) <=> XI <=> ThirdPart(WebService)
2) SAP(s\q\tRFC) <=> XI <=> ThirdPart(WebService)
In 1st scenario I need to use BPM. In 2sd I needn't.
So I want to know which way more simple to implement and more speedy.
Thanks in advance!
Alexandrhi
The first case is easier i.e with BPM...in terms of hadling errors..to send any alerts.....
if you want any weblogs i can post for you
regards
kummari -
Dear Friends,
Kindly give me some walkthrough doucment for File to Webservice Using BPM
it is urgent. Kindly help./people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
refer that to design your interface. Note that instead of RFC you will require to use a WSDL for the WS call.
Fotr more about WSDL and its usage in a scenario ref:
/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 -
Two way Asynchronous business process for Webservice to JDBC scenario
Hi Experts,
For the webservice to JDBC scenario, I have to use two way Asynchronous business process. Is it possible?
Scenario : Webservice to JDBC -> Async Call
JDBC to Webservice -> Async Call
I have already done with two way Synchronous. Here I would like to know about only Async call. Please provide your suggestions.
Is it recommended to use Async call when we have Synchronous option?
For the above requirement I have to create two separate services and in BPM, I have to call one by one..Is it correct?
Regards
Sara
Edited by: Sara D on Dec 18, 2007 8:05 AMhi sara,
yes it is possible.
In receiver channel JDBC we have a special parameter "Exactly Once Handling " which is to assure async incoming data to be written only once to avoid redundancy.
Although Synchronous is "Best Effort" but it is considered to be "Worst Case". We can use Sync but try to use Async as much as possible to ensure system performance.
Ques : For the above requirement I have to create two separate services and in BPM, I have to call one by one..Is it correct?
yup you have to create two services and you are following right path but this scenario should be in two steps seperately.
Rergards,
Mandeep Virk -
Hi,
I am trying out an BPM scenario for an N:1 mapping,in which i'll be sending N number of 2 different structure of messages.The source file got picked from the Source.The SXMB_MONI describes that the "Message being sent",but i couldn't get at the target.I doubt that my BPM design could have strucked up in the looping and hence the message couldn't be delivered.Can anyone provide some pointer to get it resolved.The BPM design is as mentioned below :
Block
Deadline
Exception Handler
Loop1 Recv1 Container1 Loop1
Fork Fork Transformation(2:1) Send Stop
Loop2 Recv2 Container2 Loop2
Note : The loop will come out when the deadline time reaches 2 min.Yes.The Correlation desfined as below
File1 of Abstract type Message Interface
FileList1 of of Abstract type Message Interface(Multiline checked)
File2 of Abstract type Message Interface
FileList2 of of Abstract type Message Interface(Multiline checked)
TargetFile of Abstract type Message Interface -
BPM Scenario: Message has error status on outbound side
Hi All,
I am doing one BPM scenario. In my scenario i am collecting 12 different type of idocs in BPM and bundling these idocs and sending these to the 12 different files.
If i send 12 idocs from the R/3 then my scenario is working perfectly fine. If i send less than the 12 idocs that time i am getting the error message as "Message has error status on outbound side" with red flag.
Can you please explain what minght be the problem. I have already checked in SM58,SMQ1 and SMQ2.
Thanks & Regards,
PurushothamHi Nutan,
I hv configured my scenario as follows
1. Start
2. Block ( Deadline and Control step for cancell the process)
3. Fork(Necessary branches 12)
4. Loop(12 loops)
Under loop
a. Receive Step
b. Container Operation( For count)
c. Container Operation(For append)
5. Fork( Necessary branches 12)
6. Transformation
7. Send
8 Stop
This is my scenario. In the first Fork step i am checking end condition as total number of idocs is reached then i am sending all the data to the target system. If the idocs are not reaching with in 1 hour then i am cancelling the process.
Now can you please tell me what is the problem.
Thanks & Regards,
Purushotham -
BPM scenario,message struck in queue.
Hi folks,
I am doing a Simple file to file BPM scenario(NO TRANSFORMATION)...
My scenario executed properly,but in moni i receive a green flag, after i looked it in
LUW -->Display Process, I can see the steps as
Receive1--initialize-send1-UNDEFINEDWork flow completed.
I think there is a problem after send.... can u plz tell me what may be the reason.
Or Am i doing in creating a IP,..... if so can u give me a simple file to file scenario,with detailed stepsYes i have checked everything,
Status code of IP is 0 in sxi_cache-->IP
and interfaces are assigned properly at right places......
Still the message gt struck in queue...
I have a doubt,that why The Unsefined step is coming after send1....
RECEIVE1>INITIALIZE>SEND1>UNDEFINED-STEP>COMPLETED -
Hi All
I have done a simple file_2_file and SOAP_RFC scenario. Both of them are perfectly working fine.
Now I did a simple file_2_file scenario using BPM and this doesn't work. When I go the transaction SXI_CACHE, it shows as "Cache contents are obsolete". Also, in SXMB_MONI, when I see the messages, only sender interface is there and no part of the BPM messages are shown.
I am sure that my BPM configuration is perfect as its a simple example which I implemented from one of blogs.
Do I have make any settings for a BPM scenario to work? Please help.
Thanks,
VijayHi Moorthy,
I already implemented your blog. After activating all the objects, I just tried SXI_CACHE, it says the "Cache contents are obsolete". Also, my previous scenarios doesn't work. Now If I take out the BPM scenario, I mean if I delete the scenario, then the previous scenarios start working fine.
Any solution please?
Thanks,
Vijay
Maybe you are looking for
-
Is there a way to create a field with total pages viewed?
Is there a way to create a field for a contact that stores the total # of pages he has ever viewed? We'd like to use this as a bases for lead scoring.
-
Can't get substring to work properly
I have one field called 'Name', you are supposed to put full name and list it like this, 'Last, First, MI' in this one field separated by a comma, for each name, ex., 'Doe, John A.'. I need to be able to extract the first initial from the last name,
-
Call the webservices in webdynpro ABAP.
Hi, I have WSDL file. please tell me the procedure how to call webservices in webdynpro -ABAP. Thank you neelima
-
I can't save any files.
I can't save files in adobe Photoshop. I've had this program for AAGGGEEES, I think it's Photoshop 6 & I've never had this problem before. I've tried different variations of save & the screen just blinks & nothing happens? Can anyone help please? Che
-
Service method in javax.servlet.http.HttpServlet
Hi All, I have a doubt in the service method of javax.servlet.http.HttpServlet There are two service methods in the javax.servlet.http.HttpServlet. one is with protected and other is with public access specifier. In the javadoc it is said that public