How to monitor progress of web-service calculation?  And abort it?

Hello. We're thinking of converting an existing Java radar calculation program into a web-service, so that it can be used by various interested parties. However, calculations can take some time (several minutes) and so we would like the client to be able to both show calculation progress and allow the user to abort the calculation if necessary. It is not obvious to us how to do this with a web-service. Are there any standard approaches to this problem? What's the best way of a client asking the web-service how a calculation is progressing? What's the best way for a client to abort a calculation? Any advice most welcomed.
Kind regards
Paul Howland
NATO C3 Agency
The Hague

You can't estimate the duration withour running the gather_database_stats. You can monitor it while it is running. (e.g. count the tables that have got updated statistics based on DBA_TABLES)
And if you run gather_database_stats, the default behaviour might well be to exclude tables which aren't "stale" while in the imported database the expectation is to gather stats on all tables.
(Similarly, the behaviour to gather column histograms (method_opt) may differ in an existing database from a newly imported database)
Hemant K Chitale
Edited by: Hemant K Chitale on May 14, 2013 10:13 AM

Similar Messages

  • How to expose a SOAP web service from HCP

    Hello All,
    Currently I am trying to create a SOAP web service within a HCP Java application to allow backend systems to consume data stored in HCP.
    This is the planned scenario:
    1. Create data in HCP - therefor I am using JPA and a oData Model.
    2. Backend uses web service to consume data from HCP - with this point I do have some problems.. I do want to create a SOAP web service in order to achieve this.
    Is there an easy way to create a SOAP web service in HCP? There are many tutorials in the internet of how to create a SOAP web service in 20 sec´s, but non of these helped me. I do was able to consume a SOAP web service in HCP coming from the ByD, but the other way around seems pretty complicated...
    Can I make use of the Eclipse functions to create a web service? (New --> Other... --> Web Services --> Web Service and than choose the Button up Java bean Web Service type)
    Have any of you some coding snippets that would probably help me out?
    I have unsuccessfully tried to use the @WebService, @SOAPBinding, @WebMethod notation in my java classes...
    Thank you,
    Swen

    Hello Nedelcho,
    Yes. All the required jar files are in the lib directory.
    Currently I am able to create a web service locally.
    But when I deploy that to the cloud server my JPA service is not working any more.
    Receiving the following error message:
    <?xml version='1.0' encoding='UTF-8'?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code/><message xml:lang="en">javax.naming.NamingException: Error while attempting to resolve reference [Root exception is javax.naming.NamingException: Cannot create resource  object instance due to exception in the object factory [Root exception is javax.naming.NamingException: Data source 'jdbc/DefaultDB' not available.]]</message></error>
    The web.xml contains the following:
    Any advice?
    Best regards,
    Swen

  • How do I invoke a web service?

    I'm new to web services... and I have to find a way to connect to the microsoft reporting services web service....
    But well I don't know how to connect to a web services...
    Can someone direct me to a java tutorial about invoking web services?
    Please? =)
    Thanks,
    Renato Fontes

    Enter the string without the quote, then try to switch to the XML view and add the quotes. This should be a workaround for simple values.
    You should also be able to generate a java client from JDeveloper in a few clicks, using the Wizard. As you can generate the JUnit template for the proxy (or stub), it's usually faster to re-run your test.
    If this does not work for you, can you post the WSDL so we can see if there is any reason it does not work for you.
    All the best,
    -Eric

  • How to call a SAPME web service from MII

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    Hi,
    I can config the SAPME web service ItemServiceService
    I used Config Links to assign values in request ItemByBasicDataQuery_sync, such as material, revision, site.
    But get a almost empty response ItemByBasicDataResponse_sync, I wrote both web service request and response in file as  below.
    What did I missed?  Thanks!
    request:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ItemByBasicDataQuery_sync xmlns="http://sap.com/xi/ME">
    - <ItemByBasicDataQuery>
      <Item>MA1</Item>
      <Revision>A</Revision>
    - <SiteRef>
      <Site>HP</Site>
      </SiteRef>
      </ItemByBasicDataQuery>
      </ItemByBasicDataQuery_sync>
    response:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ItemByBasicDataResponse_sync xmlns="http://sap.com/xi/ME">
    - <Item>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemType>K</ItemType>
      <IncrementBatchNumber>S</IncrementBatchNumber>
      <LotSize>0.00</LotSize>
    - <StatusRef>
      <Status languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </StatusRef>
      <EffectivityControl>R</EffectivityControl>
      <Description languageCode="" />
      <UnitOfMeasure languageCode="" />
      <AssignSerialAtRelease>false</AssignSerialAtRelease>
    - <AssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </AssyDataTypeRef>
    - <InventoryAssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </InventoryAssyDataTypeRef>
    - <RemovalAssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </RemovalAssyDataTypeRef>
      <CreateTrackableSFC>I</CreateTrackableSFC>
    - <BomRef>
      <Bom />
      <Revision />
      <BomType>S</BomType>
    - <SiteRef>
      <Site />
      </SiteRef>
      </BomRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
      <CurrentRevision>true</CurrentRevision>
      <DrawingName languageCode="" />
      <EffectiveEndDate daylightSavingTimeIndicator="true" timeZoneCode="" />
      <EffectiveEndSequence unitCode="">0.00</EffectiveEndSequence>
      <EffectiveStartDate daylightSavingTimeIndicator="true" timeZoneCode="" />
      <EffectiveStartSequence unitCode="">0.00</EffectiveStartSequence>
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
    - <MaskGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <MaskGroup languageCode="" />
      </MaskGroupRef>
      <MaximumUsage unitCode="">0.00</MaximumUsage>
      <Panel>true</Panel>
      <PreAssembled>true</PreAssembled>
      <QuantityMultiplier>0.00</QuantityMultiplier>
      <QuantityRestriction>W</QuantityRestriction>
    - <SelectorActivityRef>
      <Activity languageCode="" />
      </SelectorActivityRef>
      <SelectorNote languageCode="" />
    - <TransferItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </TransferItemGroupRef>
      <UseCompFromDrawing>true</UseCompFromDrawing>
      <IsCollector>true</IsCollector>
      <CollectParentSerial>true</CollectParentSerial>
      <RequiresSerialNumberChange>true</RequiresSerialNumberChange>
    - <DocumentLinkList>
    - <DocumentLink>
    - <DocumentRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Document />
      <ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <Revision />
      </DocumentRef>
    - <DocumentContext>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
      <OperationRef />
    - <SiteRef>
      <Site />
      </SiteRef>
      </DocumentContext>
      <Sequence unitCode="">0.00</Sequence>
      </DocumentLink>
      </DocumentLinkList>
    - <ItemLocationList>
    - <ItemLocation>
      <Location languageCode="" />
      <Description languageCode="" />
      <Sequence unitCode="">0.00</Sequence>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemLocation>
      </ItemLocationList>
    - <ItemAlternateList>
    - <ItemAlternate>
    - <AlternateItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </AlternateItemRef>
      <Sequence unitCode="">0.00</Sequence>
      <Substitute>true</Substitute>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
      <RequiredSubstitute>true</RequiredSubstitute>
      <ValidAssembly languageCode="" />
      <ValidEnd daylightSavingTimeIndicator="true" timeZoneCode="" />
      <ValidRevision />
      <ValidStart daylightSavingTimeIndicator="true" timeZoneCode="" />
      </ItemAlternate>
      </ItemAlternateList>
    - <ItemDPMOList>
    - <ItemDPMO>
      <Opportunities unitCode="">0.00</Opportunities>
    - <OperationRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Operation />
      <Revision />
      </OperationRef>
      <ForAllOperations>true</ForAllOperations>
      <ForAllDpmoCategories>true</ForAllDpmoCategories>
    - <DpmoCategoryRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <DpmoCategory>TERMINATION</DpmoCategory>
      </DpmoCategoryRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemDPMO>
      </ItemDPMOList>
    - <TransferDataList>
    - <TransferData>
    - <TransferParent>
      <ShopOrderRef />
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </TransferParent>
      <TransferType>N</TransferType>
    - <TransferSite>
      <Site />
      </TransferSite>
    - <AlarmTypeConfigRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <AlarmType languageCode="" />
      <TypeSpecific>true</TypeSpecific>
      </AlarmTypeConfigRef>
      <DefaultChoice>true</DefaultChoice>
    - <ExportTemplateRef>
      <TransferDataType>S</TransferDataType>
    - <SiteRef>
      <Site />
      </SiteRef>
      <TemplateName />
      </ExportTemplateRef>
      <ReceiveRequired>true</ReceiveRequired>
      </TransferData>
      </TransferDataList>
    - <ItemShopOrderTypeList>
    - <ItemShopOrderType>
    - <ShopOrderTypeRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <OrderType />
      </ShopOrderTypeRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemShopOrderType>
      </ItemShopOrderTypeList>
    - <CustomFieldList>
    - <CustomField>
      <Attribute languageCode="" />
      <Value languageCode="" />
      <Description languageCode="" />
      </CustomField>
      </CustomFieldList>
      <CreatedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <HoldId unitCode="">0.00</HoldId>
      <LastReleasedDate daylightSavingTimeIndicator="true" timeZoneCode="" />
    - <OriginalStatusRef>
      <Status languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </OriginalStatusRef>
      </Item>
      </ItemByBasicDataResponse_sync>

  • How can I call external web service from BPEL

    1. I have "EmpService" webservice (simple webservice to get emp salary, not in BPEL domain) running in Oracle AS host1. If I want to call this web service from BPEL in another host2. How can I do this?
    2. Is it a must to deploy this EmpService to Oracle BPEL domain in order to call it? If so, how can I deploy it. As many BPEL example tutorial demonstrate the "obant" command to deploy the BPEL process, but not show how to deploy a external web service not in BPEL project. Please help. ...

    Create a partner link in BPEL and point it to the WSDL deployed on external server.
    this thread will also help
    Axis generated WS to Bpel WS

  • How can I create a web Service from my Web Dynpro Application ?

    Hi,
    Kindly let me know How I could create a "Web Service" with my Web Dynpro DC project.
    Awaiting your responses.
    Regards,
    Mahesh

    Hi Mahesh,
          You can use the web services by creating the Model in web Dynpro
    And if you want to publish your own web service then you have to create a EJB module and publish as a web service.
    Thanks
    Ninad

  • How to use WS-RM web Service from Session Bean?

    Hi all.
    Could you tell me the way how to call WS-RM web service(Staring BPM Process) from SessionBean?
    Our environment: SAP NetWeaver CE 7.2 SP3
    I do the following.
    I have created a BPM Process starting with Message Start Event.
    This Message Start Event was created by Service Interface(stateless and asynchronous) which was imported from ESR.
    I deployed this into my server and it worked fine in webservice navigator as a WS-RM WebService.
    But I can't call this webservice from SessionBean in EJBExplorer.
    I get the following error message:
    Caused by: This exception is wrapper of javax.xml.ws.soap.SOAPFaultException. com.sap.engine.services.webservices.espba
    se.client.bindings.exceptions.SOAPFaultException: Invalid WS-RM message. There are no WS-RM headers within SOAP message.
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.processFault(JAXWSUtil.java:412)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1366)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:960)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:915)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
    at $Proxy2753.zwsvCheckOrderdataMainprocessStart(Unknown Source)
    at jp.co.ogis_ri.WSTestSessionBean.exeWS(WSTestSessionBean.java:81)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    I created this SessionBean as follows:
    I created DCs for EJB and created SessionBean in EJB DC.
    I imported a WSDL file(WS-RM web service) from Service Registory and
    I created service clients and Service References.
    After that I implemented SessionBean to call web service checking with this help.
    http://help.sap.com/saphelp_nwce72/helpdata/en/44/4d2bb1c6b00597e10000000a155369/frameset.htm
    After deploying this EJB,I configured properties in nwa.
    Thanks
    Yuichi

    Yuichi
    Did you manage to solve this?  I'm doing something similar and seeing the same problem, although they're up to 7.3 SP7.
    Any help greatly appreciated.
    Lewis

  • How to call an external web service from OIM?

    Hi,
    I have a question on how to call an external web service from OIM within e.g. creating user process? How should it be done; through adapter and task in the process?
    Any recomendations?
    Thanks in advance!

    it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
    Lets do some divide and conquer:
    Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
    Once this works we can start looking at the web service call.
    Best regards
    /Martin

  • How can I invoke the web service manually in websphere?

    Hi
    I've developed a webservice application using Rational Application Developer (RAD). I deployed it in a websphere 6.1 application server, using the administration console to import the war file that I had previously exported with RAD.
    My webservice application is listed in the "Enterprise Applications" section of websphere's administration console as started.
    My question is: how can I invoke the web service manually? Is there some kind of websphere generated webpage that I can use to call it manually?
    I tried http://<server:port>/<contextroot> and http://<server:port>/<contextroot>/<servicename> in a webbrowser, but it doesn't work. Is it possible to invoke the web service manually, or do I need to develop a client?
    Thanks in advance
    Pedro

    Hi Bo Wang,
        Go to the Portal -> System Administration -> System Configuration
                               -> Portal Content folder
                               -> Open Visual Composer folder
        There you can see the Webservice Systems you have created through VC.
    You can delete the unwanted system here.
    Regards,
    Shemim

  • How do we deploy several Web Services under the same Root Context?

    We have several webservices, each in their own WAR file, running on OC4J 10.1.3. They each have their own Root Context and Oracle Welcome Servlet. This works well, and since they are all separate we can easily hot-deploy updated versions.
    The drawback is separate URL's like :
    .../RootContext1/WebService1
    .../RootContext2/WebService2
    .../RootContext3/WebService3
    How do we assemble our Web Services to share a single Root Context? We are hoping to achieve URL's like this :
    .../WebServices/WebService1
    .../WebServices/WebService2
    .../WebServices/WebService3
    Do we have to bundle them all into the same WAR/EAR (and loose the power of individual deployment) or is there another way?
    Thanks in advance!

    If each one is a separate WAR file, then at the OC4J level each one will need a separate root context as it gets bound into the default-web-app.
    I guess the corollary question here is if there is someway to combine multiple webservice endpoints into one WAR file -- which can then be mapped to a single root context.
    I'll try and get someone more WS savvy than myself to take a look at this for you.
    And Clever Apache is a viable option.
    cheers
    -steve-

  • How to Remove & Re-Enable Web Services on LaserJet printers supporting ePrint

    If your LaserJet printer has been disconnected from or failed to connect to Web Services, you may need to power cycle your printer to reconnect.  If that does not resolve the problem, you can remove web services, wait 30 seconds, then re-enable web services to re-establish your connection to ePrint and Print Apps. Note: this last step will result in a new email address being assigned to your printer.
    How do I remove HP Web Services for my LaserJet printer?
    Print a configuration page from your product, and locate the IP address.
    At your computer, open a Web browser and type the product IP address into the address line and press Enter. The HP Embedded Web Server opens.
    Click the HP Web Services tab.
    Select the option to disable Web Services.
    How do I enable or re-enable HP Web Services for my LaserJet printer?
    To use HP ePrint, you must first enable HP Web Services.  Re-Enabling Web Services uses the same procedure as enabling the Web Services.
    Print a configuration page from your product, and locate the IP address.
    At your computer, open a Web browser and type the product IP address into the address line and press Enter. The HP Embedded Web Server opens.
    Click the HP Web Services tab.
    Select the option to enable Web Services.
    When Web Services are enabled, ePrint information appears in the HP Embedded Web Server. Look for the e-mail address that is automatically assigned to the product. The product also prints an HP Web Services information sheet that contains this e-mail address and instructions
    If you were unable to register your printer in www.hpeprintcenter.com within 24 hours of printing your information sheet, you must re-enable the printer code by reprinting your information sheet.  The information sheet will also provide your email address if you have forgotten it.
    How do I print the Web Services Information Sheet for my LaserJet printer?
    You can only add the printer to your HP ePrintCenter account within 24 hours after printing the information sheet.  You can re-print the information sheet at any time from the printer control panel.  
    Print a configuration page from your product, and locate the IP address.
    At your computer, open a Web browser and type the product IP address into the address line. The HP Embedded Web Server opens.
    Click the HP Web Services tab.
    Click the Print Information Sheet button.
    I am an HP employee.

    To help improve the organization and information sharing in this forum this post/discussion has been closed and replaced. 
    Please see this post:  <link to new “Enable Disable Web Services on your printer” post. 
    If after reviewing the post above you still have questions/issues with your web-connected printer, you can either review and comment in existing posts in this forum that report issues like yours, or if necessary start a new post requesting assistance. 
    Miles
    HP Employee

  • How to deploy my own web services to the Start BPEL PM Server?

    Recently, I am learning the JDeveloper BPEL Designer(version 10.1.2.0), I had finished my first BPEL process CreditFlow flowing the quickstart guider.
    Now I wonder how to deploy my own web services to the Start BPEL PM Server? I mean I don't want to invoke the CreditRatingService as I did flowing the quickstart guider, but to invoke my own web servcies. Now I had made some web services with eclipse and deployed them to the tomcat5.0. but how can I invoke these my own web services just like I invoked the CreditRatingService in the JDeveloper BPEL Designer?
    Thank you!

    Copy the WSDL file from your Tomcat server onto your development machine. Add them to your project in JDeveloper. Then add a partnerlink and specify the WSDL location. Then add you role, variables and compile!

  • How to switch off ni web services

    I enabled the NIweb services by checking "Enable Web Server" in Tools/Options/Web Server: Configuration. As I do not need this functionality I disabled the feature, but still my compiled applications create a "niwebserver.conf" file causing a runtime error. How can I disable the Web Services function?
    Andreas L

    Hi Andreas,
    Exit LabVIEW. Rename your labview.ini file to something (to back it up). Ensure that there is no labview.ini file beside labview.exe. Now launch LabVIEW. If you are still getting an error, the error is not due to web services. We'll require more information to solve the problem. 
    If the problem persist, please try repairing the LabVIEW installation.

  • How to activate trace for web services

    Hi Experts,
    How to activate trace for web services in SOAMANAGER.
    We are not able to view the Payload trace of the error logs.
    Can anyone please let me know how to go about this???
    Regards,
    Ashwini

    Hi Ashwini,
    The thread below might be useful to you:
    [SOAMANAGER - Get the XML generated;
    Regards, Trevor

  • How to overload method in web services ?

    hi all !
    how can i overload a web services method ? , i hear about using javax.xml.ws.RequestWrapper , but when i try to use wsimport , it say : error dupplicate method.
    this is the sample from forum :
    package my.ws;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebService;
    import javax.xml.ws.RequestWrapper;
    import javax.xml.ws.ResponseWrapper;
    @WebService
    //(name="HelloWS", serviceName="HelloWSService")
    public class Hello {
          * Web service operation
         @WebMethod
         @RequestWrapper(className = "com.veera.Clac.CalculatorRequest", targetNamespace = "http://Calc.veera.com/")
         @ResponseWrapper(className = "com.veera.Clac.CalculatorResponse", targetNamespace = "http://Calc.veera.com/")
         public int add(@WebParam(name = "a")
         int a, @WebParam(name = "b")
         int b) {
              // TODO implement operation
              return 0;
          * Web service operation
         @WebMethod
         @RequestWrapper(className = "com.veera.Clac.CalculatorOverloadRequest", targetNamespace = "http://CalcOverLoad.veera.com/")
         @ResponseWrapper(className = "com.veera.Clac.CalculatorOverloadResponse", targetNamespace = "http://CalcOverLoad.veera.com/")
         public String add(@WebParam(name = "v")
         String v) {
              // TODO implement operation
              return "Veera";
    }thanks

    Hi, Eric,
    Thank you for your quick reply.
    The web service I am trying to develop is basically a generic Data Access Component to bridge between SQL server and a desktop .Net application. The application will have about 3000 users from WAN, therefore we want to have a server side component to handle connection pooling etc. Because of limitation of current servers, we are asked to develop a Java Web Service, instead of MS WS.
    To make the component more reusable, I am thinking to have methods like this in the service:
    RunQueryReturnRS(String Sql, WebRowSet, rs)
    RunQueryReturnInt(String Sql, int NumRecdImpacted)
    RunStoredProcedureReturnRS(….)
    RunStoredProcedureReturnInt(….)
    ……
    You see, I would like to get whole resultset back to client, including both metadata and data in a format of generic resultset. When I paged through the Sun’s document, finding WebRowSet is claimed to be seariable, and ready for Web Service. I thought if I can use WebRowSet that will save me time to write new classes to hold resultset info and pass back to client.
    Could you please tell me if it is a feasible approach?
    Thank you.
    -Qing

Maybe you are looking for

  • Visa Open and Close on every iteration of loop

    I have noticed that when you open the front panel of the Instrument I/O Assistant, the diagram starts with a visa session open, sets timeout property, writes, reads, parses data and ends with a visa session closed.  If I were to place this into a whi

  • Jittering on TV screen

    I've asked this question is the past, but I wanted to ask again before I send in my new silver iMac. We have PCE 4 and a new iMac with 2 gigs of ram. In FCE, every time I animate or move any items using keyframes, (graphics, text, LiveType, etc) they

  • Driver for Canon LBP-3000 printer

    to all, i could imagine tha there would be no driver of the LBP-3000 available for mac... i found a site, saying that there is a CAPT driver from a japanese canon's site. the problem is... the dirver fits only up to Mac OS X 10.4.4... the OS in my ma

  • Best practice SAP landscape

    Hello all, I would like to know if there is some kind of best practice regarding SAP landscape in a big company. For example is it recommended to have in the landscape a SAP Quality Assurance System open for customizing (transaction SCC4) so that qui

  • Chinese characters not printing properly in smartforms

    HI, I am trying  to print customer name which has chinese characters,  in smartform. But it is displaying with spaces in between chinese characters. I need to avoid that. while debugging i can see it is populating with out any spaces. But in print pr