Workbench freezes on call to BAPI_PRODORDCONF_GETLIST Request/Response XML

I have created a simple transaction in MII 12.0.6 with three JRA actions: Start Session, Function Call, and End Session.  From the configuration dialog of the Function Call action, I confirmed the existance of BAPI_PRODORDCONF_GETLIST via a BAPI search. I attempted to select this BAPI only to have the Workbench freeze up.  This BAPI works flawlessly in SE37. I checked the logs and saw that the following error message was thrown:
com.sap.mw.jco.jra.JRA$ResourceException: Couldn't execute interaction. Transaction rolledback due to connection interruption...
I am using the same JRA connection to call BAPIs in other transactions without any issues.
Has someone ran into a similar issue before that could assist me in resolving this?
FYI...my objective is to obtain a list of confirmations, including the confirmation number and confirmation counters, from the output of this BAPI which will be inputted into BAPI_PROCORDCONF_GETDETAIL to maintain a count of the yield and scrap already confirmed for that particular operation/phase.
Thanks,
Michael Teti
Senior Solutions Consultant
SeeIT Solutions, LLC

Michael,
It was my understanding (via customer confirmation) that the returned Yield and Scrap located in the Phase tables of the BAPI_PROCORD_GET_DETAIL Bapi are the Planned Operation Yield and Scrap for that operation and not the Yield and Scrap already confirmed.  The Help documentation in the BAPI Explorer does not verify this one way or another.
Also, after numerous attempts of trying to pull down the BAPI_PROCORDCONF_GETLIST Request/Response XML, the configuration dialog actually closed.  It tooke quite a long time to complete.  My guess is that it timed out because when I look at the BAPI structure, there was none.
I did see the other thread prior to my submission but since that thread was referring to a JCO connection and a timeout wasn't actually confirmed on my end, I decided to creat a new one.
Thanks,
Michael Teti

Similar Messages

  • Outputting request/response XML

    I usually tend to use a network analyzer to examine outgoing/incoming packets for actual XML. However, I'm invoking web services using HTTPS and due to the encryption I cannot see the packets' payload. I tried using the following VM setting: -Dweblogic.webservice.verbose=true but it didn't help. My question is whether anybody knows how to output the web service XML (outgoing/incoming) using either a system property or within the code?

    Refer this link for Custom Handlers: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv_adv/handlers.html
    There may be some other simpler approach.
    BUT, you can use Handlers approach to intercept the outgoing and incoming request and in that method, you can do System.out.println or write the webservice xml into a File. Below is the code snippet in custom handler, where I am writing my Ougoing WebServices XML into a file named: webServiceRequest.xml
    Create a custom Handler class and implement the logic in the method: handleMessage(SOAPMessageContext messageContext). I used standard sun jdk imports and nothing specific to weblogic. Then add this Handler to my Service binding provider.
    *** To add custom handler to your service object ***
    // Set the Custom Handler to to your aPort object with this code snippet. Remeber that IoDHandler1.java is a custom java file.
    BindingProvider bindingProvider = (BindingProvider) aIoDPort;
    Binding aBinding = bindingProvider.getBinding();
    List<Handler> allHandlers = aBinding.getHandlerChain();
    allHandlers.add(new IoDHandler1());
    aBinding.setHandlerChain(allHandlers);
    **** Code snippet in Custom Handler1 class *****
    import javax.xml.namespace.QName;
    import javax.xml.ws.handler.soap.SOAPHandler;
    import javax.xml.ws.handler.MessageContext;
    import javax.xml.ws.handler.soap.SOAPMessageContext;
    import javax.xml.soap.*;
    public boolean handleMessage(SOAPMessageContext messageContext) {
    Boolean outboundProperty = (Boolean) messageContext.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
    if (outboundProperty.booleanValue()) {
         System.out.println("IoDHandler1::handleMessage() -> Outbound Message");
         try {
              SOAPMessage soapMessage = messageContext.getMessage();
              File aFile = new File("webServiceRequest.xml");
              FileOutputStream aFOS = new FileOutputStream(aFile);
              soapMessage.writeTo(aFOS);
         } catch (Exception e) {
              System.out.println("IoDHandler1::handleMessage() -> Inside CATCH Error Block -> IGNORE FOR NOW AND CONTINUE...");
              e.printStackTrace();
    } else {
    // You can write similar code snippet to out Response xml also in this section...
         System.out.println("IoDHandler1::handleMessage() -> Inbound Message");
    //System.out.println("IoDHandler1::handleMessage() -> Response: " + messageContext.getMessage().toString());
    return true;
    HTH
    Ravi Jegga

  • Given WSDL, need to generate example request / response XML to give testers

    Without actually making the service calls I need to generate example XML request and response messages for each service in a given a WSDL.
    So far the only other tool that can do this is the Oxygen xml editor wsdl inspector. Not even XMLspy does this.
    Just wondering if my experimenting with Jdev 11.(latest) has missed a way to get this accomplished?
    tnx curt

    how about SoaPUI tool?

  • Workbench Freezes

    If I launch the migration workbench withou the SQLServer2K.jar file in the omwb/plugins directory - I get the missing plugins error message. If I put the file back into the directory - I enter the information (which is valid) and the workbench hangs at the "repository loin" screen.
    Suggestions?

    Michael,
    It was my understanding (via customer confirmation) that the returned Yield and Scrap located in the Phase tables of the BAPI_PROCORD_GET_DETAIL Bapi are the Planned Operation Yield and Scrap for that operation and not the Yield and Scrap already confirmed.  The Help documentation in the BAPI Explorer does not verify this one way or another.
    Also, after numerous attempts of trying to pull down the BAPI_PROCORDCONF_GETLIST Request/Response XML, the configuration dialog actually closed.  It tooke quite a long time to complete.  My guess is that it timed out because when I look at the BAPI structure, there was none.
    I did see the other thread prior to my submission but since that thread was referring to a JCO connection and a timeout wasn't actually confirmed on my end, I decided to creat a new one.
    Thanks,
    Michael Teti

  • Create WSDL from SOAP request, response and endpoint URL

    We have a program that does not create WSDL for us but we do have a SOAP request, response XML file and the endpoint URL as well.
    How can I create WSDL file from these?
    If that is not possible, how can I create a Java web service client (JEE 5.0) when I have only the SOAP request and response XML and the endpoint URL? Some tutorial or any explanation to point me to the right direction would be highly appreciated.
    Thank you very much,
    Genti

    The endpoint is:
    http://servername/appname/service/rpcrouter
    and we have SOAP request and repsonse that we can build from the application but also the documentation that is provided
    The documentation says about the web service:
    Built on top of a pre-Axis version of Apache SOAP
    No WSDL support
    Uses literal encoding for Web Service calls
    Adding WSDL at the end of the endpoint does nothing at this point.
    Thank you for the reply though,

  • Sender adapter request response bean not working for calling a webservice

    Hi All,
    In PI 7.31, My scenario :  SOAP sender Asynch-> PI -> HTTP Receiver Sync ->take response to call another webservice  (SOAP)
    I have configured request response bean and response one way bean in the sender adapter to make this work.
    Attached the screenshot of the module config in  the sender soap adapter. The final response from HTTP has to be used to call another webservice (not sender webservice)
    This giving an error "couldn't retrieve binding values for sender to receiver etc etc ----------"
    Has anyone configured response one way bean to call a webservice to submit? If so, please share the configuration details. And let me know if I am doing anything wrong
    thx
    mike

    Hi Michael,
    I think the adapter type is for the receiver channel looking at the documentation SAP Library - SAP Exchange Infrastructure
    Have you checked your receiver channel doesn't belong to a party?
    I havent tried this bridge with the http_aae but looks to be problematic according with Michal comment here http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/01/28/generic-pi-async-sync-bridge-configuration-for-any-adapters#comment-454463
    Regards.

  • Using Request Response Bean Module in FILE Adapter

    Hi Experts,
    Can we use Request Response Bean Module in FILE Adapter in reverse way. That is can we configure thses adapter modules in Reciever file channel and call a sender file channel in it?
    My case is RFC to File synchronous case? How do we do this?
    Thanks & Regards,
    priyanka

    Can we use Request Response Bean Module in FILE Adapter in reverse way. That is can we configure thses adapter
    modules in Reciever file channel and call a sender file channel in it?
    My case is RFC to File synchronous case? How do we do this?
    The above is not possible....Bean works only for Sender channel and not for Receiver.....requirement not possible using even a BPM as FILE does not support SYNC communication in receiver end......max you can do is split the scenario into SYNC-ASYNC bridge.
    Regards,
    Abhishek.

  • Request Response Bean for SOAP Sender Adapter

    Hi Friends,
    Is it possible to use  Request Response Bean Module described (FIle to RFC to File here) for SOAP(sender) and JDBC(receiver) adapter?
    I want to configure SOAP to JDBC to JDBC scenario.
    http://wiki.sdn.sap.com/wiki/display/HOME/UsingRequestResponseBeanModuleinFILE+Adapter
    Scenario:
    I will do SOAP adapter call Asynchronously and JDBC receiver adapter will select data from database. This response will go back to SOAP adapter and then SOAP will divert this response to another JDBC adapter. This JDBC adapter will insert data into another database.
    I do not want to use ccBPM. Is there any design approach to implement this scenario?
    Thanks,
    Sandeep Maurya

    Hi Sandeep,
    SAP says SOAP sender adapter does not support Modules. You can serch Help.sap (for SOAP sender channel) to find the same.
    I would suggest to use AXIS adapter (provides all the functionality of SOAP) and supports the Modules as well.
    I have used the Module beans that you mentioned in the past... but it is not consistent with its processing.. sometimes it stucks with Message ID issue... I have seen same issue faced some other friends as well .. search on SDN you will find the issue with these modules...
    Using BPM would be another option...
    Thanks,
    Sunil Singh

  • XML Namespace in WebService Request/Response

    Hi all,
    I have a question regarding xml namespace usage in wsdl and the corresponding request/response messages.
    I have already browsed quite some articles about xml namespaces as well as some forum threads, but I am still not sure.
    I have the following part of a wsdl document (generated by Integration Directory), defining a targetnamespace.
    u2026
    <wsdl:types>
        <xsd:schema targetNamespace="http://www.dorma.com/sap/xi/finance"
                             xmlns="http://www.dorma.com/sap/xi/finance"
                             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:element name="DebtorGetDetailResponse" type="Z_BAPI_DEBTOR_GETDETAIL_Response"></xsd:element>
            u2026
            <xsd:complexType name="Z_BAPI_DEBTOR_GETDETAIL_Response">
                <xsd:sequence>
                    <xsd:element name="DEBITOR_COMPANY_DETAIL" type="BAPI1007_5" minOccurs="0">
                    </xsd:element> u2026
                </xsd:sequence>
            </xsd:complexType>
            u2026
        </xsd:schema>
        u2026
    </wsdl:types>
    u2026
    In my understanding, all types defined in the schema section of a wsdl document will be in the targetnamespace, if defined.
    Therefore the element DEBITOR_COMPANY_DETAIL would be in the namesapce
    http://www.dorma.com/sap/xi/finance
    However, the ABAP proxy generates a response message like follows,
    where only the root element is in this namespace and the child elements are in the global namespace:
    <?xml version="1.0" encoding="utf-8"?>
    <ns1:DebtorGetDetailResponse xmlns:ns1="http://www.dorma.com/sap/xi/finance"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <DEBITOR_COMPANY_DETAIL>
            u2026
        </DEBITOR_COMPANY_DETAIL>
        u2026
    </ns1:DebtorGetDetailResponse>
    Do I have a wrong understand of the wsdl (xml schema) or is this an erroneous behavior?
    The problem is that some 3rd-party software web service module does not accept
    the response message as not complient with the respective wsdl document.
    Any input is appreciated.
    Thanks
    Hans
    Edited by: Hans-Jürgen Schwippert on Oct 1, 2008 12:02 PM

    I have the same problem. I am trying to connect to a webservice running on IBM websphere but it doesn't accept the xml in my request. It appears to be the same namespace issue.
    Did you ever find a solution for this?
    Is it a valid webservice call if you omit the namespace for an element or is this a bug in the Adaptive WS implementation?
    Web Dynpro web service model generated request:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Header>
    <sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">
    <enableSession>true</enableSession>
    </sapsess:Session>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    look between these lines -
    <ns1:tamKontrolleraKontoLastAnrop xmlns:ns1="http://schemas.fora.se/modell/tam/1.0/TAM_Data">
    <AnvandarNamn>30039647</AnvandarNamn>
    </ns1:tamKontrolleraKontoLastAnrop>
    look between these lines -
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    As you can see the tag
    <AnvandarNamn>30039647</AnvandarNamn>
    is missing a namespace.
    It should be
    <ns1:AnvandarNamn>30039647</ns1:AnvandarNamn>
    Using a third part tool called Soapui i generate this request that works:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tam="http://schemas.fora.se/modell/tam/1.0/TAM_Data">
       <soapenv:Header/>
       <soapenv:Body>
          <tam:tamKontrolleraKontoLastAnrop>
             <tam:AnvandarNamn>30039647</tam:AnvandarNamn>
          </tam:tamKontrolleraKontoLastAnrop>
       </soapenv:Body>
    </soapenv:Envelope>

  • JMS Transport, Transactional, asynchronous request-response

    Hi again :)
    I have weblogic web service with jms transport and have chosen session bean implementation.
    I'm testing transactional processing now.
    Required feature is to put getting request from queue and processing it in web service in one transaction.
    During tests I have noticed that:
    When I throw RuntimeException from my web service method the message doesn't come back to the queue.
    When I try to sessionContext.setRollbackOnly(); I get an error
    javax.ejb.EJBException: EJB Exception: : java.lang.IllegalStateException: [EJB:010158]Illegal attempt to call EJBContext.setRollbackOnly() from an EJB that was not participating in a transaction.
    When I deploy web service I get the following warning:
    <Warning> <EJB> <> <AdminServer> <[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238752023176> <BEA-010212> <The EJB 'EventNotifierServiceEJB(Application: portal, EJBComponent: EventNotifierService-1.0-SNAPSHOT.jar)' contains at least one method without an explicit transaction attribute setting. The default transaction attribute of Supports will be used for the following methods: local[publish(package.PackageType)] >
    And putting @TransactionAttribute(TransactionAttributeType.MANDATORY) doesn't change this.
    So It seems that transactions doesn't work by default.
    I turned on XA in my own jms connection factory used by web service but this didn't help.
    Looking in weblogic documentation I have found the following sentences:
    In (http://e-docs.bea.com/wls/docs103/webserv_adv_rpc/jmstransport.html)
    "If you have specified that the Web Service you invoke using JMS transport also runs within the context of a transaction (in other words, the JWS file includes the @weblogic.jws.Transactional annotation), you must use asynchronous request-response when invoking the service. If you do not, a deadlock will occur and the invocation will fail."
    In (http://e-docs.bea.com/wls/docs103/webserv_adv_rpc/asynch.html)
    "The asynchronous request-response feature works only with HTTP; you cannot use it with the HTTPS or JMS transport."
    For me these two sentences are in conflict.
    Currently I'm trying to use just transactional annotation without asynchronous request-response but the risk of deadlocks doesn't sound good for me.
    BTW I have Oneway annotation in my web service method, I'm not sure if this changes something.
    I'll be grateful for any help in resolving this problem.
    Edited by: user10930859 on Apr 3, 2009 3:49 AM

    Hi Karthik-
    You can link the corelation-id..
    Make you third-party application to receive Message-id from JMSRequestQueue and send this message id as correlation-id to JMSResponseQueue. I guess it would work we have tried this as POC.
    Regards,
    Ramesh

  • Publish/subscribe in a request/response manner with WCF?

    Is it possible to make WCF service work in request/response manner using WCF duplex channels?
    Or is there any kind of automatic correlation between the messages when using WCF?
    I want to be able to attach WCF service to a topic, and when a request comes, the service to return result, that will be transformed to brokered message and returned over the bus to the caller.
    Thanks in advance!

    It could help, If there is a way to bind a relay endpoint to a topic...
    The scenario in details: I have a service that extracts an object from a database by given identifier. I want to be able to activate that service with a message over a topic. That part is OK, I've did it. But I want the service to return the extracted
    value over the topic (or another topic) but I do not want to change the service contract to be OneWay - for interoperability, I need the method in question to take one argument and return object.
    So that's why I am searching for a way to bind one message to call the service's method and when it is ready to transform the result in another message and publish it back on the bus.

  • Asynchronous Request-Response in JMS using OSB 11g

    Hi All,
    I am using OSB11g.
    I have a scenario where I want to post a request into a JMS requestQueue, and without waiting for the response, should continue posting messages into the queue.
    The response will be posted by a third party into a JMS responseQueue.
    How to go ahead with this scenario? Is there any way to link the request & response in asynchronous calls like this?
    Thanks in advance!!
    Regards,
    Karthik

    Hi Karthik-
    You can link the corelation-id..
    Make you third-party application to receive Message-id from JMSRequestQueue and send this message id as correlation-id to JMSResponseQueue. I guess it would work we have tried this as POC.
    Regards,
    Ramesh

  • About error at 'return super.getContent(request,response)'.

    I am new in this area. Thanks for your help.
    I met a problem when I install a portal server. The error always happens at the sentence 'return super.getContent(request,response)'. The system works well in another computer.
    Would you please tell me what probably causes it. The following is error messages:
    06/13/2005 09:56:04:148 AM MDT: Thread[Thread-1081,5,main]
    ERROR: JspRequestDispatcher:
    javax.servlet.ServletException: Problem processing JSP: /DynamicTable.jsp
         at com.sun.portal.providers.jsp.JspRequestDispatcher.getJspResource(JspRequestDispatcher.java:164)
         at com.sun.portal.providers.jsp.JspRequestDispatcher.include(JspRequestDispatcher.java:97)
         at com.sun.portal.providers.jsp.jasper3.jasper.runtime.PageContextImpl.include(PageContextImpl.java:408)
         at jsps.etc._opt._SUNWps._desktop._ssdp_en_US._CSSDPDownloadAudit._html._CSSDPDownloadAudit_jsp._jspService(_CSSDPDownloadAudit_jsp.java:347)
         at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
         at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:695)
         at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:674)
         at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:473)
         at ca.ualberta.cssdp.providers.CSSDPDownloadAuditProvider.getContent(CSSDPDownloadAuditProvider.java:213)
         at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:145)

    This (http://www.javaworld.com/javaworld/jw-02-2007/images/jw-02-handler6.jpg) shows when the soap handler is executed in the request/response chain.
    What could be the case is that the bytes you are writing to the PrintStream are still buffered, by calling flush any buffered output bytes are written to the underlying output stream.
    Also do not forget to close the PrintStream. http://docs.oracle.com/javase/1.5.0/docs/api/java/io/PrintStream.html#flush()

  • Request Response (database) biztalk Error hadling

    best was to handle exceptions working with Request Response port ? hitting database.
    1) what properties should be set in Scope shape ?
    2) what should be set the Transaction type of Orchestration ? when to use Long Running or None ?
    3)does on ReqResp SP, transmitted set to true works ?
    MBH

    Well, you've already answered your own question, use an Exception Block.
    What exactly do you mean by 'no response'?  There are two realistic possibilities, A) a timeout occurs or B) no result set is returned.
    (A) is an error condition and the exception will be raised back to the Orchestration and caught in an
    Exception Block.
    (B) is a real possibility depending on how the SP is coded.  The operation technically completes correctly, but no result is considered by the caller to be an error condition.  This you would have to test for.
    If the database code silently fails, as you describe, that is not your problem.  The owner of the Oracle app has to fix that since you can't know if an error occurred or not.
    You have to try these things.  It's not possible to offer any more meaningful advice because exactly what you have to do is completely dependent on how your Oracle instance behaves and what the business case considers an 'error'.
    Please, set it up and try different scenarios against Oracle and tell us what happens.  If something doesn't work or doesn't meet expectations, please open another thread for that specific issue.

  • Messaging only: WCF-BasicHTTP adapter Request-Response correlation

    Hi,
    we have a solution where we make a soap web service call to a third party.
    we do not want to use orchestrations.
    we are in need to pass a value to the third party service and we would
    like to have that value passed back to us in the response.
    However, the third party is not guaranteeing this.
    as an alternative, i tried promoting  a property into the context
    before the outbound call and check if this is still available in the context when the response come thru.. but no luck here.
    IS there any other way to achieve this?
    regards,
    MS

    Hi MS,
    What is your question? When you use Request-Response (Receive) port and solicit-Response (send) port, the correlation would happen out-ob-box with the help of EpmRRCorrelationToken, CorrelationToken and RouteDirectToTP
    properties.
    Are your not using the solicit-Response (send) which would take care of the correlation to  Request-Response (Receive) port. Ensure you're using the XML-Transit (on send) and XML-Receive (on receive) pipelines on these two way ports (in both Request-Response
    (Receive) port and solicit-Response (send) port)
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • Mouse over JButton

    I have an 10 x 10 array of JButtons in my project. I was just wondering how do i find out which button the mouse cursor is over at any given time? I was trying to get x y mouse coordinates but how do i know over which JButton I am? Thanks for any adv

  • ClassLoader problems..

    <Unsure where this should be posted> Hi, I have a bit of a problem with loading a class using defineClass. When I load the bytes of a class file and covert that file to a class, using defineClass, the generated Class object seems to work fine. I can

  • Essbase Configuraion Error 11 1 2 2

    Intially we have installed EPMA,HPCM,shared services,workspace of 11.1.2.2 version we thought of configuring with the existing Essbase which is 11.1.2. As it is not possible we have installed Essbase and Essabase Studio Server from 11.1.2.2 version .

  • [U8.1][Xaml] Different Layout for RSS Feed items.

    Hi everyone, I created a simple RSS Feed reader using App Studio, and now I`m modifying it to my needs on Visual Studio. Its awesome! Now I would like the items of my RSS Feed source to have a different layout from each other based on the Author or D

  • OIM 11g Installation: LADP Sync Problem

    I am trying to configure LADP sync with a OID/OVD on a separate machine then OIM. I have 4 vms. The first has oracle database. The second has OIM and SOA. The third has OAM and the admin server. OAM/OIM/SOA/admin all are in same domain. The fourth ha