SOAP/BPM Issue

Hello All,
I have a scenario where in, XI receives an IDoc, makes Webservice call and then sends an IDoc (IDoc->WS->IDoc). I am using a BPM to handle this scenario. My problem is the webservice call always fails.
The response from the webservice doesn't match with the structure provided by the webservice provider.
I also implemented another scenario, a simple non-BPM,
RFC<->SOAP. In this case, response from the webservice fine.
It is as specified by the service provider.
What I don't understand is the Communication channel for these 2 scenarios is same. How come the response is different?
Is there something in the request that is triggering this?
Thanks in advcance for your ideas or suggestions.
Sumant.

Hi Sumant,
As per your explanation it looks like the Async to Sycn brodge. You will be sending the IDOC to Webservice and then Webservice response is mapped with another IDOC. Ofcourse you need to handle it through BPM.
But can you tell me what steps you had followed for BPM.
I am sure you might have handled it in your BPM
Just to refer below steps in BPM
1. Receive step to get the IDOC in XI
2. Send step to send the message Synchonously to web Service
3, Receive step for synchornous response from Web Service
4. Send step to send the Response as IDOC to same R/3 system
This will give you the hint.
Also let us know the exact error you will be getting in it. You could monitor it from SXMB_MONI.
Thanks
Swarup

Similar Messages

  • Idoc to Soap BPM issue

    Hello Experts,
    I have implemented idoc to  SOAP scenario using BPM.  In which idoc data is sent  to CRM webservice.
    But my BPM scenario is not able to handle the idocs that are coming in quick succession in SAP PI.
    For one idoc i get successful response and  the other i gets stuck.
    Please reply
    Thanks in advance,
    Vishal

    The BPM goes like this ..
    step1.   BS system  -
    > Integration Process  IP
    step2.   IP               -
    > CRM system
    If 2 idocs comes to XI system ...first idoc goes successfully to CRM system
    and the second idoc is stucka after step 1 .

  • Call sync BPM from Async BPM - issue

    Hi,
    Outline: I'm trying to call a synchronous BPM from an asynchronous BPM in a PI 7.0 SP 14 system.
    When doing so i get the following error: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed.
    Now this is an oldie when searching the forums for this error message. I do however fail to see a solution to the problem.
    Note that the following notes (referred to in similar posts)
    - 710445
    - 718734
    - 830803
    are implemented since theese refer to older versions of PI.
    My scenario is very simple at present since i've startet from scratch again after getting the error. So what i do is:
    1) send async message to async BPM
    2) async BPM receives request
    3) async bpm transform request til sync_request.
    4) async BPM calls synchronous BPM
    5) sync BPM receives request and opens a async/sync bridge
    6) sync BPM maps request to response
    7) sync BPM sends response and closes async/sync bridge
    8) async BPM reveices sync_response
    9) async BPM sends sync_response to some application
    Now step 8 i never succesfully executed. Instead the error earlier described is triggered.
    For simplicity i use 1 and only 1 message type in all message interfaces. I have mapping between my synchronous interfaces outside of BPM.
    The synchronus BPM is executed just fine. The only issue is getting the reponse back to the asynchronous BPM.
    I am familiar with the following similar posts:
    - Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    - Problem in posting the data in the syncronous mode
    but find them to be of no use.
    Hope someone can help.
    Best Regards,
    Daniel

    Daniel Hans Engsig-Karup wrote:First you do not need any bridges if it is asyn/sync kind of a scenario in the second BPM. You need a bridge when the bpm has to wait with a sync call coming in and response in an async call. Essentially your BPMs (I donno why you need 2.. but let us go with 2)
    >
    >
    > 1) send async message to async BPM
    > 2) async BPM receives request
    > 3) async bpm transform request til sync_request.
    > 4) async BPM calls synchronous BPM
    > 5) sync BPM receives request                        
    (Remove this if you are calling a sync system here) and opens a async/sync bridge
    > 6) sync BPM maps request to response
    > 7) sync BPM sends response
    Remove this and closes async/sync bridge
    > 8) async BPM reveices sync_response
    > 9) async BPM sends sync_response to some application
    >
    VJ

  • SAP PI 7.31 / Sender SOAP Channel Issue with XML tag Main/@versionMajor has incorrect value 000; expected value is 003

    Hi PI Experts,
    We are on SAP PI 7.31 SP 10.
    We are in the process of integrating ARIBA P2P solution using SOAP Adapter as sender to connect Ariba with our PI system.
    We have configured all required components in ESR and ID(Most of them are content provided by Ariba).When we try to post a message into PI using SOAP UI we are ending with below error.

    http://<host name> : <port name> /XISOAPAdapter/MessageServlet?channel= <party name> : <service name> : <channel name>
    For the above issue we had configured SOAP Sender channel as above,and the URL we are using to hit PI is as above screenshot.
    We have followed the note on this topic with out any luck.
    1378872
    We are not sure where is problem.As the issue is not reaching to PI not able to see the messages in SXMB_MONI.
    and in the SXMB_ADM PI has been configured as Integration Server.
    I had even tried to change the message protocol as XI3.0 in SOAP sender channel and noluck.
    I have tried to ximessage=true query also in URL and noticed that not working.This is clear that the message we are trying to send from Ariba is not compatible with XI3.0 protocol,Ariba is not having any option to change at their end as it is a cloud application and many customers have been using same with out any issues.
    We have tried maintain the Java System properties in NWA as XPI.Adapter.Version.Major = 3 but no luck.
    Can some one provide us the solution to get rid of this issue?

  • Standalone (J2SE) adapter - axis SOAP adapter - issue duplicate messages

    All,
    Perhaps you can help me. I've setup a scenario where an standalone (J2SE) adapter sends a file to SAP XI channel, configured on the central adapter engine, of type SOAP configured to use Axis servlet.
    The connection is setup and the standalone adapter channel logs thre response from the SOAP channel which reads HTTP error 500, indicating a duplicate message.
    SAP has identified this problem and proposes in the FAQ for Axis (note 1039369) to set on the SOAP channel module CallSapAdapter property ignoreDuplicate to true in the module processor.
    I've implemented this as suggested however found the problem persists. I'm still receiving an HTTP 500 error.
    Your help is much appreciated solving this problem.
    Thanks
    Harald

    As there was a bugfix recently, make sure that you have installed the latest patch.
    If this does not work, open an OSS ticket for this issue.
    Stefan

  • Receiver SOAP adapter issue

    Hi Experts,
    I am getting the below error in the receiver SOAP communication channel. "Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection timed out."
    Please help me.
    Thanks,
    --Naresh

    naresh j wrote:
    Hi,
    >
    > 1. I am able to open the webservice from my browser.
    > 2. I am able to send the data to webservice through SOAP UI. But getting the error while sending the same data from PI.
    >
    > What else i can check.? Please advice.
    >
    > --Naresh
    are you able to ping or telnet the host server where the WS is hosted from the PI server?
    The issue is that the PI server IP addresses might not be opened in the firewall to connect to the web service.

  • BPM Issue with Queue

    HI All,
    I created a BPM in our upgraded PI 7.0 SP10 server. However every message is getting the scheduled in Outbound queue(Green Flag) while trying to go to the BPE. I checked SMQ1 and found that the messages are failing with the following error  "Password logon no longer possible - too many failed attempts" using user XIISUSER. Now is is confusing to me, because this user is NOT LOCKED. Also, I tried various other users to the same error. Is this some type of new issue with 7.0 compared to 6.40? How can I solve this? I even changed the password of XIISUSER and still no avail. Can this error be turned off in the instance profile?
    Thanks for the help!
    Chris

    Hi Richard,
    maybe it's not the user who is locked but his wrong password
    somewhere?
    check places where do you use this user and change the passwords there too
    like RFC dest : INTEGRATION_DIRECTORY_HMI
    and other
    do you understand the idea ?
    Regards,
    michal

  • Sender SOAP Adapter issue with webservices for authorization.

    Hi All
    Issue:
    As we are developing a Web Service to fetch account balance from SAP(upon receiving the account no from client) and have given the wsdl file to J2EE application  to call or make use of the service.  But as a part of that service they expect userid/password to be entered manually from client  pop-up.  At this point of time, we don't want to enter userid/password manually but  we want this to be hardcoded/embedded in Webservice so that  there is no need of manual intervention upon calling this service.
    Actual Requirement:
    From Webservices to R/3-ECC6.0-IS-Banking-RFC (Synchronous Interface)
    Sender: SOAP Adapter synchronous
    Receiver: RFC Adapter synchronous
    Note: Requesting a account number and getting response from RFC is account Balance and Date to webservice
    Regards
    Kiran kumar.s

    Hi praveen,
    Thanks for ur  reply.What you said is exactly right but for time being i have to make the client not get the authorization(password--Username and password(pop-up)) when he invokes the WSDL into webservice for that u told that to write some hardcode in J2EE application,but i don't know that where to write and what to write.so, if possible can u give me the code and procedure.
    This is the URL:
    http://hcl3sap:50000/XISOAPAdapter/MessageServlet?channel=:BS_WEBSERVICE:CC_SOAPSENDER
    Regards,
    kiran kumar.

  • SOAP to SOAP BPM scenario

    Hi Experts,
    Could you please tell me, how to do SOAP to SOAP scenario using BPM?
    SOAP -> XI -> BPM ( Inside BPM two more SOAP Adapter call) -> SOAP.
    1. Pass the request thro' SOAP to BPM
    2. Call first SOAP Adpter.
    3. Response of the first SOAP will be the input for the next SOAP adapter
    4. Call second SOAP adapter.
    5. Return the SOAP response
    Regards
    Sara
    Message was edited by:
            Sara D

    Message Interface
    1. MI_SEND_SOAP_OUT           - (Out,Asyn : MT_BPM_SOAPRequest)
    2. MI_SEND_SOAP_IN          - (In, Asyn : MT_BPM_SOAPResponse)
    3. MI_BPM_Req_ABS_OUT          - (Abs,Asyn : MT_BPM_Receiver_SOAPRequest)
    4. MI_BPM_Req_ABS_IN          - (Abs,Asyn : MT_BPM_Receiver_SOAPResponse)
    5. MI_WS1_Service_ABS          - (Abs, Synch : OutMessage : MT_BPM_WS1_Request InMessage:MT_BPM_WS1_Response)
    6. MI_WS2_Service_ABS          - (Abs, Synch : OutMessage : MT_BPM_WS2_Request InMessage:MT_BPM_WS2_Response)
    Message Mapping
    1. MM_BPM_SOAPRequest_To_BPM_RecSOAPRequest ( Source: MT_BPM_SOAPRequest Target :MT_BPM_Receiver_SOAPRequest)
    2. MM_BPM_RecSOAPRequest_To_BPM_WS1Request  ( Source: MT_BPM_Receiver_SOAPRequest Target :MT_BPM_WS1_Request)
    3. MM_BPM_WS1Response_To_BPM_WS2Request     ( Source: MT_BPM_WS1_Response Target :MT_BPM_WS2_Request)
    4. MM_BPM_WS2Response_To_BPM_RecSOAPResponse( Source: MT_BPM_WS2_Response Target :MT_BPM_Receiver_SOAPResponse)
    5. MM_BPM_RecSOAPResponse_To_BPM_SOAPResponse( Source: MT_BPM_Receiver_SOAPRespons Target :MT_BPM_SOAPResponse)
    Could you please tell me, whether the above objects are correct for this scenario?
    Regards
    Sara
    Regards
    Sara
    Message was edited by:
            Sara D
    Message was edited by:
            Sara D

  • Web service SOAP response issue

    Hi,*
    We are upgrading system from ECC 5.0 to ECC 6.0. All of our webservices were created in new system with SOAManager configuration.
    When the consumer systsem is trying to consume one of the webservice the XML response is different when compared with the one tested from ECC 5.0.
    ECC 6.0 is returning different XML for the same web service. The consuming system "Cold Fusion' is expecting the SOAP XML in different place.
    When we tested the same webservice in WS navigator it did gave the response. Also the issue is with this webservice only.
    We have re created the webservice again and tested from cold fusion and the same response.
    The issue is with only this webservice.
    Regards,
    Prashanth.

    Christoph,
    Firstly LiveCycle Designer 8.2 is still not supported to develop forms as per my knowledge. The latest version compatible for SAP Interactive Forms is ALD 8.0.
    There is a difference between Acrobat based forms and LiveCycle forms and based on your coding it looks to me  that you are trying to create a LiveCycle based form with coding of Acrobat which is not supported in LiveCycle Desginer, which is why you may be getting the error.
    I hope that does not confuse you, so may check this [link|http://www.acrobatusers.com/articles/2006/08/designer_or_forms/index.php] for some clear information on what point I was trying to make.
    Chintan

  • Bpm issue

    Hi ,
    i have bpm scenario.
    MI_Source -> MI_Receive_BPM -> MI_Send(Sync)-> MI_TRANS1_BPM -> MI_TRANS2_BPM -> MI_TARGET
    1)Recieve step is triggering the process
    2)Send Step[ is sending the data to CRM and getting response back.
    After that Transformation step will merge the source and CRM response messages.
    Here i am able to see the response message from MONI ,After that i can not see any message.
    But in SMQ2 messgae is failing saying that BPE permanant error.
    I have checked the Execute trace from SMQ2 Error stating below.
    Root Cause:
    com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns0:Messages/ns0:Message1/ns2:OutputOfCFF_Temp_MT/Header_Record. Queue does not have enougth values in context. Target xsd requires a value for this element but target field mapping does not produce one. XML instance is not invalid for source xsd, or the target field mapping does not fulfill the requirement of the target xsd.
    But this scenario was working last one week.Since we are facing this problem.But mapping i have tested it is working.
    Could any body suggest on this

    Hello Narendra,
    This seems like an issue with the mapping inside the transformation step in the ccBPM. Please check the input messages to this BPM. One is Source message and other is the response message from the CRM system. Can be a possibility that the response might not contain required fields for your target mapping. Suggest you go to the PE adapter, check the BPM for this transformation step and get the two messages. Viz. the source one and the response and put the same in the test tab and check the Operation mapping to see if this actually works. You might eventually find this to be a data issue.
    Regards,
    Sriram

  • BPM Issue: Active messages even though process has completed

    Hi,
    I have defined a BPM that receives an invoice xml message. If the invoice total is <= $500.00, the invoice is automatically submitted for posting in SAP (RFC Adapter).
    If the invoice amount > 500 and approval request is send off and the process waits for the approval xml message to arrive (a receive step in the BPM)
    Based on the approval status, the invoice is either posted or the process is cancelled (Using a correlation ID to ensure that correct invoice is approved or rejected)
    To cancel the process, I have included a 'Control Step' with action = 'Cancel Process'.
    My issue is that even thought my bpm completes successfully (verifiedby message status in sxmb_moni) there are still active work items in transaction swwl.
    Can anyone offer assistance as to why I still have active work items even though the BPM has completed successfully.
    Thanx in advance for any assistance.
    Regards
    Yackeen

    Sending SIGKILL (kill -9 pid) to a process never gives it a chance to "clean up" before it terminates. Sending SIGTERM (kill pid) is better in most circumstances, unless the process is completely unresponsive. A properly coded program will quit gracefully upon receiving it.

  • Oracle BPM Issue - By lock held by indoubt transaction

    Hi ,
    I am getting the below issue while processing the work items(Applications) in the Oracle BPM. I am using Oracle BPM 10g R3 (10.3.1.0.0  Build# 100812) in Linux Environment.
    An unexpected error occured while trying to execute an automatic task,pending automatic tasks will continue to be executed. Details:\n"An error occured while accessing the database. Detail: SQL statement: 'SELECT DUETIME, ID, PROCESSID,INSTDID, THREADID, ANCESTORTHREADID, TSTAMP, TYPE, ACTIVITYNAME,ORIGINPROCESSDN, REAL THREADID, NETYPE, PRIORITY, LATER, DATA FROM PTODOITEMS WHERE DUETIME=2011-12-22 11:23:53.0 AND PROCESSID=31 AND ID=94370151 FOR UPDATE' Caused by :[BEA][Oracle JDBC Driver][Oracle]ORA-01591: lock held by in doubt distributed transaction 9.30.1176766 fuego.transaction.DatabaseException; An error occured while accessing the database. Detail:SQL statment: 'SELECT DUETIME, ID, PROCESSID,INSTDID, THREADID, ANCESTORTHREADID, TSTAMP, TYPE, ACTIVITYNAME,ORIGINPROCESSDN, REAL THREADID, NETYPE, PRIORITY, LATER, DATA FROM PTODOITEMS WHERE DUETIME=2011-12-22 11:23:53.0 AND PROCESSID=31 AND ID=94370151 FOR UPDATE' at
    If I force COMMIT the Transaction 9.30.1176766 in the dba_2pc_pending, pending_trans$, pending_sessions$ tables, I am able to move forward.
    Please help me to resolve this issue.
    Thanks In Advance.
    Bhaskara

    Hi ,
    I am getting the below issue while processing the work items(Applications) in the Oracle BPM. I am using Oracle BPM 10g R3 (10.3.1.0.0  Build# 100812) in Linux Environment.
    An unexpected error occured while trying to execute an automatic task,pending automatic tasks will continue to be executed. Details:\n"An error occured while accessing the database. Detail: SQL statement: 'SELECT DUETIME, ID, PROCESSID,INSTDID, THREADID, ANCESTORTHREADID, TSTAMP, TYPE, ACTIVITYNAME,ORIGINPROCESSDN, REAL THREADID, NETYPE, PRIORITY, LATER, DATA FROM PTODOITEMS WHERE DUETIME=2011-12-22 11:23:53.0 AND PROCESSID=31 AND ID=94370151 FOR UPDATE' Caused by :[BEA][Oracle JDBC Driver][Oracle]ORA-01591: lock held by in doubt distributed transaction 9.30.1176766 fuego.transaction.DatabaseException; An error occured while accessing the database. Detail:SQL statment: 'SELECT DUETIME, ID, PROCESSID,INSTDID, THREADID, ANCESTORTHREADID, TSTAMP, TYPE, ACTIVITYNAME,ORIGINPROCESSDN, REAL THREADID, NETYPE, PRIORITY, LATER, DATA FROM PTODOITEMS WHERE DUETIME=2011-12-22 11:23:53.0 AND PROCESSID=31 AND ID=94370151 FOR UPDATE' at
    If I force COMMIT the Transaction 9.30.1176766 in the dba_2pc_pending, pending_trans$, pending_sessions$ tables, I am able to move forward.
    Please help me to resolve this issue.
    Thanks In Advance.
    Bhaskara

  • SOAP parse issue

    I get the following output in the log (GlassFish V3), when calling the web service (from Crystal Reports):
    SEVERE: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 31))
    at [row,col {unknown-source}]: [1,1]
    com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 31))
    at [row,col {unknown-source}]: [1,1]
            at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:292)
            at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
            at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)
            at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:432)
            at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
            at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
            at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
            at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
            at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)Has anyone seen this, and how can I resolve it? The SOAP message is well-formed when printed so I assume there's a hidden character, e.g. byte-order-mark causing the issue but why does the parser not handle this?

    my guess is that you have a character entity (e.g. & #31;) in your xml document for a character which is invalid in xml (most of the control characters below 32 are invalid in xml). the annoyance is that the java xml serializer will happily encode said character despite the fact that it is illegal in an xml (1.0) document. you will only see the error when you parse the document (as you are seeing).
    Edited by: jtahlborn on Sep 17, 2009 2:45 PM

  • SOAP Connection Issue

    Hi. I've got some code which sends a SOAP message to a server. However i keep getting the following error -
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    It happens when i use the SOAPConnection call method. - call(message, endpoint)
    What am i doing wrong?
    Thanks

    Hi Volker,
    We were using this option because we were facing issues in SOAP reciver system while reciving messages in QA and Dev .
    But just to give a try I removed the tick from "Do Not use SOAP Envelope".
    Now I am getting below message in Communication Channel.
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 415 Unsupported Media Type: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 415 Unsupported Media Type
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 415 Unsupported Media Type "
    Any clues ?

Maybe you are looking for