Time Service usage within WL.

Hi:
I would like to use Time service to schedule async execution on my
classes. However, all the examples show how to use it from a client. I
would like to use it from within a servlet. I would also like to avoid
any unnecessary overhead in calling t3 client utilities.
So the questing is this: is there a nice way to directly get a handle to
the time service from within a servlet?
I would appreciate any help in this matter.
-- Paul

Paul Iter wrote:
>
Hi:
I would like to use Time service to schedule async execution on my
classes. However, all the examples show how to use it from a client. I
would like to use it from within a servlet. I would also like to avoid
any unnecessary overhead in calling t3 client utilities.
So the questing is this: is there a nice way to directly get a handle to
the time service from within a servlet?Yes. Call the static method:
     T3ServicesDef services = weblogic.common.T3Services.getT3Services();
     ScheduledTriggerDef std = services.time().getScheduledTrigger(....);

Similar Messages

  • Query for web services usage within BOXI R2.

    Do we need a license to use the web services provided within the BO XI R2 framework ?

    With having a Business Objects XIR2 Enterprise system, you have the license to use these web services, and our other SDK's.

  • Is it possible to view individual SSL-proxy service usage (TPS)?

    Hi,
    Can the ACE provide any detail above and beyond just the overall ssl-connection rate for a particular context?
    I have an ACE with two contexts and multiple ssl-proxy services configured within each and it would be really helpful to know the ssl-connection rate associated with each service (current, average, peak, etc) as I've got the issue where the SSL resource limit for one of the contexts has been reached and I don't know which service has jumped up in usage;-
    Allocation
    Resource Current Peak Min Max Denied
    ssl-connections rate 0 250 250 250 351
    I can set up custom MIB pollers based on OID values within our SolarWinds network monitoring system so even if the information isn't directly available through the ACE CLI but has an associated OID I'd be grateful for the info if any one knows it (or even just the OIDs that contain the connection rate values from the 'sh resource usage' command so I can graph the overall usage against date/time within SolarWinds).
    Thanks
    Matthew

    Matthew,
    I do not know the OID to poll the service-policy info.
    But if you do a 'show service-policy ' at regular interval and compare the hitcon, you can compute the connection rate for each service policy individually.
    Gilles.

  • Sharepoint 2013 search error - The search application 'Search Service Application 1' on server is not provisioned.Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running on the server.

    Hi All,
    I'm getting the below error in My SHarepoint 2013 search Administration page.
    Crawler background activity - The search application 'Search Service Application 1' on server ""  is not provisioned. Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running
    on the server.
    and when i click on Crawl Log and content source
    it throws the below error
    The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether
    the service is enabled. This might also be because an indexer move is in progress
    When i check the search status
    Get-SPEnterpriseSearchServiceInstance, it shows all the components are online.
    As of now search service application is online and search is working.But not sure why it throws the above error.
    I have restarted timer service,search service in services.msc and cleared the sharepoint cache as well.
    But no luck,This is happening in my prodcution environment.
    Any help will be greatly appreciated.
    There are the logs i have found
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.73 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djs2 High [Forced due to logging gap, cached @ 05/23/2014 13:03:22.76, Original Level: VerboseEx] {0} d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.80 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General 8nca Medium Application error when access /_admin/search/listcontentsources.aspx, Error=The search service is currently offline. Visit the Services
    on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.   at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on Server page in SharePoint Central
    Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e)    
    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajlz0 High Getting Error Message for Exception Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on
    Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General aat87 Monitorable  d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24q Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present in the farm. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache'
    - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache:
    http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3-c3e4-4097-85fd-aa5248346d2e d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e)).
    Execution Time=109.695855199474 d4c6939c-b10d-4000-6d95-14caeefe67df
    Anil Loka

    Please try below mentioned steps:
    1. Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service Timer Job" > Disable
    2. Then open windows administrative services (services.msc), stop SharePoint Timer Service
    3. Clear SharePoint Timer configuration cache by following steps mentioned in below blog:
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    4. Start SharePoint Timer Service and give it a few seconds so that the new XML files from the location you deleted then are re-populated.
    5.Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service" Timer Job > Enable
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • My battery runs low very fast (three hours). I looked in the usage settings and it seems the time for usage and stand-by are the same, allthough i did have my iphone on stand-by!! What can i do?

    Community,
    I have a problem with my iphone 4. Every few months my battery starts draining within a few hours. I have tried all kinds of battery saving tips, but they don't help. When i go to the settings/general/usage is can see that the time for Usage and Stand-by are the same, so my phone is fully on all the time this explains the draining. But in reallity i turn my phone to stand-by most of the time, i mean the screen is black and all???
    The first and second time a had this problem, both a few months a part,  i restored my phone and it was solved. This time i restored my phone but this did not help!! And restoring my phone every two months is not my preferd way of solving this problem.
    Does anybody have an idea on how to solve this problem? can anybody help me?
    best regards,
    Merijn

    Restoring is the answer. It sounds as if there is a rogue process constantly draining your battery.
    The issue you face is that, if you restore your backup thereafter, you risk the problem coming straight back with your files.
    Store your files individually and it is time to start fresh.

  • Calling a Portal Service from within a Web Dynpro DC

    Hello,
    I am trying to call a Portal Service from within a Web Dynpro development component without sucess.
    Can anyone give me some hints on the necessary steps in order to accomplish this task?
    Thanks
    Diz

    Hi Diz,
    I tried doing the same thing by following the steps as mentioned by you. Just to re iterate,
    1. Created a DC "Portal Application Standalone" project by the name myservice.
    2. Created a portal service inside myservice by the ame AmitsService.
    3. Exposed IAmitsService.class in the public part.
    4 Build and deployed the DC on server and tested it through an abstract portal component and it worked FINE !!
    Now..
    5. Created anoter DC of type WebDynPro
    6. Added SAP_JTECHS -> epbc.prtapi._api as a "Used DC" with dependency build time and runtime
    7. Specified the sharing reference in the properties as PORTAL:sap.com/myservice
    8. Tried to reference the service using the following code..
    IAmitsService portalservice=(IAmitsService)WDPortalUtils.getServiceReference(IAmitsService.KEY);
    9.Build and deployed the DC.
    10. When I run the application I am getting the following error
    Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.engine.frame.core.load.SAPNoClassDefFoundError: com/sapportals/portal/prt/service/IService
    Exception id: [000D6008418B005C0000002C00000D200004163CE6719E1D]
    PLEASE ADVISE

  • Is the anyway to get a report of component usage within an Application.

    It would sure be 'nice' to have a report of the component usage within an Application. I am most interested in where the LOVs are being referenced. It is extremely time consuming to check every report/form item by item. I'm sure this information is available 'somewhere' within the Portal schema but I don't know where. Anyone got any ideas? Thanx in advance

    Such info can be obtained from Portal schema.
    Those tables are not granted to public.
    How do you plan to use it? For your own maintain purpose?

  • Run time services - RTS

    Hi Experts,
    Pl. let me know the below, (actually, i have searched in SDN and google before psoting this question)
    1 - Wht is RTS - Run time services?
    2 - Wht are they (I knew one, its Field Symbols)
    3 - How they can be used in our ABAP (I knew about the usage of Field Symbols)
    thanq

    .

  • Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in monochrome instead of colour? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in

    Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in the same monochrome structure (instead of appearing in colour as it is now when i open in PS, not even monochrome)? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in my 5D)?
    1. Basically I am taking photos with a monochrome setting with my 5D and the screen shows monochrome.
    2. when i import this onto my computer and open with PS, it opens in colour.
    3. when I change this to Monochrome in PS. (It cannot read my monochrome setting with my preference of the greyscale mix when I viewed it on my 5D)
    4. my question is: is there a way so that PS can read the monochrome setting from my 5D and display the same monochrome setting as my 5D instead of a different one from PS.
    Lily

    you need camera raw 6.7 or better.
    i don't know what version of ps you have so i can't say if it can be updated to use that, but update anyway.
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html
    if you can't update your cr sufficiently, use the dng converter. DNG Converters:
    Win
    Mac

  • One Time Service

    Dear Friends,
    Just like there is a one time customer and vendor account group for vendor and customer who we deal with only once a while.
    Is there something like one time service in MM.?
    We have few services defined in AC01 and attached a valuation class to each service. What if we need to pay for some service (one time), there shouldn't be a need to create a service master.
    When we create the PO for such one time service not defineed in AC01, it saves the PO, but does not allow us to perform the Service entry sheet.
    Error it throws is: Account determination for entry CAAI KBS 0001 not possible. (CAAI - is our Chart of Accts), what is it that is related with key KBS in GBB of OBYC?
    Thanks
    Sanjay

    no answer, close file
    Thanks

  • EJB Timer Service

    I've been trying to get the javax.ejb.TimerService working. As stated in the J2EE 1.4 tutorial, it is possible to use the TimerService in an entity bean. In fact, it states that if I wanted a timer for each instance of an entity bean, to create the timer in the entity bean's ejbCreate(). However, I keep getting an IllegalStateException when attempting to do so. I have implemented TimedObject in the entity bean, so I'm a little confused. Here's my ejbCreate:
    public String ejbCreate(String clientID, long timeout) throws CreateException {
    setClientID(clientID);
    TimerService timerService = context.getTimerService();
    //dies on next line
    Timer timer = timerService.createTimer(getTimeout(), "state 1");
    return clientID;
    Any help is appreciated....
    Thanks
    Raj

    getTimerService is allowed in ejbCreate but Timer Service Methods are not . You can use Timer Service methods in ejbPostCreate(), though.

  • Deprecation of time services

    Hi all,
    in WebLogic 6.1 time services are deprecated
    (http://e-docs.bea.com/wls/docs61/notes/issues.html#1031137). Own
    threads are not allowed by the specification. How can I correctly
    schedule items in WebLogic 6.1? Ideas?
    Thanks,
    Daniel

    I don't know what BEA's opinion is on the use of the standard JMX
    timer service (javax.management.timer) in WLS 6.1, but these
    interfaces are very nice to use, and they appear to function
    well.
    Perhaps one of the BEA folks might want to comment on this approach.
    Ben
    On Mon, 30 Jul 2001 13:08:26 -0700, Michael Girdley <----> wrote:
    You can still use 6.1 Time. It's only for client side. This will be fixed
    in the final docs.
    MG
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Daniel Hoppe" <[email protected]> wrote in message
    news:[email protected]..
    Hi all,
    in WebLogic 6.1 time services are deprecated
    (http://e-docs.bea.com/wls/docs61/notes/issues.html#1031137). Own
    threads are not allowed by the specification. How can I correctly
    schedule items in WebLogic 6.1? Ideas?
    Thanks,
    Daniel

  • Time-Service Warning ID 12

    In My Windows Server 2008 R2 OS in the Event Viewer there is an error pertains as Time-Service Warning ID 12 states-(Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the AD PDC emulator
    for the domain at the root of the forest, so there is no machine above it in the domain hierarchy to use as a time source. It is recommended that you either configure a reliable time service in the root domain, or manually configure the AD PDC to synchronize
    with an external time source. Otherwise, this machine will function as the authoritative time source in the domain hierarchy. If an external time source is not configured or used for this computer, you may choose to disable the NtpClient.) What is this error?
    And What is the remedy for this error?
    System
    Provider
    [ Name]
    Microsoft-Windows-Time-Service
    [ Guid]
    {06EDCFEB-0FD0-4E53-ACCA-A6F8BBF81BCB}
    EventID
    12
    Version
    0
    Level
    3
    Task
    0
    Opcode
    0
    Keywords
    0x8000000000000000
    TimeCreated
    [ SystemTime]
    2011-12-10T05:11:30.401496700Z
    EventRecordID
    18594
    Correlation
    Execution
    [ ProcessID]
    1152
    [ ThreadID]
    2500
    Channel
    System
    Computer
    WIN-6JQT8F105TE.mumthaz.contoso.com
    Security
    [ UserID]
    S-1-5-19
    EventData
    MumthazMuhsin

    Hello,
    See that: http://technet.microsoft.com/en-us/library/cc756545(WS.10).aspx
    This
    posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Microsoft Student
    Partner 2010 / 2011
    Microsoft Certified
    Professional
    Microsoft Certified
    Systems Administrator: Security
    Microsoft Certified
    Systems Engineer: Security
    Microsoft Certified
    Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified
    Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified
    Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft
    Certified Technology Specialist: Windows 7, Configuring
    Microsoft
    Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified
    IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

  • One time service's service order

    Dear All,
    One time service order's service is giving error msg that " enter all mandatory fields and asking for service code"
    Actually we have configured that in 1 time service's service order , SO wont ask for service code and it will work without master data,
    Please hlp.
    Shreya

    Hi,
    The Service Procurement process for Services without Service Master Record is described below:
    FOR CREATION OF SERVICE PO:
    1. Enter the Transaction ME21N, with Standard Document Type.
    2. Choose Item category D and Account Assignment (say) K.
    3. Enter the Short Text describes the Service at Item level in the field Short Text
    4. Enter the Plant, Material Group, Organizational data etc.
    5. At Item Detail screen, go to SERVICES Tab and maintain there also Short Texts which give some description that describes the Services for the Item Service activity.. maintain Qty, Value, UoM. when you proceed furher, system prompts you to enter the Cost center and G/L Acct for each service item. Then save the PO.
    FOR SERVICE ENTRY:
    1. Go to Transaction ML81N, choose Other Purchase Order tab, enter your PO Number, select Create Tab.
    2.Under the PO No, in the Short Text field, maintain a short text Like "Fist part Entry"
    3. At the item level, at the bottom of the screen, click Service Sel. Tab. System prompts a sub screen and there you select "From Purchase order radio button". Automatically navigates into Service selection screen, there you select your required Services.and click on Copy Services Tab.
    4. With this action, your Services from the PO will be copied to the Service Entry Sheet. There you can change Quantities accordingly.
    5. After this, click Flag icon on the top of the screen for Acceptance of Services and save the Entry sheet. Ure traffic light turns to Green and you'll get a Matl Document No.
    After this you can proceed to MIRO for Invoice posting, just like normal PO.
    Regards,
    Kanth
    K

  • Call a Web Service from within an e-Sourcing script

    Hi Guys
    I would like to know wether anyone has successfully been able to call a Web Service from within an
    e-Sourcing script? If you have, can you please share your experience and code?
    Thank You

    Hi Faaiez -
    As with any use of Web Services, however, you should carefully consider the security issues that may come up. How, for example, will the Web Service server validate that the Web Service client (E-Sourcing) is properly authenticated? Will password information be included in the web service call? You will find that it is very easy to make a web service call, but I would encourage you to carefully consider security before implementing a productive solution.
    Web service calls can be made using raw Java web service APIs from the open source Axis library which is included with E-Sourcing; this approach is slightly more difficult to code, but very dynamic. Web service calls can also be made using proxies. In one solution that I worked on, we generated java proxies for the web service, compiled those proxies into a Jar file, and included that jar file as a custom jar in E-Sourcing. Let me provide a few more details on each of these approaches.
    Using raw java web service APIs that are part of the Service and Call classes, I prototyped a web service call to Googles sample spell checker web service. Here is the code:
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.namespace.QName;
    String endpoint = "http://api.google.com/search/beta2";
    Service  service = new Service();       
    Call call = (Call) service.createCall();       
    call.setTargetEndpointAddress( new java.net.URL(endpoint) );       
    call.setOperationName( "doSpellingSuggestion" );       
    call.setOperationName(new QName("urn:GoogleSearch", "doSpellingSuggestion"));       
    call.addParameter("key", XMLType.XSD_STRING, ParameterMode.IN);       
    call.addParameter("phrase", XMLType.XSD_STRING, ParameterMode.IN);       
    call.setReturnType( XMLType.XSD_STRING );       
    String ret = (String) call.invoke( new Object[] { "googlekey", doc.getDocumentDescription()} );       
    doc.setDocumentDescription(ret);
    This block of code does a very simple thing...it calls the Google "doSpellingSuggestions" web service with two parameters: a key provided by Google, and a string for which the spelling suggestions should be generated. I used the current document description as my sample string for the web service and I put the results back into the document description - remember, this is just showing how you can call the web service, not doing anything really intelligent or useful from a business perspective
    There is nothing special to E-Sourcing about the above code...this is really just using the Axis java classes to call a web service.
    The second approach that can be used is to generate Java proxies for the web service calls. The open source Axis library includes a tool called "wsdl2java". Using the WSDL for the web service, you can generate Java proxies. Java classes will be generated by the tool; these Java classes will then need to be compiled and included in E-Sourcing as a custom jar. Once they are part of the E-Sourcing deployment, they can be called like any Java API. If you were to examine the generated code, you would notice that it looks a lot like the raw web service code shown above...the generated classes really just provide a simpler interface to the same functionality.
    You can see this information and other E-Sourcing information at my blog at: http://www.sunshinesys.com/
    Rob

Maybe you are looking for

  • Two computers backed up on the same Time machine disk, one computer is dead. How to access data?

    Hi guys, I backed up two different computers on the same time machine disk. Now, one of my computer is dead. I can see the backups on my time machine disk. How can I get the backup data that belongs to dead computer. When I enter time machine, I only

  • Toshiba Satellite C40T-ASP4268FM Recovery messed up, windows 8 re install

    I bought this laptop Toshiba Satellite C40T-ASP4268FM, practically new, plastic protectors still attached. Tried to remove microsoft account by factory reset, because there is no other way to delete one. After that it asked me to check and restore wi

  • MacBook + Ethernet +360

    Hi, I'm sure the connection of Xbox 360 to Xbox Live via a macbook has come up loads before but I have been unable to find an answer to my specific query. I have had my MacBook for a few months now but stil not overly technical with it. I'm quite hap

  • Importing Flash swf

    Hello, I'm as new as it comes to Captivate. From what I've researched and seen, Captivate looks like an interactive Powerpoint that captures scores, answers, and responses,etc. Right now, I'm looking for an authoring program to help me use some of th

  • My ipad is disabled and says connect to iTunes??

    iTunes will not connect until I type in the password, but it is disabled so I cannot.  No devices appear in the sidebar and when I go to devices under File it will not let me select any options like "restore." How do I get access to my iPad again?