Down or otherwise inactive web services

I am using Weblogic 8.1 to generate a web services client that accesses a Microsoft .Net based web service. As you can imagine, the .Net webservice goes down all the time(we nicknamed it "Jerry Cooney"). When its down, the client app goes into a long wait and eventually times out. Problem is, our Weblogic application has quite a large number of users, so waiting threads quickly pile up, causing us to run out of available execution threads and eventually hanging the server.
Does anyone know of a way to control the timeout behavior of a Weblogic generated web services client so that we can stop trying to access a service that is completely down? Is there some other way to efficiently determine that a web service is down so that the call will only be made when the service is up? It seems like this is a problem many more people should be having, yet I find very little information on the internet about it. Am I missing something here?

I'm using WebLogic Server 9.2 and I can't find weblogic.wsee.transport.connection.timeout property.
When I'm trying to compile my simple application which use weblogic.wsee.transport.connection.timeout property, I gives following message:
[javac] Compiling 3 source files to /home/chaban/work/TestSDP/classes
[javac] /home/chaban/work/TestSDP/src/SDPClient.java:39: package weblogic.wsee.transport does not exist
[javac] stub._setProperty(weblogic.wsee.transport.connection.timeout, 15);
[javac] ^
[javac] 1 error
I have no idea where this property is defined.
Thanks.
Message was edited by:
Sergey Chaban

Similar Messages

  • Down-/Upload files via Web Services using a NON-SAP system!?

    Hello,
    is it possible to down-/upload files via web services using a NON-SAP system!?
    Regards,
    Jens

    Hi Jens,
    I am not sure about your requirement here. What i could understand is that you want to check whether service could handle file processing?
    1) Uploading file - You can build a Webservice which has import/export parameters as the file structures and implement the proxy class in such a way that the passed data is written to application server.
    2) Downloading file - Same as uploading file, but the proxy class would have the code to extract data from the application server and pass them as output parameter.
    Functionality of Non SAP system: The system which calls these services should be able to convert the output of proxy data into file in case of downloading the file and it should be able to convert the file data into export parameters in case of uploading file.
    Hope this helps.
    Regards,
    Prasanna

  • Binding web service to multiple drop-down fields.

    I am getting alogn quite well using Web Services with Adobe XFA Forms. I was able to bind very complex web services results to dynamic PDF Forms.
    I was also able to bind Drop-Down Items to a web service.
    I still need little help though.
    I have 2 Drop-Down Fields:
    Hijri Year
    Hijri Month
    They are retrieved by Web Service developed over SAP Systems.
    The web service will return a nested XML Structure of Hijri Year Array of Items, where each Year Item, will have nested array of months item.
    When I click on the button to execute the Web Service, the Year Drop Down is populated. So now how to populate the Month Drop-Down Items ?
    It is a bit tricky, and I cannot figure out what to do.
    Please help.
    Tarek.

    Well, I was almost about to do that with very little coding, but looks like it is not possible. I seems that I have to bind the XML to the dorp-down manually.
    I am using Stefan Web Service Per-Processor model. I am capturing the web service reulst, and loading the node I want to xfd.datasets.data.
    I am doing something like this:
    Sample XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
    <AttendancePeriod>
       <item>
          <Year>1430</Year>
          <Periods>
             <item>01</item>
             <item>02</item>
             <item>03</item>
             <item>04</item>
             <item>05</item>
             <item>06</item>
             <item>07</item>
             <item>08</item>
             <item>09</item>
             <item>10</item>
             <item>11</item>
             <item>12</item>
          </Periods>
       </item>
       <item>
          <Year>1431</Year>
          <Periods>
             <item>01</item>
             <item>02</item>
             <item>03</item>
             <item>04</item>
             <item>05</item>
             <item>06</item>
             <item>07</item>
             <item>08</item>
             <item>09</item>
          </Periods>
       </item>
    </AttendancePeriod>
    </root>
    DataConnection Post Execute Event:
    var rootXml = null;
    var soapFault = null;
    if (xfa.event.soapFaultCode)
    soapFault = {code:xfa.event.soapFaultCode, message:xfa.event.soapFaultString};
    else
    rootXml = xfa.datasets.connectionData.DataConnection.Body;
    preProcessor.processResponse(rootXml, soapFault);
    The Response Processor function:
    * Called after the web service response has been received.
    * @param rootXml XML node which is the root of the web service response XML data. Null if a fault occurred.
    * @param soapFault Object with 'code' and 'message' properties if a fault occurred; null otherwise.
    function processResponse(rootXml, soapFault)
    console.clear();
    if (rootXml)
      var AttendPeriod = rootXml.GetAttendancePeriodsResponse.AttendancePeriod;
      xfa.datasets.data.root.nodes.append(AttendPeriod);
      xfa.form.remerge();
      console.println(AttendPeriod.saveXML());
    else if (soapFault)
      console.println("Error = ");
      console.println("Fault code: " + soapFault.code);
      console.println("Fault message: " + soapFault.message);
    console.show();
    Then, I will bind the drop-down list to the XML.
    The above code is working fine, but the only problem is xfa.form.remerge(), which will clear all other fields, I am not sure why ?
    Seems I have to use a loop to bind the list items one by one, right ?!!
    Tarek.

  • Certificate error while connecting to multiple web service

    I am having a web service test client through which I can connects and get reports from multiple web services.
    In Development unix box, we are using "self-signed certificate" using keystore type JKS. In Production server, we are using certificate from CA.
    The web service is running in Development and in Production.
    Now I have developed single test client with a drop down selection for different web services. For example, if we select "Development", the request will go the development web service and if we select "Production", the request will go to Production web service.
    Now while connecting to Develpment service, we are settings the below certificates details Because we are using the self signed certificate.
    System.setProperty("javax.net.ssl.keyStore",keyStoreFileLocation);
    System.setProperty("javax.net.ssl.keyStorePassword",keyStorePassword);
    System.setProperty("javax.net.ssl.keyStoreType", keyStoreType);
    System.setProperty("javax.net.ssl.trustStoreType",trustStoreType);
    System.setProperty("javax.net.ssl.trustStore",trustStoreFileLocation);
    System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
    I am clearing the System properties using the System.clearProperty() while pointing to Production service. because in Production we are using the CA certificate from Thawte so these details are not required at all and our JRE (java 5) is pre configured to support that CA certificate.
    I am using Resin-2.1.12, axis1.2 and java5.
    Now the problem is
    (1) for the first time, when I send the request to Production Service URL, the report gets generated. For the next time when we are running against Development, it's giving below certificate error.
    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    (2) Now restart resin and run the test client against Developemnt service URL, here report gets generated and for the next time, run the test client against Production, it's giving the certificate error.
    So for the 2nd request, it always gives the error irrespective of the web service instance selected.
    Please suggest ....thanks in advance.

    Hi  ,
    No, due to the issue is happening only on one computer.
    The error "(401) Unauthorized" usually indicates that the connection has been established but the permission check fails.  InfoPath Form Services uses the application pool identity of the web
    application to connect to resources.
    Does the account  which login the computer have permission to connect to User Profile Service Application?
    For a workaround, you can go to IIS Manager , set the User Profile Application Pool to Anonymous Access and try again.
    Also you can have a look at the blog:
    http://sharepointconnoisseur.blogspot.in/2011/04/how-to-resolve-401-unauthorized-error.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Failed to publish a web service

    Hi, I am not able to publish a web service today morning
    The error thrown is
    Service call failed. Error 400 (Bad Request) when requesting /webservicegroups/aeb419ce7f9f46b3a560536ea34a1416/modelpackages/
    Please help me with this.

    There could be many causes for this error. Two most common causes in my experience:
    1. There is a split module between web-service input and web-service output path.
    2. If doing text analytics, forgetting to just pick the label column as an output as the output (you may need to insert a project columns module to do this).  -- otherwise the web-service would have to be able to return thousands of hashed values.
    Are you running into either of these issues?
    Thanks!
    -Luis
    Luis Cabrera. Program Manager -- Azure Machine Learning @luisito_cabrera Disclaimer: This post is provided &amp;quot;AS IS&amp;quot; with no warranties, and confer no rights.

  • Can't find java source to web services tutorial

    When I down load the Java Web Services Tutorial zip file, all that is in there are html files. I've read all sorts of references to the source, even a directory structure, but I cannot find the files.
    I have gone to:
    http://java.sun.com/webservices/downloads/webservicespack.html
    And clicked on the Java WebServices Tutorial, v1.5_01 Download.
    The java source files to the tutorial are NOT in that zip file.

    Hmm, the URL for the tutorial you gave isn't working for me.
    I've checked a bit more through the tutorial and JWSDP examples, and they all match for me. I'm looking at JWSDP version 1.5, and the tutorial here:
    http://java.sun.com/webservices/docs/1.5/tutorial/doc/index.html
    I can't find a 'HelloService' in this tutorial (I also have the tutorial downloaded, grep gave no results). The tutorial refers to, for example, to an example in <JWSDP_HOME>/xmldsig/samples/validate, which I have in my JWSDP. (The page that refers to this example is http://java.sun.com/webservices/docs/1.5/tutorial/doc/XMLDigitalSignatureAPI8.html#wp511406)
    If you're really looking at the tutorial version 1.3 (as the URL looks) that could explain it. So, my hunch is a version mismatch, but I could be way off the mark.
    -Tim

  • Problem with Sample Web Services Dictionary

    I have downloaded the latest jpdk.war file. At the ws provider's Test page, I am able to see
    WhoIs
    StockQuote
    Dictionary
    ZipcodePortlet
    LocationInformation
    WeatherInformation
    WeatherwithDefaultStyleSheet
    LocalTime Information
    LocalTemperature
    OTNNews
    ZipcodeInYourArea
    MessagingWebServices
    But when I try to test the Dictionary Web Service Portlet, I get an error on the browser:-
    Error: The listener returned the following Message: 500 Internal Server Error
    At the applicatin.log, it says:
    11/8/02 4:07 PM jpdk: [id=(null), instance=6872127_3_PREVIEW] ERROR: Failed to handle HTTP Request
    [SOAPException: faultCode=SOAP-ENV:Server; msg=service &apos;urn:MyBubble-SoapServices&apos; unknown]
    at oracle.portal.sample.v2.devguide.webservices.MyBubbleSoapServiceStub.getServiceResponsePublic(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.portal.provider.v2.webservice.RPCWebServiceRenderer.invokeService(RPCWebServiceRenderer.java:431)
    at oracle.portal.provider.v2.webservice.WebServiceRenderer.renderShow(WebServiceRenderer.java:468)
    at oracle.portal.provider.v2.webservice.WebServiceRenderer.renderBody(WebServiceRenderer.java:352)
    at oracle.portal.provider.v2.render.RenderManager.render(RenderManager.java:167)
    at oracle.portal.provider.v2.DefaultPortletInstance.render(DefaultPortletInstance.java:437)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(ProviderAdapter.java:1479)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(ProviderAdapter.java:1208)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(SOAPServlet.java:359)
    Can someone help? What is wrong? All the other portlets, eg StockQuote, weather are working.

    Currently following portlets are temporary down, as the external Web Services either are down or moved.
    7Dictionary
    7LocationInformation
    7LocalTime Information
    Please explore other samples to understand the Web Services portlets that support "Customize" and "Edit Defaults".

  • Problem running web service demo 10gR2 form

    Hi all,
    I have downloaded the Oracle Forms 10gR2 Demos from OTN and I have the problem while running WEBSERVICES form. When I am trying to change value of the currency drop down list to call web services I am getting Java exception with the message “msg=connection refused”.
    However I verified the installation of web services http://127.0.0.1:8889/demowebservice/Forms90CurrencyConverter
    and its working fine.
    Any suggestion will be much appreciated.
    Thank you in advance.

    I am not an expert on web services, but I believe this message indicates that the server you are trying to connect to (local machine) refuses to talk to you. The reason why can be many.
    Also see:
    Problem Calling WebService in Form

  • EP Web services need to be restarted after some inactivity period

    Hi All,
    My EP Web services go down after some inactivity period. The services need to be restarted.
    Can anybody help me on this?
    Thanks!

    Hi Sonali,
    Did you find the solution? We are facing the same issue. We have bunch of web services setup with SAML 1.1 authentication but after we refreshed our Quality system from production system, none of the web services are working. I cannot even see the call coming either in SRT_UTIL (under DELAY_L_<QID>) or in SOAMANAGER trace monitor.
    Your help will be highly appreciated. Thanks in advance.
    Thanks,
    Pratik

  • Top down approach for creating the web services in NWDS 7.1

    I am trying to develop a web service in top down approach.
    1) I created a Dynamic web project.
    2) Created a WSDL File using the WSDL Graphic editor.
    3) Now i am trying to create the Webservice from the WSDL file ,  i am getting the following error
    The SAP Netweaver Web service runtime does not support the service project type Dynamic Web Project.
    How do i created the web service from here on.
    Regards
    ABS

    In NWDS 7.1 i used to create webservice.I followed the process given in sap help.
    steps:
    1.      In the SAP NetWeaver Developer Studio, you create an EJB Project and an enterprise application project for the Web service.
    2.      In the EJB Project, you create an EJB Session Bean 3.0 and implement the business logic of the Web service.
    3.      You expose the EJB Session Bean 3.0 as a Web service, using the Web service wizard in the SAP NetWeaver Developer Studio.
    4.    You deploy the Web service endpoint on the application server.
    Thanks,
    Murthy.

  • Top-down web service approach with 10.1.2

    We are trying to develop a web service using the top-down approach (from WSDL to Java) in Oracle App Server 10.1.2. The how-to´s we have found use wsa.jar, but this jar is not available in 10.1.2 (it comes with 10.1.3)...
    Can the top-down approach be used in 10.1.2 ?
    How ?
    Thanks in advance
    Fer

    Hello,
    The OracleAS Web Service stack in 10.1.2 does not support the Top Down generation of Web services (generation of the WS from a WSDL).
    Can you move to 10.1.3, if not one migration path is the following, you do use Apache Axis in 10.1.2 to create topodown WS and when moving in 10.1.3 you will be migrating your Axis to the OracleAS Web Service 10.1.3 stack.
    Regards
    Tugdual Grall

  • Create a fragment with web service to populate the drop down list

    Hello,
    Can any one please advise/suggest on how to create a fragment in LiveCycle Designer ES with web service to populate the drop down list so I can re-use it for another form. I already have a drop down list to populate the data from the web serivice but need some advise on how to create a fragment for this drop down list so I can start to embed it in other forms as well.
    Thanks in advance,
    HD

    Did you follow the instructions and have a specific question?  Have you also looked at the documentation http://help.adobe.com/en_US/livecycle/9.0/lcdesigner_qs_fragments.pdf

  • Question about "top-down" web services development

    I tried to follow the Oracle "RPC literal top-down web services how-to" to develop a web service with a top-down approach but I have error when I try to compile with Ant the provided example.
    This howto is located at: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/rpc-lit/index.html
    The error I have is:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit&gt;ant
    Buildfile: build.xml
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    sub-init:
    gen-service:
    [echo] Generating service artifacts
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    wsa:
    [java] java.util.zip.ZipException: The system cannot find the file specified
    [java] at java.util.zip.ZipFile.open(Native Method)
    [java] at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:112)
    [java] at java.util.jar.JarFile.&lt;init&gt;(JarFile.java:127)
    [java] at java.util.jar.JarFile.&lt;init&gt;(JarFile.java:65)
    [java] Exception in thread "main"
    BUILD FAILED
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\build.xml:21: The following error occurred while executing this line:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\config\common.xml:63: Java returned: 1
    Total time: 1 second
    When I look at the common.xml file which is used by the build.xml one I have a class like:
    &lt;pathelement location="${ws.lib.dir}/orasaaj.jar"/&gt;
    The problem is that I do not have this jar file on my disk and I can't find it on the net. Maybe it is one of the root cause of my build failed.
    Does anyone experience this howto successfully and if someone can tell me where to find this jar file it would be great.
    Thanks

    I tried to follow the Oracle "RPC literal top-down web services how-to" to develop a web service with a top-down approach but I have error when I try to compile with Ant the provided example.
    This howto is located at: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/rpc-lit/index.html
    The error I have is:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit&gt;ant
    Buildfile: build.xml
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    sub-init:
    gen-service:
    [echo] Generating service artifacts
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    wsa:
    [java] java.util.zip.ZipException: The system cannot find the file specified
    [java] at java.util.zip.ZipFile.open(Native Method)
    [java] at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:112)
    [java] at java.util.jar.JarFile.&lt;init&gt;(JarFile.java:127)
    [java] at java.util.jar.JarFile.&lt;init&gt;(JarFile.java:65)
    [java] Exception in thread "main"
    BUILD FAILED
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\build.xml:21: The following error occurred while executing this line:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\config\common.xml:63: Java returned: 1
    Total time: 1 second
    When I look at the common.xml file which is used by the build.xml one I have a class like:
    &lt;pathelement location="${ws.lib.dir}/orasaaj.jar"/&gt;
    The problem is that I do not have this jar file on my disk and I can't find it on the net. Maybe it is one of the root cause of my build failed.
    Does anyone experience this howto successfully and if someone can tell me where to find this jar file it would be great.
    Thanks

  • Gracefully throwing a error when the web service is down

    Guys,
    I have web service calls in my application. (through web service data control).
    My Appliacation throws exception when the web service is down. i want to my application to throw some meaningful error on the UI.
    How this can be acheived?

    Hi,
    you can use a custom error handler defined in the DataBindings.cpx file or use a declarative exception handler in ADF Controller
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/web_adv.htm#CIHHBEEJ
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/taskflows_complex.htm#BACJCBIC
    Frank

  • Form Guide - Web Service for Drop down

    Running LC ES 1 8.2 with JBoss
    I have a form that I created in Designer and everything works fine in Workspace.  I decided to make the form into a Guide and have changed my web service so that it executes on the initialize event for the drop down.  I have a hidden button on the form that runs from the server and my code below also runs from the server.
    Page2.CompanyCodeBtn.execEvent("click");
    The guide renders fine in Workspace but the drop down does not display anything.
    Thoughts?  I don't see anything in my server log either.
    Thanks,
    John

    How are you populating the DDList - is there scripting that parses the incoming XML or is it simply a binding exercise?
    Paul

Maybe you are looking for

  • Releasing PO second time in ME28

    Hi Experts, The PO is approved in ME28 for the first time in the transaction code ME28. After approving the PO, changes are made later to the purchase order, which will again reassign the release strategy. This purchase order will again appear in the

  • Deploying a webservice on Jigsaw on Unix

    Hi All. We were able to successfully build and deploy a webservice on tomcat running on Windows. What we want to do is run it on a remote UNIX server running Jigsaw. What we're not able to do is find out where to actually put the war files and deploy

  • Is there a way to take the code form my iweb site and put in into iweb on a different mac?

    I had built my website on an old laptop - the hard drive shattered - and yes i was bad and didnt back up..... I want to update my site - but i dont want to start all over  - i just want to make some changes and re publish - Can i get the current code

  • IWeb Freezes Every Time it is Launched.

    I recently got a .Mac account and I've been using iWeb to publish a website to my .Mac domain. Just this evening, however, when I launched iWeb to make some changes, it froze after only about a minute, and I had to Force Quit it. I tried launching it

  • Can we change the Section heading in Lower letters

    Hi All, Can be change the heading of the section group according to our requirement. For example i want to add heading as Summary. Currently it is coming as all upper case letters. Please Suggest? Thanks, Malkit Singh