Getting BPM response in a synchronous web service

We have a synchronous web service - an EJB whose methods are exposed as web service
methods. The EJB acts as a broker, and channels web service requests to the BPM.
Each web service request (i.e. each EJB method) needs to interact with a few AppView
services. We plan to use the BPM as an intermediate layer. Hence each EJB method
needs to start a BPM workflow, wait for its completion (as the web service is
synchronous) and get the output response XML to return to the web service client.
In this scenario, we have questions in two major areas -
1) How does the EJB get the response from the workflow? For e.g. If we use sendXMLToClient
in the workflow, how is it received by this EJB? Alternatively, is it better to
put all the response in workflow variables, and inspect it after the workflow
completes i.e. after WorkflowInstance.waitForCompletion() ? What would happen
in case of exceptions = where would they be caught?
2) There are various simultaneous tasks in the workflow, and we want to merge
the XML response of all of these. How is it best done?
Note that all of these are dynamic and need to be done in code i.e. Human intervention
through worklist / studio is not expected.
Please advise.
Regards,
Milind Prabhu
[mailto:[email protected]]

You can try the message driven bean.
It will slove your problem.
and you can use the database to save your run time xml response.
Good luck!
"Milind Prabhu" <[email protected]> wrote in message
news:3c55830c$[email protected]..
>
We have a synchronous web service - an EJB whose methods are exposed asweb service
methods. The EJB acts as a broker, and channels web service requests tothe BPM.
Each web service request (i.e. each EJB method) needs to interact with afew AppView
services. We plan to use the BPM as an intermediate layer. Hence each EJBmethod
needs to start a BPM workflow, wait for its completion (as the web serviceis
synchronous) and get the output response XML to return to the web serviceclient.
In this scenario, we have questions in two major areas -
1) How does the EJB get the response from the workflow? For e.g. If we usesendXMLToClient
in the workflow, how is it received by this EJB? Alternatively, is itbetter to
put all the response in workflow variables, and inspect it after theworkflow
completes i.e. after WorkflowInstance.waitForCompletion() ? What wouldhappen
in case of exceptions = where would they be caught?
2) There are various simultaneous tasks in the workflow, and we want tomerge
the XML response of all of these. How is it best done?
Note that all of these are dynamic and need to be done in code i.e. Humanintervention
through worklist / studio is not expected.
Please advise.
Regards,
Milind Prabhu
[mailto:[email protected]]

Similar Messages

  • Invoking Synchronous Web Service from BAm alerts ( 11g)

    I am invoking a synchronous web service for BAM Alerts ( defined in rules )
    There r 2 actions Email and Call web service.
    EMail works fine
    But for calling a web service I get the following error in logs
    Content-Type = text/html
    Server = Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server
    Date = Tue
    Date = 29 Dec 2009 17:09:54 GMT
    <html>
    <head>
    <title>Exceptional Event Occurred</title>
    </head>
    <body>
    <br>
    An exception occurred while processing your request, please contact your Manager or Supervisor.
    <br>
    </body>
    </html>
    Dec 29, 2009 11:09:54 AM oracle.bam.common.logging.Log writeLine
    SEVERE: EventEngine: Action exception: EEInstEv60 EEInstAct21 Rule Id: 7 exception: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
    Dec 29, 2009 11:09:54 AM oracle.bam.common.logging.Log writeLine
    WARNING: EventEngine: Exception stack trace:
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:209)
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:136)
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:129)
    at oracle.bam.eventengine.engine.event.action.TakeWSAction.invokeService(TakeWSAction.java:143)
    at oracle.bam.eventengine.engine.event.action.ActionProcessor.callWebService(ActionProcessor.java:1023)
    at oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(ActionProcessor.java:434)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.bam.system.Delegate$Sink.invoke(Delegate.java:80)
    at oracle.bam.system.Delegate.dynamicInvoke(Delegate.java:186)
    at oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.processWorkRequest(ThreadPoolController.java:154)
    at oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.run(ThreadPoolController.java:128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    The alert history shows both actions
    And also one more question related to alerts:
    Suppose we have selected rule as status =fail and flag =y , frequency 3 secs
    Then until the status is fail and flag is y the action should occur every 3 secs
    The behavior I see right now is
    whenever I update the Data object and condition meets the action happens
    but the rule i select was data field d meets criteria not data field update as criteria

    I replied to you by email but for the benefit of others, I will paste email content here:
    Let me take the questions one by one:
    1. Regarding Webservice action issue, I am going to need little more information as:
    a) Have you tested the webservice with some external tool like soapui using the same endpoint url and same payload to see if it works fine?
    b) Is it a secure webservice?
    c) Does it require any policy to be attached?
    d) If response to a) is yes, and if it is okay with you, can you share the webservice wsdl url with us along with the operation to be selected and the payload?
    2. On Alert behavior:
    Alerts by design fire only for the runtime changes that happen to the dataobject and satisfy the condition you choose and not for the conditions that are satisfied by the data that exists before alert is created and activated. So, in your case, not only for update but even for insert and delete of data, alert will fire if condition is met but the requirement is those changes should be happening to the dataobject after alert has been activated.
    Moreover, I would also like to make the behavior of Frequency Constraint clear here - I am copying the below text from official BAM Alerts doc, this will make it clear that frequency constraint doesn't mean that every x seconds, alert will evaluate the condition but rather that if within x seconds, condition gets met multiple times, alert will fire only once.
    Frequency Constraint
    The Frequency Constraint feature prevents a user's email inbox from being flooded with alerts by limiting the number of alert messages that can be sent out during a given time interval.
    Frequency Constraint can be edited only if it is appropriate for the event selected. otherwise it is disabled. It can be set to a value of time which could be in seconds, minutes, or hours.
    This limits the number of times the rule launches in a given time period. With real-time data, transactions can occur every millisecond, so alerting frequency must be controlled.

  • Usage of fault message in a synchronous web service call from PI ccBPM

    In a PI ccBPM call to synchronous web service,  how can I use the fault message created and attached to the synchronous interface call.
    Mike

    I see nowhere so far, that says not possible. Can you direct me to the appropriate help. Client asking for the same, i have been trying to get this done for a while, can't given an answer NO unless i show them the legit document or something.
    I am in the processing of getting sap help and i have an open ticket. Support never mentioned so far about no possibility to get this done either. I am still crossing my fingers. But will update this thread accordingly with either of the solutions

  • Initiating BPM Process Instances from External Web Service Call

    I'm attempting to update the HelloWorld example so that I can create an instance of the process from an External Web Services Call rather than via the Workspace. Our current SOA Architecture is configured so that all BPM instances are managed through a .NET SmartClient via the Service Bus and the use of PAPI W/S and so I'm wishing to recreate this capability in the new BPM.
    I understand the replacement for PAPI W/S is Human Workflow so I've therefore updated and republished the HelloWorld Example with an Exposed 'TaskService' Service for the Human Task within the BPM Process.
    I've then attempted to reference the TaskService through our existing BPM, and have been able to import a number of generic WSDL's as follows:
    Task Service
    http://vmaquatestapp2:7001/integration/services/TaskService/TaskServicePort?WSDL
    Task Metadata Service
    http://vmaquatestapp2:7001/integration/services/TaskMetadataService/TaskMetadataServicePort?WSDL
    Task Query Service
    http://vmaquatestapp2:7001/integration/services/TaskQueryService/TaskQueryService?WSDL
    When I examine the available operations for these generic services, there are quite a lot, each of which have a fairly complex schema. I believe I should be using the TaskService: InitiateTask Operation to create an instance of my BPM Process but my questions are:
    - Is the above the correct method of interacting with BPM Instances from an external system such as the Service Bus?
    - Does anyone have any examples of a basic XML payload that would initiate a process instance?

    I created an process with a message start event and can call it from an external web service call. I can also pass input arguments and map those to process data objects. However I can not find how to return data as response to the external web service call as e.g. the process instance id.
    Is it possible to this?
    Gr,
    Gert Jan Kersten

  • SOAP vs. XML-RPC for synchronous Web Services applications

    Hi everyone, I have to finish one project soon and I have to make a decision. Because I don't have much time I want to ask if anyone can answer me, what are the major differences bettween SOAP vs. XML-RPC for synchronous Web Services applications. I'll be very grateful if you help me!
    Thanks in advance!

    Come on guys i know you can help me, please don't hesitate to write some row

  • JMS to Synchronous Web Service Scenario (Need Advice to use BPM or Not)

    Hi Experts,
    We have a scenario where we fetch data from JMS Sender and Send it to MDM Webservices.
    We want to have the files processed in such a way that until we get a response from webservice back that it was sucessful ,then only we need to process the next file.
    We would need advice as can we use BPM for this.
    We are thinking of having BPM like this:
    RecieveStep(Asyn)-SynchronousSend Step(with wait)-Stop
    The problem with this is when processing huge files the processing time of the Queue is taking very long and sometimes we are getting SYSFAIL.
    Please would anyone advice as how can we approach this scenario either using BPM or without.
    Also Can we use multiple queues or multpile instances concept for this scenario.
    Please Advice.
    Thanks in Advance
    Regards
    J

    Hi Prateek,
    Thank you very much for your quick reply.
    The response from Webservice does not need to be sent anywhere.
    We just want that after recieving the response back from webservice(SOAP) then only we need to process the next file.
    Can we control something from Sender JMS adapter side as well as it is picking up all the files and all files wait at BPE until each one gets processed.
    Is this possible without BPM or with BPM.
    Please advice as what wud be possible steps inorder to achive it through BPM or Without BPM.
    Thanks and Regards,
    J

  • TimeOut Issue in invoking Synchronous Web Service in BPEL.

    Hi All,
    There is one BPEL process which is calling third party web service synchronously but sometimes my requests get failed in 30 sec giving the following error:-
    *"oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://aaa.bb.cc.dd/abc/def/xyz"*
    When I checked this in soa_server1-diagnostic.log, I found that it is giving some Read Time Out error.
    Currently following settings are there on the server:-
    syncMaxWaitTime = 45 sec
    EJB Time Out:- 300 sec
    JTA Timeout:- 360 sec
    If there is no setting of 30 sec then why my partner link is failing in 30 sec. Morever the intresting point is that although It is giving some Exception but it is performing the operations successfully. Due to this exception rest of my BPEL does not work.
    Please provide me the pointer how to increase the Read time out and is there any relation between httpReadTimeout (Defined in composite for Partner Link) and syncMaxWaitTime.
    Thanks In Advance,
    Regards,
    Lovenish
    Edited by: lovenish on Jun 13, 2012 10:56 PM

    Hi Lovenish,
    Goto console-> select domain> Configuration->JTA
    Check timeout seconds.
    2. i don't know what kind of partner link you are invoking.
    check composite.xml, is there any property like retry.interval .
    3. ◦SyncMaxWaitTime: The maximum time a request and response operation takes before timing out.
    The maximum time a request/response operation will take before it times out. The default value is 45 seconds.
    Regards,
    Padmanabham

  • How to see http response from an axis web service call (Eclipse)

    Hello,
    I would like to see the raw http response which is returned from web service calls. I have a dynamic web project in Eclipse which uses a local instance of Tomcat 6. I'm using all of the default setting for a top-down web service generated from a WSDL file. I've generated the client using the built-in "generate client" using default settings.
    I've tried using the Eclipse plugin TCP/IP monitor and apache's TCPMON, but I am only able to see the http request, not the http response returned from the web server I am querying.
    I've seen some sparse documentation outlining how to use logging handlers and a client-config.wsdd file, but I haven't been able to get that working.
    So to recap, I'm looking for a way to view raw http responses using a web service client and server generated from a WSDL file in eclipse. I don't mind creating a new project using different code-generating libraries if someone has an easy way to do this using a different configuration.
    Thanks very much,
    Craig

    908794 wrote:
    Hello,
    I would like to see the raw http response which is returned from web service calls.Why the HTTP response? Isn't the soap message body enough? If it is, you probably want to check out SoapUI.
    A simple google query for "apache axis2 http response" also return this article:
    http://blogs.cocoondev.org/dims/archives/004668.html
    And finally, you did go through the Axis2 website right? It has a wiki with a rather staggering amount of articles in there.
    http://wiki.apache.org/ws/FrontPage/Axis2/

  • Why so much code getting data out of DB & into web services

    I am new to Java and I am experimenting with web services.
    I am trying to get data out of a database and into a web service
    This is the code I had to build just to get a little bit of data out of a DB and into a web service.
    // Open a database connection and statement.
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    Connection dbConn = DriverManager.getConnection("jdbc:db2:sample","myuser","mypass");
    Statement statement = dbConn.createStatement();
    // Build the message.
    SOAPMessageContext ctx = (SOAPMessageContext) messageContext;
    try {
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement elem =
    body.addBodyElement(env.createName("ns1:getEmployees"));
    elem.addNamespaceDeclaration("ns1",
    "http://www.abc.com/SampleApplication/Employee.wsdl");
    elem.addNamespaceDeclaration("ns2",
    "http://www.abc.com/SampleApplication/Employee.xsd");
    SOAPElement elem1 = new SOAPElementImpl("Response", null, null);
    // Execute the query.
    String sql = "SELECT EMPNO, FIRSTNME, MIDINIT, LASTNAME, HIREDATE FROM EMPLOYEE";
    ResultSet result = statement.executeQuery(sql);
    Isn't there a way with less code to get data out and stick into a web service?

    I left the part of the code out that is bugging me - I was talking about all of the code to get the data into XML..
    here's the whole code..
    // Open a database connection and statement.
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    Connection dbConn = DriverManager.getConnection("jdbc:db2:sample","myuser","mypass");
    Statement statement = dbConn.createStatement();
    // Build the message.
    SOAPMessageContext ctx = (SOAPMessageContext) messageContext;
    try {
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement elem =
    body.addBodyElement(env.createName("ns1:getEmployees"));
    elem.addNamespaceDeclaration("ns1",
    "http://www.abc.com/SampleApplication/Employee.wsdl");
    elem.addNamespaceDeclaration("ns2",
    "http://www.abc.com/SampleApplication/Employee.xsd");
    SOAPElement elem1 = new SOAPElementImpl("Response", null, null);
    // Execute the query.
    String sql = "SELECT EMPNO, FIRSTNME, MIDINIT, LASTNAME, HIREDATE FROM EMPLOYEE";
    ResultSet result = statement.executeQuery(sql);
    SOAPElement employee = new SOAPElementImpl("Employees", "ns2", "http://www.abc.com/SampleApplication/Employee.xsd");
    employee.addChildElement("ns2:EMPNO").addTextNode(result.getString("EMPNO"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("FIRSTNME"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("MIDINIT"));
    employee.addChildElement("ns2:LASTNAME").addTextNode(result.getString("LASTNAME"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("HIREDATE"));
    elem1.addChildElement(employee);
    elem.addChildElement(elem1);
    ctx.setMessage(m);
    dbConn.close();
    } catch (Throwable e) {
    weblogic.utils.Debug.say("(hbs):e " + e);
    e.printStackTrace(System.out);
    putting the data in the node seems excessive to me.
    thanks
    AP

  • WLI: Can't call synchronous web services from async business process?

    I have three web services, X, Y, and Z, that I want to call from a business process B. X is asynchronous, Y and Z are synchronous. Therefore, B must be asynchronous. B is called from another business process, A, that must be synchronous. So, I have A call B synchronously using the SyncAsync pattern described in "Best Practices for Oracle WebLogic Integration Application Life Cycle". This worked fine in earlier development when I was only calling X from B. However, when I try to add synchronous calls to Y or Z and run A, I get the following error message from B:
    com.bea.control.classic.ServiceControlException: Attempting to perform the client
    callback 'doY' while servicing a blocking request from the same client.  This can
    result in a deadlock condition.  An @jws:message-buffer tag should be placed on
    the synchronous operation or on this callback.This is obviously an old error message, since it recommends an annotation in the old style. Anyway, what can I do? Shouldn't it be possible to invoke web services synchronously from process B? If so, then how? I don't know what synchronous operation it's talking about -- is it A's call to B? As for the callback, I don't see a separate callback. Annotating the SBControl's method with weblogic.jws.MessageBuffer did no good, and I can't use com.bea.control.annotations.MessageBuffer because the method doesn't return void. Can I make this work without rewriting B, and if so, how? It'd be nice if I could call X, and then call Y and Z while waiting for X's callback.
    Alternatively, I could rewrite my processes so that A calls a new process C synchronously, which in turn calls B (which calls X), Y, and Z. That should work, right? Thanks for any help y'all can give me.

    Greetings everyone,
    We have found a solution to this problem, and it is very much like one offered by Trinidad, except there was some confusion in my understanding.
    http://sql-patch/B1WS/webreferences/LoginService.wsdl
    Indeed, the url http://localhost/Service.asmx appears in the WSDL files, as well as the web.config.
    I changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl in the WSDL files only.  This did not work.
    We then found it in the web.config file also, and changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl also.
    The reason I was using this URL is because the files exist there.  Looking at IIS, there is no Service.asmx anywhere in the B1WS path, and this confused me.
    This got us one step further, but now a new error was showing itself -- 405 Method Not Allowed.
    It turns out that the URL we needed to change it to is this:
    http://sql-patch/B1WS/Service.asmx
    That is, we replace localhost with the name of the machine, and NOTHING else.
    This seems to have solved it for us, and is hopefully useful for you.
    Thanks all,
    Mike

  • Is it possible to make synchronous web service calls?

    Hi all,
    Is it possoble to get a web service call to block and wait
    for a response rather than doing it asynchronously using
    flex/action script?
    thanks

    quote:
    Originally posted by:
    Sean Hughes
    peterent - no offense, but your suggestion is a hack. All we
    need is a timeout value.
    In support of the flash player's design I'm going to have to
    disagree with you here. It is completely normal in any multi
    threaded environment to make all functionality non blocking by
    default. Blocking by design can be implemented with semaphores, and
    is not a hack. To implement simply create a flag such as
    'hold:bool' init it to false when your application starts. Set it
    to true just before the web services send() method is called. In
    the result handler you set it back to false.
    In this way you have complete control over what should be
    blocked and what should not be blocked, by simply testing the
    'hold' semaphore. In this way the GUI itself, and all non dependent
    functionality stays alive. A timeout value would arbitrarily block
    all functionality for a fixed amount of time if the request was
    never filled. Although a semaphore could be used to do this as
    well, it has far more flexibility, and users have notoriously
    shorter timeout values than developers.
    j

  • Late response from a sap web service or timeout

    Hi,
    I have developed a function module an exposed it as web service. The consumer developed by the partner is a java client. Every request for the ws lasts 18 seconds. The response time is unacceptable. I have developed a .net client and called the ws. the first call lasts nearly as long as the java client but the repsonse time for successive calls is very short.
    How can I get the responses faster with the java client?
    thanks,
    - ferudun

    Paula,
    I suppose you're using CFINVOKE (http://www.activsoftware.com/code_samples/code.cfm/CodeID/44/ColdFusion/Invoking_SOAP_Web_Services_with_ColdFusion_MX_CFINVOKE_Tag) or are you using a third party tool like CFX_SOAP (http://www.activsoftware.com/products/productdetail.cfm/id/1015)?
    Are you working with WebAS 6.4 or 6.2?
    It works with web services created with WebAS 6.4, but you should generate proxy classes. Check Thomas' weblog (second part of it)->https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1012. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    The WSDL generated by this method is more standard than the one generated when you just Remote enable an FM and look at the webservice browser.
    Th core of CF MX is Java and that engine is rather strict in standards.
    Eddy

  • BP as synchronous web service

    Hi,
    is it possible to use a business process in ALBPM in a synchronous manner, i.e. return the output of the entire (short) BP directly in the HTTP response of a Web Service invocation?
    If so, how?

    in 6.0 you can use PAPI-WS which has a "runProcess" method, which is a proxy to the Java API method.
    Using Process-WS that option is not available currently.
    MAriano Benitez
    http://www.bea.com/beaworld/

  • Getting error while deploying a simple web services

    Hi
    i am new to web services when i am deploying the web service using
    deployment descriptor(WSDD) file using admin client i am getting the follwing error can any body help regarding this.
    Mydeployment descriptor is
    deploy.wsdd
    <deployment xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <service name="MyService" provider="java:RPC">
    <parameter name="className" value="samples.userguide.example3.MyService"/>
    <parameter name="allowedMethods" value="*"/>
    </service>
    </deployment>
    I am getting exception as
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\clas
    ses>java org.apache.axis.client.AdminClient deploy.wsdd
    Feb 5, 2008 2:34:54 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax
    .mail.internet.MimeMultipart). Attachment support is disabled.
    Processing file deploy.wsdd
    Exception: AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.ConnectException: Connection refused: connect
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Conne
    ction refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSoc
    ketFactory.java:153)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSoc
    ketFactory.java:120)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
    91)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
    va:404)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
    y.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:1792)
    at org.apache.axis.client.AdminClient.process(AdminClient.java:439)
    at org.apache.axis.client.AdminClient.process(AdminClient.java:404)
    at org.apache.axis.client.AdminClient.process(AdminClient.java:410)
    at org.apache.axis.client.AdminClient.process(AdminClient.java:320)
    at org.apache.axis.client.AdminClient.main(AdminClient.java:463)
    {http://xml.apache.org/axis/}hostname:MUM-12016RS

    Hi Jhansi,
    Whether u create HRconnDS in ur Weblogic server
    If not create it ...
    If yes just check it out whether u gave a correct connection string for it......
    Regards,
    Suganth.G

  • Slow response when calling a web service from an ADF client in JDev 11g

    I have generated a web service (WS) for a stored procedure package with 3 functions. The WS has less than 1 second response times when I use the standard WS testing facility. I then created a data control for the WS selecting the default values in the JDev wizard. When I test the functions from a very basic ADF client the response times for the same functions are between 3-4 seconds i.e. very SLOW compared to the actual response time of WS. I need some advice on how to investigate this performance degredation as seen from the ADF client.
    Could the problem be that the data control was created from a web service in the same project? Maybe it is necessary to have them in separate projects or create a proxy?
    I created and tested the web service with the standard WS test tool and then simply went on to create a data control from this web service for use from a ADF client.
    Some background info:
    I saw the following warning in step 8 of the WS creation wizard:
    "The configured policy store location at "C:\Oracle\Middleware\jdeveloper\j2ee\home\gmds" is invalid. Application cannot read policies from this location. Check that the directory name is correct and the location exists."
    Also I can confirm that there is no j2ee directory in my environment.
    The application server logs the following for each call from the ADF client:
    009-apr-01 15:55:22 oracle.adf.model.connection.webservice.impl.WebServiceConnectionMessages debugGetSaajInteraction
    INFO: Creating a SaajInteraction for oracle.j2ee.ws.model.OperationImpl@1c81d2c
    2009-apr-01 15:55:22 oracle.adf.model.connection.webservice.impl.WebServiceConnectionMessages debugGetSaajInteractionResult
    INFO: Created [email protected]79edc for oracle.j2ee.ws.model.OperationImpl@1c81d2c
    2009-apr-01 15:55:22 oracle.j2ee.ws.rm.LogMessages logExceptionAsWarning
    VARNING: Internal error: oracle.wsm.policy.model.PolicyModelException: WSM-01647 : There are no policies that match the specified category wsrm and resource pattern {1}.
    2009-apr-01 15:55:22 oracle.fabric.common.AbstractSecurityInterceptor init
    INFO: AbstractSecurityInterceptor:init(), client.mode.jse==ture and isJEE==true, probably is a case of JEE client calling JSE client
    2009-apr-01 15:55:22 oracle.wsm.agent.WSMAgent init
    INFO: WSMAgent is initialized for category=management, function=agent.function.client, topologyNodePath=null, isJ2EE=true
    2009-apr-01 15:55:22 oracle.fabric.common.AbstractSecurityInterceptor init
    INFO: AbstractSecurityInterceptor:init(), client.mode.jse==ture and isJEE==true, probably is a case of JEE client calling JSE client
    2009-apr-01 15:55:22 oracle.wsm.agent.WSMAgent init
    INFO: WSMAgent is initialized for category=security, function=agent.function.client, topologyNodePath=null, isJ2EE=true
    2009-apr-01 15:55:24 oracle.wsm.common.logging.WsmMessageLogger logSevere
    ALLVARLIG: error in the Oracle WSM Policy Resolver Initialization, because incorrect configuration is passed: {0} {1}
    Edited by: user10601664 on Apr 8, 2009 7:11 AM

    Find solution. Check this thread:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
    The com.sap.tc.webdynpro.model.webservice.api.IWDWSInvocationModifier interface can be implemented by an application using the Adaptive Web Service model in order to modify the web service invocation object just before it's execution. Invocation modifiers need to be registered with the executable model class for which invocation is to be modified:
    Request_NumberToWords requestMO = new Request_NumberToWords(model);
    requestMO.wdSetInvocationModifier(
      new IWDWSInvocationModifier() {
        public void doModifyInvocation(Object port) {
          HTTPControlInterface httpItf = HTTPControlFactory.getInterface(port);
          //timeout for this WS invocation is 120 sec; don't use global config. setting of WS-Runtime
          httpItf.setSocketTimeout(120000);
        public void doModifyAfterInvocation() {}
    Best regards.

Maybe you are looking for

  • Data modeling dilemma for EAV oriented problems in Data Modeler

    Hello, Dealing with EAV( entity attribute value model ) oriented structure of data. So this look like this: Entity( Entity_Id number , Entity_Name varchar2, Entity_Desc varchar2 ) Entity that list attributes and some meta data on characteristics of a

  • FIM R2 - best practice handling large AD groups

    On attempting to create large security group (with 35k users) in AD, i get "dropped connection from the domain controller. The MS AD guy we have attached here tells me that there are some limitations on LDAP and even some known issues with writing 5k

  • -5002 Address is empty [OCRD.CardCode][line: 0]

    i upgraded to PL 36 i have a JAVA code the inserts BP. When it tryes to insert a NEW BP, it gets this error: -5002 Address is empty OCRD.CardCode line: 0 Everything else works fine, such as inserting documents. If i supress the BPAdresses part, it in

  • Can I use ios7 on ipad2?

    Can I load ios7 onto my ipad2?  When I click on software update I get a message that I need 2.9 GB available space but the iPad itself tells me that I have over 5 GB available. Thanks for any information.

  • Log for process chain.

    Hello Gurus,        after my process chain runned today sucessfully, I want to check this running in the log view, but after I chose "yesterday and today" and got into log view, there are only log for "03/05/2010" and "02/26/2010". please how can I g