Logging the SOAP request/response from rules engine

Hi All,
We would like to log the soap requests and response from the rules engine.
The determinations-server.war is deployed on a weblogic server and we are not using seibel connector.
Is it possible to log the soap messages for debugging purpose.
Thanks,
Suraj

Hi All,
We would like to log the soap requests and response from the rules engine.
The determinations-server.war is deployed on a weblogic server and we are not using seibel connector.
Is it possible to log the soap messages for debugging purpose.
Thanks,
Suraj

Similar Messages

  • How to create a standard SOAP request message from a given WSDL file?

    Hello,
    If I have a WSDL file (either from a .net web service or from the famous Amazon web services), what is the best way to generate a SOAP compliant request message?
    I am having trouble understanding the role of WSDL file in a given web service.
    Question 1:
    If I have a web service that is implemented using jaxm, how do I create/publish a WSDL file that describes the web service?
    Assuming I can generate a wsdl file, can I recreate the SOAP request message from the WSDL file automatically (that matches the original request, which is hand build by me?)
    Question 2:
    If I have a web service that is implemented using JAX-RPC, based on the WSDL file, can I simply generate a valid SOAP message (by some JAVA api) and get the response message directly?
    thanks...

    I have the same question ("Assuming I can generate a wsdl file, can I recreate the SOAP request message from the WSDL file automatically (that matches the original request, which is hand build by me?)")
    Have you already found an answer to this?

  • How to get the soap request for the particular operations in CRM

    Hi friends,
    We got the wsdl files of different modules from the crm(Oracle CRM on demand). We converted the wsdl files to java classes using axis1.4 wsdl2java tool.Now all create,update,download,lookup operations are implemented in java using the generated classes and they are working properly with the client stub.Now the problem is how can we get the soap request and response of particular operations that we submitted to CRM .The request and response should get by using java code.We are looking no tool for the soap request/response. We are working in Eclipse IDE.
    thanks in advance...

    Refer the link. It might tellsa about attaching to transport request but using the way you can find also -
    Re: How To Transport STANDARD TEXTS??
    Regards,
    Amit
    Reward all helpful replies

  • Sending the SOAP request back in the SOAP response

    Hi,
    I have a requirement in which I need to update a database from the information I receive in a SOAP request. Now my database will respond back with the number of records that are updated. Now I need to send back a SOAP response which should have the details that I received in the SOAP request.
    Can anyone help me on how to send the SOAP request details back in the SOAP response again? I don't want to use a BPM to do this. Also I know that I can use a select statement to get the records that are updated in my response mapping program. Any options other than these?
    - Ram

    Hi Stish,
      I do have exactly the same need, just with the difference that I'm sendind data from JDBC as sender and RFC as receiver, the RFC receive an ID fot example and return some data as a response and I want to update the DB with that response but I dont know how to merge the ID from the request and the data from the response in order to send it back and update the DB. I'm willing to do it with BPM but I don't know how to keep the request and the response and then merge them into the new message that will be sent to the JDBC, can you give me some specific steps?
    Thanks in advance.
    Gustavo Balboa.

  • 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,

  • Invalid Response Code: (401) Unauthorized sending the SOAP request to XI

    Hi all,
    I am getting following error when i try to send the SOAP request to XI.
    Can any one please tell me what could be the problem.
    Kind Regards,
    Kiran

    Hi,
    Check out the user permission and role.
    I think this link help you the most
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Check these links :
    http://www.w3.org/2000/xp/Group/1/10/11/soap12-part2.xml
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/27fd3b651f6a1ce10000000a11402f/content.htm
    Testing XI SOAP scenario via XMLSpy
    Re: SOAP Sender ADAPTER 401 No Authorisation
    Re: XI Web Service - Code: (401) Unauthorized.
    Try soap client https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9b16d790-0201-0010-4e9b-baa5f42830d8
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • ERROR while building the SOAP Request in OAM

    Hi all,
    In a brief step what my requirement is.
    Need to build an SOAP request using java objects generated from XSD files comes with installation directory by setting all the required values.
    What i have done?
    ---- To generate Java objects from given XSD files i am using Castor tool.
    ---- Coming to my requirement i have to create a user through create workflow for this i created objects for workflowSaveCreateProfile.xsd using castor framework and i am trying to marshal (building the SOAP Request). but it's giving me an error telling that required field is needed as below.
    Caused by: ValidationException: The following exception occured while validating field: _attributeName of class: com.trewport.oblix.ObTicketAttr: The following exception
    occured while validating field: obDisplay of class: com.trewport.oblix.AttributeName: The field 'obDisplayChoice' is a required field of class 'com.trewport.oblix.ObDis
    play;
    - location of error: XPATH: /ObTicketAttr
    The following exception occured while validating field: obDisplay of class: com.trewport.oblix.AttributeName: The field 'obDisplayChoice' is a required field of class '
    com.trewport.oblix.ObDisplay
    at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:278)
    at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptorImpl.java:1065)
    at org.exolab.castor.xml.Validator.validate(Validator.java:135)
    at org.exolab.castor.xml.FieldValidator.validateInstance(FieldValidator.java:326)
    at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:271)
    ... 19 more
    I am not getting how to set the values in that generated java objects.
    Please help me out.
    Note: For compiling and running the java objects i have to use java 1.4.
    Please let me know your thoughts.
    Thanks & Regards,
    Siva Pokuri.

    This error occurs due to the following customisaton, Please
    check this :
    Please can you check if the Pernr used
    has correct information like It0105 etc, also the rules are
    correctly defined.
    Webmo feature is activated or no?
    For the Employee, First of all check the Period Work Schedule also
    the Quotas of the pernr needs to maintained in 2006, Please do
    this customisation and it should solve the issue.
    Maintain the absence quota in the IT2006 and then try once.
    Also make sure that the Settings in Webmo and PTARQ etc all is done
    The pernr belongs to the a Rule and have absences defined for him.

  • XML Spy Error while testing the SOAP request

    Hi,
    I have generated a webservice from an XI scenario, I am trying to test the webservice through XML Spy.
    I am getting the following error when I am sending the SOAP request.
    Where do we specify the authentication information (user/pwd) in XML Spy.
    It is not even poping any screen to enter username and password.
    <b><i>HTTP Error: Could not post the file.</i></b>
    http://banglore:50100/XISOAPAdapter/MessageServlet?Version=3.0&Channel=:New_BP:New_BPFileSender&version=3.0&Sender.Service=New_BP&Interface=http%3A%2F%2Fgemsconsult.com%2Ffile2rfc%5EZBP_OUTPUT
    Appreciate your quick response
    Srini

    Hi,
    Try using SOAP client
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9b16d790-0201-0010-4e9b-baa5f42830d8
    Thanks,
    Prakash

  • How to watch SOAP requests/responses

    Hello,
    I am developing web services on 9.0.4. I want to watch the SOAP Requests that are sent from client and that are received from server. Is there any monitoring service provided by Oracle ?
    Thanks
    Kiran

    On 904, you have the abilitty to use an HTTP proxy tool between the client and the service. This has to be driven from the client side. You can find informations on the way to do this with JDeveloper here:
    http://www.oracle.com/technology/products/jdev/collateral/tutorials/9050/mvcmodel_webservices_tut.html#test
    If you need to view it from the server side, you can turn on debugging at the servlet level, to get some more information, but this should not be used on production system. To get the list of options, use "java -jar oc4j.jar -listProperties". Those of interest to you are:
    http.request.debug - Used to gate whether to dump http traffic to console
    http.error.debug - Gates whether to dump HTTP exceptions to the console
    On production system, your best option will be to use a servlet filter :-(
    If you are using Windows to host your services, you can also take a look at Mindreef's SOAPscope to capture all the traffic at the NIC level.
    Hope this helps,
    Eric

  • Script to find the Concurrent Request ID from its associated SID

    Hi,
    In one of my production system, my server load is going very high. From the top used process ID of server, I found the SID and found out that the program running is "ora_rw20_run@acgerp (which is a concurrent program)
    How do I find out the Request ID using the SID/PID? Can someone please provide me the script to find the Concurrent Request ID from its associated SID?
    Thanks!

    There has been no new changes in the report server or in the database. Suddenly of late, we have been observing this program running and it never ends, consuming major part of the cpu load. Not sure what this program is -> ora_rw20_run. There is no mention about it in metalink or in google.
    I followed MOS Doc 1058210.6 and tried to debug more. But the formatted output doesnt give any info either.
    TKPROF: Release 10.2.0.2.0 - Production on Tue Oct 20 09:44:21 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Trace file: prod_ora_15721.trc
    Sort options: default
    count = number of times OCI procedure was executed
    cpu = cpu time in seconds executing
    elapsed = elapsed time in seconds executing
    disk = number of physical reads of buffers from disk
    query = number of buffers gotten for consistent read
    current = number of buffers gotten in current mode (usually for update)
    rows = number of rows processed by the fetch or execute call
    0 statements EXPLAINed in this session.
    Trace file: prod_ora_15721.trc
    Trace file compatibility: 10.01.00
    Sort options: default
    1 session in tracefile.
    0 user SQL statements in trace file.
    0 internal SQL statements in trace file.
    0 SQL statements in trace file.
    0 unique SQL statements in trace file.
    96507 lines in trace file.
    0 elapsed seconds in trace file.
    When I use the below query, I can find that the session is running a module named "PAXMGSLS" and the action is Concurrent Request.
    But I am not sure how to find out the Concurrent Request ID using this info to dig more (look into the concurrent request log files etc)
    select s.sid,s.serial#,p.spid os_pid,s.status,
    s.osuser,s.username,s.COMMAND,s.MACHINE,s.MODULE, s.SCHEMANAME,
    s.LOCKWAIT,s.action
    from v$session s, v$process p
    WHERE s.paddr = p.addr
    and s.sid = 823
    SID     SERIAL#     OS_PID     STATUS     OSUSER     USERNAME     COMMAND     MACHINE     MODULE     SCHEMANAME     LOCKWAIT     ACTION
    823     47     4559     ACTIVE     applprod     APPS     3     acgerp     PAXMGSLS     APPS          Concurrent Request

  • View the webservice soap request/response

    Hi,
    I am in wls81sp4. I have some webservice developed in workshop. And I created webservice controls for them. When the webservice is called in jsp, I couldn't see the request/response soap message on wls console even though I set -Dweblogic.debug.webservice=true -Dweblogic.webservice.verbose=true. I have another webservice, the client is the proxy, and I can see the message on console.
    How can I see the message from calling the control? Thanks

    HI Ronald,
    To get the SOAP Fault into your orchestration:
    1) On the Send port in BizTalk:
       a) WCF Adapter Properties, Messages tab: Propagate Fault Message = true
       b) WCF Adapter Properties, Messages tab: Inbound message body: Either use "soap:Body" or use a path that extracts your message OR /*[local-name()='Fault'] to get the SOAP fault
       c) "Enable routing for failed messages" - this has no impact on the SOAP Fault. So you probably want it set to true to handle real transmission errors (non SOAP faults).
    2) On the Send port within your orchestration
       - Select the operation & then "New Fault Message"
       - Set the message name to SoapFault (or whatever)
       - Set the message type to be the referenced schema: BTS.soap_envelope_1__2.Fault. (If this was a SOAP 1.1 operation you would use BTS.soap_envelope_1__1.Fault).
    3) In the Scope around your Send operation
       - Add new exception handler
       - Select "Exception Object Type" to the port-name.operation-name.SoapFault you created in step 2
       - Specify the object name, e.g. Fault
       - Fault is now the XML of the SOAP Fault & you can use XPath to get the Fault Reason and Message elements.
    Refer:
    How to catch and process SOAP faults
    MSDN has explained the process in detail:
    Using BizTalk Server Exception Handling. You can blindly follow it.
    Please mark as answer or vote as helpful if my reply does

  • Getting 400 Bad Request response from Beehive SOAP API

    Hi,
    I'm trying to consume beehive web services via SOAP, more specifically I'm trying to upload a file into a workspace however at this point of the implementation I'm stuck getting 400 responses from the server.
    I'm trying to upload a file using the createDocument() method that's located on the contentManagementService, indeed in the line that I call to that method is in which my app stops and returns the exception of error 400
    I'm attaching a sample of the message I'm sending, at this point I understand every parameter that it's being sent except for the contentStreamId parameter, I don't know what it means, the documentation doesn't explain it either.
    Does anyone has an idea of what's that paremeter for and how to use it properly?
    Here's a sample of code I'm using:
    // add new document
    String str = "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r" +
    "Test body.Test body.Test body.Test body.Test body.Test body.\r";
    byte[] docContent = str.getBytes("UTF8");
    DocumentCreator docCreator = new DocumentCreator();
    docCreator.setConflictResolutionMode(ConflictResolutionMode.OVERWRITE);
    docCreator.setName("File" + System.currentTimeMillis()%10000 + ".txt");
    docCreator.setParent(teamWksp.getDefaultDocumentsFolder().getCollabId());
    IdentifiableSimpleContentUpdater iscu = new IdentifiableSimpleContentUpdater();
    iscu.setContentStreamId(docContent.toString());
    DocumentUpdater docUpdater = new DocumentUpdater();
    docUpdater.setContentUpdater(iscu);
    docCreator.setUpdater(docUpdater);
    Document doc = contentMgmtServiceSoap.createDocument(docCreator, docContent,projFull);
    here's the message being sent:
    <S:Envelope>
         <S:Body>
              <ns3:createDocument>
                   <creator>
                        <ns2:conflictResolutionMode>OVERWRITE</ns2:conflictResolutionMode>
                        <ns2:name>File8692.txt</ns2:name>
                        <ns2:parent>
                             <ns2:id>334B:3BF0:afrh:38893C00F42F38A1E0404498C8A6612B00023FF3F175</ns2:id>
                             <ns2:resourceType>afrh</ns2:resourceType>
                        </ns2:parent>
                        <ns2:updater>
                             <ns2:contentUpdater xsi:type="ns2:identifiableSimpleContentUpdater">
                                  <ns2:contentStreamId>[B@70751932</ns2:contentStreamId>
                             </ns2:contentUpdater>
                        </ns2:updater>
                   </creator>
                   <dhandler>VGVzdCBib2R5LlRlc3QgYm9keS5UZXN0IGJvZHkuVGVzdCBib2R5LlRlc3QgYm9keS5UZXN0IGJvZHkuDVRlc3QgYm9keS5UZXN0IGJvZHkuVGVzdCBib2R5LlRlc3QgYm9keS5UZXN0IGJvZHkuVGVzdCBib2R5Lg1UZXN0IGJvZHkuVGVzdCBib2R5LlRlc3QgYm9keS5UZXN0IGJvZHkuVGVzdCBib2R5LlRlc3QgYm9keS4NVGVzdCBib2R5LlRlc3QgYm9keS5UZXN0IGJ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keS5UZXN0IGJvZHkuVGVzdCBib2R5Lg1UZXN0IGJvZHkuVGVzdCBib2R5LlRlc3QgYm9keS5UZXN0IGJvZHkuVGVzdCBib2R5LlRlc3QgYm9keS4N</dhandler>
                   <projection value="FULL" xsi:type="ns2:projection"/>
              </ns3:createDocument>
         </S:Body>
    </S:Envelope>

    Did you manage to successfully upload the file? If you did, please give solution.
    Thanks

  • How do u send the SOAP request to Siebel On Demand from Siebel on premise?

    Hi,
    I am trying to integrate my on premise Seibel with Siebel on Demand. The session id is generated properly after logging in. A SOAP request is generated as follows
    <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAPSDK2="urn:/crmondemand/xml/lead" xmlns:SOAPSDK1="urn:crmondemand/ws/lead/10/2004" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><SOAPSDK1:LeadWS_LeadQueryPage_Input><PageSize>10</PageSize><StartRowNum>0</StartRowNum><SOAPSDK2:ListOfLead><Lead><AccountExternalSystemId></AccountExternalSystemId><AnnualRevenues></AnnualRevenues><IntegrationId></IntegrationId><JobTitle></JobTitle><LastUpdated>LIKE '*'</LastUpdated><LeadEmail></LeadEmail><LeadFirstName></LeadFirstName><LeadId></LeadId><LeadLastName></LeadLastName><NumberEmployees></NumberEmployees></Lead></SOAPSDK2:ListOfLead></SOAPSDK1:LeadWS_LeadQueryPage_Input></SOAP-ENV:Body></SOAP-ENV:Envelope>
    However when i try to send this SOAP request using HTTP transport i get the gollowing error
    Error invoking service 'abc', method 'Service' at step 'EAI HTTP'.(SBL-BPR-00162)
    HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 400'(SBL-EAI-04117)
    Edited by: user10259353 on Nov 4, 2008 3:28 AM

    Check for the pod value in the URL eg:https://secure-ausomxxxx.crmondemand.com/Services/Integration
    This value changes depending on the pod value assigned to you

  • How o get the SOAP request from webmethod?

    Hi,
    I want to get the full request (what i sent from client application) on the @webmethod of my webservice.
    Immediately i want to forwward the same request to another application which is ready to receive as HttpRequest.
    How could i do that?

    Hi,
    Thanks for the reply.
    I tried the code in my application, but it always throws NullPointerException
    while executing this line,
    MessageContext msgCtxt = wsContext.getMessageContext();
    My code is,
    @WebService(name = "FirstService")
    @SOAPBinding
    style = SOAPBinding.Style.DOCUMENT,
    use = SOAPBinding.Use.LITERAL,
    parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
    public class MyFirstService
         WebServiceContext wsContext;
         @WebMethod
         public void getMehod()
              try
                   System.out.println("1");
                   MessageContext msgCtxt = wsContext.getMessageContext();
                   System.out.println("2");
                   HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST);
                   System.out.println("3");
                   System.out.println("REQUEST = " + req.toString());
              catch(Exception e)
                   System.out.println("Exception : " + e.toString());
    If i call this method from SoapUI,
    the output is,
    INFO [STDOUT] 1
    INFO [STDOUT] Exception : java.lang.NullPointerException
    I don't know where i did the mistake...
    Waiting for your reply

  • Not able to trigger the Leave Request Workflow from EP

    Hi,
       There is a problem that I am getting as follows and I need an urgent help :
    I am using the Leave Request Workflow WS20000081 in R/3 4.7. The problem that I am getting when I login as "A" who is a boss of "B" and got the mail in inbox in corresponding workflow for Approve or Reject the Leave Request. Now when I "Approve" the Leave Request from R/3 Inbox, then the workflow move for the processing, but if the same Leave Request is to be "Approve" from EP having either the SAP Transaction iView or IAC iView, it doesn't process the Workflow further neither for Approval nor for Rejection. And the workitem remains as such in EP Inbox.
    Can someone tell me what to do so that it will trigger from EP too.
    Regards
    Deep

    Hi,
    If u have no authorization, even the job log finishes the request won't be deleted.
    Once chk the log step by step.....to have some more inf reg authoriations...
    Or once goto RSRQ and give the request no there and chk the status of the request whether it is deleted or not?
    Atlast try to log-off and refresh the session completely and try.
    rgds,

Maybe you are looking for