Specifying multiple books in WS2 web services query

Hi,
I am wondering if anybody has managed to use web services to query data and restrain by more than 1 book of business. According Oracle Support this can be done though the use of searchspec to determine the Book. I have tried this with no success
Here is a SOAP message with just a single Book reference. It returns no results?
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>
<ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/">
<ListOfContact xmlns="urn:/crmondemand/xml/Contact/Query">
<Contact searchspec="([ContactFirstName] = 'John') AND ([BookId] = 'AHIA-N3S58')"><Id />
</Contact>
</ListOfContact>
</ContactQueryPage_Input></soap:Body></soap:Envelope>
For multiple books the searchspec would be
<Contact searchspec="([ContactFirstName] = 'John') AND ([BookId] = 'AHIA-N3S58') AND ([BookId] = 'AHIA-N3S76')"><Id />
Any guidance is appreciated.
Edited by: user10730659 on 11-Nov-2012 20:59

Hi Christina,
Thanks for your response. I had a typo in my initial description the searspec should have read:
<Contact searchspec="([ContactFirstName] = 'John') AND (([BookId] = 'AHIA-N3S58') OR ([BookId] = 'AHIA-N3S76'))"><Id />
Have you been able to specify the BookId in the searchspec successfully?
I dont get an error thrown just no results returned - when I just specfiy 1 book. I normally set the book Id in the query but when using multiple books this won't work, hence why I am looking to use the searchspec...

Similar Messages

  • Can a web service query a database at set intervals?

    Can someone verify if this is feasible?
    I need to display live data via browsers .  I would like to have the query to the database executed server side and have the web service provide the data to the browsers.
    Here is what I propose :
    I would like to have a web service run on a web server for an intranet.
    Have the web service  query a database every 20 seconds and update the data into a table or an array variable. 
    On the browser side I want the browser to refresh every 20 seconds with the updated data from the web service.
    Any other recommendations would be greatly appreciated.
    Thank you.
    Chris W.

    Hi ChrisTW1,
    Thank you for posting in MSDN forum.
    Based on your issue, I suggest you can try to use the JS to call the web service to set the intervals. For more information about how to use the JS to call the web service to set the intervals, please see:
    http://www.codeproject.com/Tips/647322/Calling-ASP-NET-Webservice-using-JavaScript-on-Reg
    In addition, since
    this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. If you have any issues about the set the
    intervals for the web service, I suggest you can post this issue directly to the WCF forum:https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf, maybe
    you will get more help.
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Good books for java web services

    hi.. i want to learn java web services. can anyone pls tell me the good books or material if any to start with. I have exp in core java.

    http://www.soabook.com/ The Good Book for modern web service development in Java.
    http://www.amazon.com/J2EE-Web-Services-SOAP-JAX-RPC/dp/0321146182 The Bible about all things web services.
    Get them both, use the first to learn and the second as a reference.

  • Siebel CRM Web services query limit 100 rows

    Hi everyone,
    A have an little problem here.
    I need get accounts, contacts and oportunitys from Siebel CRM in clound using SIEBEL web service query methods BUT this web service allow me only 100 rows per query and I need more because at this moment I am using ODI interfaces for load XML response file into database tables and ODI don´t have an loop and so on...
    My question is:
    Is possible eliminate this limitation in administrative painel or something like?
    Thanks in advice..
    José Rodrigo
    Edited by: user7286844 on 27/09/2011 14:07

    What version of Siebel are you using? There was a bug in some versions when session management was used but it worked okay in other scenarios, e.g., when the user id and password were passed in the URL. This bug (id 12-1KXYCJ7 and 12-1KXYCJ7) has been fixed (more than once by the look of it). I have not noticed the same in 8.1.1.1.

  • Return multiple values from a Web Service

    Hi,
    I'm learning JAX-WS web services and I'm wondering, how do I return multiple data like, say multiple rows from a table through a web service? I understand that I can use Holders, but those are for JAX-RPC if I'm not mistaken, and I'd like to know the alternative for JAX-WS(if there is any).
    Any help would be much appreciated.

    Debojit Sinha wrote:
    A greeting service where the client types a string(preferably a name), and the service returns "Hello, " followed by that name. I faced the error with returning objects when I tried to return the results of a query with a set of serialized JavaBeans passed into an arraylist. I don't have the complete error log with me now, but the error was generated when deploying with JDeveloper 11g, and it was something about JAXB content model error. Also, There was an error regarding javax.naming.Name saying that JAXB couldn't handle interfaces.yes, you can't return any interfaces. so, instead of returning a List, you have to return an ArrayList. if you use xjc to generate types from a schema, then it will normally generate a "wrapper" class around any collections (which will in turn hold a List).

  • SOAP web service: query parameter?

    Hi guys,
    I'm a newbie when it comes to web services and I've hit a problem that I didn't expect. I've exposed several SOAP services using the JAX-WS and WebLogic which are working fine. I've tried implementing an access key security mechanism such as Amazon does by adding a filter in front of the service's handling servlet to check for an access key sent as an HTTP query parameter. So basically, the service that was exposed at the following URL:
    http://localhost/company/service
    must now be accessed using the following URL:
    http://localhost/company/service?accessKey=123
    The filter checks the accessKey parameter and short-circuits the request if the wrong access key is sent.
    While this approach works well with JAX-RS web services, it doesn't seem to be working as well with JAX-WS web services: adding the parameter makes WebLogic return a 404 error instead of processing the request. I'm convinced I've seen web services being called with query parameters and that this can be done, but I don't see how. Any ideas anyone?
    Cheers!

    It seems that the servlet generated by Workshop doesn't handle extra parameters too well. I've managed to get it working by tweaking the filter so that it lets WSDL retrieval requests pass through but still filters the other requests. Everything is working fine.

  • Implementing Multiple operations in a web service in JCAPS 5.1.3

    Hi,
    I am using JCAPS 5.1.3 and have a requirement where in I have to implement multiple operations and expose them as a webservice.
    The complexity of operations is medium, they have to log the input message into database.
    In order to achieve this I have come up with two models:
    Model-1:1.Create a Business process in eInsight and use event based decisons and implement various operations.
    2.Create jcd operations in order to log messages into database.
    3.Expose the business process as a webservice
    Model-2:1.Create a jcd for each operation and make it Callable as an External SOAP web service.
    2.Expose each jcd as a webservice
    I would like to know which of these models gives better performance for the webservice .I see eInsight in earlier versions was low in performance.
    Please let me know if you have any ideas on this.
    Thanks in advance.
    Regards,
    Nag
    Edited by: Nag4.5.3 on Jun 10, 2008 12:02 PM

    I'd try the idea #1 first. EInsight performances could be an issue only for very CPU-intensive operations, but as you need to interact with a database usually this I/O is going to be the real bottleneck. Instead, you should avoid eInsight not mainly because of hypothetical performance issues but when you foresee the need to write very complex logic, which is much easier to code and maintain in Java within JCDs than in BPEL. However remember that JCDs exposed as WS need the latest ESR Rollup to work properly, if I well recall they were single-threaded in plain JCAPS 5.1.3.
    By the way, if your WSDL describes multiple operations you could probably implement them one by one by distinct eInsight BPs if you need to distribute them differently, you are not forced to use a single BP with event-based decisions, it is a matter of your taste and requirements. In my experience however in the past I had some annoying issues with WSDL exposing multiple operations and eInsight, hopefully those are gone with the latest Rollup but do some quick test yourself before betting all your money on it.

  • How to view multiple output parameters from web services

    I have used the Labview tool to create a .NET assembly from a WSDL file.
    In the WSDL file the service has been defined to return 2 output parameters.
    In Labview, when I invoke the method for this service the first output parameter ends up as the return value of the method.  I can create an indicator for this and it gets updated properly when I run the VIS to use the web service..  The indicator is an integer value but recognizes the type defined within the WSDL file. 
    The second output parameter shows up as an output value.  When I right click on it and create an indicator for it I get a .NET icon on the front panel rather than an integer value. 
    How can I view the value for this second output parameter after running the web service?
    Is there a difference in how multiple output parameters handled in newer versions of Labview (I am using verison 7.1)?

    scrooge wrote:
    You can try this link .
    the link is dead... or i dont have access..

  • F-44  ZBAPI MULTIPLE LINE SELECTIONS FOR WEB SERVICES

    HI TO ALL,
              I HAVE WRITTEN ZBAPI FOR POSTING MULTIPLE LINE SELECTIONS FOR TCODE F-44, THE ZBAPI  CONSIST OF BDC PROGRAM, WHICH IS WORKING IN SAP SYSTEM PERFECTLY BUT WHEN I AM USING IT IN WEB SERVICES IT IS THROWING A  ERROR MESSAGE.
                     PLEASE CAN ANY ONE TELL ME DOES THIS PROCESS WILL WORK OR NOT, IF YES HOW IS IT POSSIBLE

    Hi Gabriel,
    Let me try to answer some of your questions:
    1) The "Requires Secure Access" attribute of a resource handler controls whether this handler must be accessed/consumed only over SSL (HTTPS). Oracle Database Cloud Schema Service is only offered over SSL, so this attribute does not have any effect on RESTful services deployed in this environment (because secure access is always required and there is no other way). That said, if you want to access such web service from your own APEX instance, your instance must have Oracle Wallet configured with appropriate SSL certificate.
    2) The URI parameters are not required. If your web service returns data for many entities (for example, list of employees in employees/), you may not need a parameter. If your web service returns data for one specific entity (for example, details of one employee in employees/{id}), you may want to identify that entity with a URI parameter.
    3) You can have many URI parameters, for example: customers/{id}/orders/{order_id}.
    4) Yes, these are the same HTTP methods/verbs you would use from PHP.
    5) If you are trying this POST example from your own APEX instance (not Oracle Database Cloud Schema Service) and you are trying to access a web service over SSL, then it is likely that the Oracle Wallet used by your instance does not include the required SSL certificate(s), or the Oracle Wallet is not configured at all.
    6) I recommend to check RESTful Web Services for the Oracle Database Cloud white paper and Oracle REST Data Services Developers Guide. Oracle REST Data Services is the technology that enables RESTful services in the Oracle Database Cloud Schema Service.
    You can certainly create your own web services in the Oracle Database Cloud Schema Service and consume them from the same environment.
    Vlad

  • Passing multiple table entries to web service

    Hi,
    I have a requirement (in Offline Scenario) to pass multiple rows in a Table(Dynamic) data from Adobe forms to a Web Service.
    Multiple rows are added in the Form, but only the first row is getting passed to the Web service tables parameter.
    Please suggest.
    Regards,
    Jayapal.

    Hi,
    if you warp the proxy class in a JavaBean and expose this JavaBean as a datacontrol then you could have a method that takes username and password to set it on the proxy. This way you can pass the connect information through the binding layer
    e.g.
    OperationBinding oper = (OperationBinding ) bindings.get(myAuthMethod);
    oper.getParamMap("username",username);
    oper.getParamMap("password",password);
    oper.execute();
    Note that the method arguments can also be bound to EL in th epageDef file so they read directly from the session scope
    Frank

  • Specifying the character set for Web Services

    Hi
    When i set the weblogic system property
    -Dweblogic.webservice.i18n.charset=utf-8
    I get an error from weblogic douring startup
    <BEA-141087> <Unrecognized property: webservice.i18n.charset.>
    I'm using wls 8.1.
    Shouldn't this be the way to specify the encoding for web services
    Regards
    Preben

    Is it a Warning or a Error?
    If it is WARNING it is a known issue with the logging.
    The charset you set should work fine.
    Ajay
    "Preben" <[email protected]> wrote in message news:[email protected]..
    >
    Hi
    When i set the weblogic system property
    -Dweblogic.webservice.i18n.charset=utf-8
    I get an error from weblogic douring startup
    <BEA-141087> <Unrecognized property: webservice.i18n.charset.>
    I'm using wls 8.1.
    Shouldn't this be the way to specify the encoding for web services
    Regards
    Preben

  • Is there a new version of the book "Beginning Java Web Services"?

    I am new to programming web services with Java. Is Beginning Java Web Services a recommended book for a beginner? Does it have a newer version as the one available was written in 2002. Can anyone suggest a latest beginners guide book?

    The MD387LL/A, MD388LL/A, and MD389LL/A are the latest models in the USA and Canada. It's the same in other countries, except for the LL.
    (102906)

  • Adding paging to Azure Mobile Web Service Query

    Hi all,
    I need to add paging to my Mobile Web Service, and in referencing this page it has a link stating "For more information, see
    Add paging to your queries."
    https://msdn.microsoft.com/en-us/library/azure/jj677199.aspx
    However, the link takes me to "Windows Store Samples". Does anyone know or have the correct reference for adding paging?
    Thanks,
    K.
    Personal Blog: http://thebitsthatbyte.com

    Hello Kelly,
    Let me know if this
    MSDN blog on paging results from Mobile Services helps.
    Abdulwahab Suleiman

  • UTL_DBWS - Multiple calls to a web-service

    I am new to using UTL_DBWS and am wondering how to call a web-serivce multiple times with the same connection.
    I have this sample code and am wondering if there are any experts to tell me if this is right?
    DECLARE
       l_city   VARCHAR2 (500);
       PROCEDURE get_city_from_zipcode
       AS
          l_service           UTL_DBWS.service;
          l_call              UTL_DBWS.CALL;
          l_result            ANYDATA;
          l_wsdl_url          VARCHAR2 (32767);
          l_namespace         VARCHAR2 (32767);
          l_service_qname     UTL_DBWS.qname;
          l_port_qname        UTL_DBWS.qname;
          l_operation_qname   UTL_DBWS.qname;
          l_input_params      UTL_DBWS.anydata_list;
       BEGIN
          l_wsdl_url := 'http://webservices.imacination.com/distance/Distance.jws?wsdl';
          l_namespace := 'http://webservices.imacination.com/distance/Distance.jws';
          l_service_qname := UTL_DBWS.to_qname (l_namespace, 'DistanceService');
          l_port_qname := UTL_DBWS.to_qname (l_namespace, 'Distance');
          l_operation_qname := UTL_DBWS.to_qname (l_namespace, 'getCity');
          l_service := UTL_DBWS.create_service (wsdl_document_location      => urifactory.geturi (l_wsdl_url), service_name => l_service_qname);
          l_call := UTL_DBWS.create_call (service_handle      => l_service
                                        , port_name           => l_port_qname
                                        , operation_name      => l_operation_qname
          FOR cur IN (SELECT '94065' zip
                        FROM DUAL
                      UNION ALL
                      SELECT '94066' zip
                        FROM DUAL)
          LOOP
             l_input_params (0) := ANYDATA.convertvarchar2 (cur.zip);
             l_result := UTL_DBWS.invoke (call_handle       => l_call, input_params => l_input_params);
             DBMS_OUTPUT.put_line (ANYDATA.accessvarchar2 (l_result));
          END LOOP;
          UTL_DBWS.release_call (call_handle      => l_call);
          UTL_DBWS.release_service (service_handle      => l_service);
       END;
    BEGIN
       get_city_from_zipcode;
    END;Thanks

    Well, I don't have APEX installed. I'm trying to use in a standalone way, just to make RESTful requests from PL/SQL (i don't need APEX). Is it possible to share all the objects referenced in the package flex_ws_api?
    thanks

  • Book for REST web services

    Hi,
    Suggest me one good text book for learning RESTful webservices in java from the basic..

    here is a sample the service class handling REST stuff:
    myServices.factory('resService', [ '$resource',
        function($resource) {
            return $resource('http:/server:8080/objects/:objectID', {}, {
                query : {
                    method : 'GET',
                    params:{objectID:'objectID'},
                    isArray: true
                update: {
                    method : 'PUT',
                    params:{objectID:'@objectID'}
                delete:{
                    method:'DELETE',
                    params: {objectID:'@objectID'}
    I hope this will help!
    Best regards,
    Thomas.

Maybe you are looking for

  • How do I edit the "Person in photo" metadata in a single photo?

    This field does not appear in the side view of the metadata so I can't edit it. It does appear if I sync metadata but if I want to edit the data in just one photo this is not an option. Thanks for your help!

  • How to install BIDS for SQL Server 2008 R2 and Visual Studio 2008(SSRS,SSIS)

    Hi, I want to install SQL Server 2008 R2 and Visual Studio to use SSRS tool, where to download these application. And my System Configuration is Window 8.1,64 Bit. Please share step by step information to download and installation. Kindly Reply soon.

  • Error in content conversion

    Message:(Receiver Channel) 0.Root 1.->Header 2.node 1->Record(1..n) 2.BillNo 2.ByersName 2.Nameofgoods 2.Lineofbilling(1..n) 3.line1 3.line2 Receiver channel parameters: Recordsetstructure: Header,Record,Lineofbilling Header.fieldNames---node Header.

  • HTTP error [403] in "Add Forums Administrator User"-iView (Forum)

    Hi All, I need help with installing the forum functionality. When I open the "Add Forums Administrator User"-iView I always get the following error message: <i>403   Forbidden You are not authorized to view the requested resource.</i> In the log-file

  • Accessing the sender file name in the response email

    Hi, I have an asynchronous proxy scenario wherein I am calling an outbound proxy within an inbound proxy. Basically a file is sent from an external partner and response is sent back to them if there are any errors. Also email notification will be sen