Dynamic columns on output values for a Web Service connection

Hello,
I'm trying to create a web service connection that is similar in response to the XML data connection in that i don't want to fix the number of columns per row down in the WSDL. i.e. i want to create an array of columns:
  <xsd:complexType name="XLRowDef">
    <xsd:sequence>
      <xsd:element name="column" curashared:shortname="c" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
and for the user of the WSDL (the guy who will design the dashboard) to be able to fix and link the number of columns when he designs the dashboard. I was hoping the button would reveal itself in the "output values" box much like it does in the "input values" but no matter how i twist the xsd - no joy. I also tried just linking the column element to multiple excel columns but still fixes to the first column in the range. Can this result be achieved in Xcelsius short of using an XML data connection?
Regards,
Gilbert

Van,
There is a workaround for that...
Example:
My Webservice accepts input data range in a specific format with " :" symbol, i.e. 072008:082008
Now what i do is
A1 = 072008
A2 = 082008
A3 = CONCATENATE(A1,":",A2)
so A3 = 072008:082008
Now i map the input value in web service to cell A3
P.S have 2 input box components and map it to cells A1 and A2, i.e you are giving users an  option to enter the range of values...then web service will capture the range and refreshes data with the range of values user entered.
hope this helps..
-Anil

Similar Messages

  • Mapping input values for a web service connection to a range of cells

    I've created a web service connection in Xcelsius data manager. My web service requires an array of integer as input parameter. How do I map input values for a web service connection to read from a range of cells in the spreadsheet, e.g. $A$2:$A$20, in similar way of mapping output values to write to a range of cells in the spreadsheet?
    For output values of the web service, I can specify to map the output values to write to a range of cells. However, it doesn't seem to work for reading the input values.
    I can map input values for each node to a single cell, e.g. $A$2, in the spreadsheet. However, when I set the "Read From" field to a range of cells, e.g. $A$2:$A$20, it only reads in the first value in the range.
    Is there any way that we can do this mapping for input values as we do for output values?
    Your assistance is very much appreciated.
    Regards,
    Van

    Van,
    There is a workaround for that...
    Example:
    My Webservice accepts input data range in a specific format with " :" symbol, i.e. 072008:082008
    Now what i do is
    A1 = 072008
    A2 = 082008
    A3 = CONCATENATE(A1,":",A2)
    so A3 = 072008:082008
    Now i map the input value in web service to cell A3
    P.S have 2 input box components and map it to cells A1 and A2, i.e you are giving users an  option to enter the range of values...then web service will capture the range and refreshes data with the range of values user entered.
    hope this helps..
    -Anil

  • Slow response when using Xcelsius web service connection witn input values

    We've been very successful in using the Xcelsius Web Service Connection. We've recently moved forward toward using input values when calling a web service and having issues with response time. Without input values, it takes 3 - 6 seconds to retrieve and display the results in Xcelsius, but, when using the input values to the web service, it takes about 27 seconds for Xcelsius to retrieve and display the results.  Does anyone have experience with fixing slow response associated with using input values for a web service connection?

    Hi Sharone,
    What's the version of your Xcelsius and BOBJ server?
    I'm asking because using the last version of BOBJ server (BOXI 3.1 SP 3) you have new services on CMC just to help Xcelsius to work better with WebServices.
    Regards,
    Rodrigo.

  • Calculations in Xcelsius using data generated by a Web Service Connection

    Hi,
    I have set up a web service connection to pull in 4 columns of data: 1. CATEGORY  2. SUBCATEGORY 3. PRODUCT TYPE   4.#OFCALLS.  There will be anywhere from 1 to 500 rows of data depending on day of week and time of day.  The web service sorts the list by #OFCALLS descending. The OUTPUT VALUES of the web service connection are mapped to cells A19:D518.
    Formulas in the spreadsheet take the Top 10 from the list and populate it to cells  A4:D13.  A formula in cell D15 sums the #OFCALLS for the entire web service connection output (A19:D518).
    The data in A4:D15 is mapped to a spreadsheet table on my canvas.   When the report generates, the data from the TOP 10 of the web service connection populates properly, but the cell that should reflect the TOTAL#OFCALLS (D15) shows zero.
    Is it not possible to do additional calculations in the spreadsheet based on data generated by the web service connection?  A major difference between using an XML Map and a Web Service Connection is the XML Map actually populates the spreadsheet with the new data when it is refreshed.  The Web Service connection data never actually appears in the spreadsheet itself, even though it updates to the appropriate vessel on the canvas.   This makes me think that no additional calculations can be done in the spreadsheet based on the web service connection data.
    Can anyone tell me if that is correct?  If so, then the web service connection would also have to pull in the TOTAL#OFCALLS along with the other data.   This would also seem to greatly limit what you could do with data generated by a web service connection, so I am hoping I am wrong and just don't understand how to do this.
    Can anyone clarify this for me?  If I failed to give any pertinent info let me know what it is, and I will update my post.
    Thanks!

    I have seen similar behavior as well.  I have live data coming into Xcelsius from a data connection. 
    A supported Excel formula
    =IF(ISBLANK(J2),I2,VALUE(TODAY()-J2))
    is then applied to one of the columns to create an additional derived column.
    Taking a snapshot of the data shows that the derived column is being populated, however the controls I've tried hooking up to the derived column (charts and labels) are always empty.
    Information on whether this is supported would be appreciated.
    Thank you,
    David

  • Possible issue with Web service connections in SP3

    Hello,
    I installed Xcelsius 2008 SP3 over SP2 and some of my input values for my web service connection were not being built into the XML request. I then rolled back to 2008 SP2 and all was fine. Not a thing i tried could fix it, and it was not all the input values just some of them and the same ones each time. Perhaps i installed different Xcesius suites: the SP2 one i have is trial version and has a black BO splash, the SP3 one has a yellow SAP splash. SP3 has some funky enhancements so i would certainly like to go that way. Any ideas? Or ideas as to how i could get this into BO support for troubleshooting?
    Regards,
    Gilbert

    By mistake I posted to this thread. Removing my message.
    Edited by: Anil Kumar on Dec 24, 2009 4:55 AM

  • Dynamic destinations for adaptive web service in webdynpro for java

    Hi,
    Please advice me on how to create dynamic destination for adaptive web service model in webdynpro for java.
    Regards,
    Patana

    Hi,
    If this is the case, then use the HTTP destination for this.
    What you need to do is:
    1. Create one HTTP destination in visual administrator at services-> Destinations. Provide HTTP url of the your web service and the security options.
    2. Specify this HTTP destination in the code before executing web service model.
    Write following code for that:
    wdContext.current<node name>Element().modelobject()._setHTTPDestination(<Specify HTTP destination name>);
    Then execute your web service model.
    Now, whenever you want to change the server on which your web service is running, make change in the HTTP Destination in visual administrator.
    Refer this link,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Sunaina Reddy T

  • Parsley Dynamic Command & Dynamic Object for Soap web services

    Hi,
        <fx:Declarations>
            <s:CallResponder id="getSearchEngineForReferencePageResult"/>
            <lawpadcommunicationservicesport:LawPadCommunicationServicesPort id="lawPadCommunicationServicesPort"
                                                                             result="lawPadCommunicationServicesPort_resultHandler(event)"       
                                                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getBasePathForFileDownLoadResult"/>
            <lawpadcommunicationservicesport:LawPadCommunicationServicesPort id="RefLawPadCommunicationServiceGetBasePath"
                                                                             result="RefLawPadCommunicationServiceGetBasePath_resultHandler(event)"
                                                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getXmlPathLinkResult"/>
            <xmlpathcommunicationport:XmlPathCommunicationPort id="xmlPathCommunicationPort"
                                                               fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
        </fx:Declarations>

    Hi,
    I am new to Parsley.....
    Can u refer me some link to understand all features of Parsley.
    Mainly Dynamic Command and object for soap web services....
    I am in confused state with the usage of dynamic command and object for Soap web services.
    <fx:Declarations>
            <s:CallResponder id="getSearchEngineForReferencePageResult"/>
            <lawpadcommunicationservicesport:LawPadCommunicationServicesPort id="lawPadCommunicationServicesPort"
                                                                               result="lawPadCommunicationServicesPort_resultHandler(event)"        
                                                                               fault="Alert.show(event.fault.faultString + '\n' +  event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getBasePathForFileDownLoadResult"/>
            <lawpadcommunicationservicesport:LawPadCommunicationServicesPort id="RefLawPadCommunicationServiceGetBasePath"
                                                                                result="RefLawPadCommunicationServiceGetBasePath_resultHandler(event) "
                                                                               fault="Alert.show(event.fault.faultString + '\n' +  event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getXmlPathLinkResult"/>
            <xmlpathcommunicationport:XmlPathCommunicationPort id="xmlPathCommunicationPort"
                                                                fault="Alert.show(event.fault.faultString + '\n' +  event.fault.faultDetail)" showBusyCursor="true"/>
      </fx:Declarations>
    Thanks & Regards

  • Details for 'Is Web service security available?'

    Hi i am working on scenario rfc to webservice.Its as secued webserivce i need to do ssl configuration.
    In component monitoring..for the integration engine its in yellow...
    Details for 'Is Web service security available?'
    Communication error Proxy calls on the sender or receiver side are not permitted on the IS (client)
    can any one please help me out..
    Thanks
    sriram

    I have already installed certificates on the j2ee engine & i have given the paramaters for keystore entry & keystore value.Still i have the same error
    In component monitoring
    For integration engine
    Details for 'Is Web service security available?'
    Communication error Proxy calls on the sender or receiver side are not permitted on the IS (client) 
    In message monitoring
    Audit Log for Message: f614df00-e9e0-11da-95ef-0004ac577b32
    Time Stamp Status Description
    2006-05-22 15:18:58 Success The message was successfully received by the messaging system. Profile: XI URL: http://saptst01:51000/MessagingSystem/receive/AFW/XI
    2006-05-22 15:18:58 Success Using connection AFW. Trying to put the message into the request queue.
    2006-05-22 15:18:58 Success Message successfully put into the queue.
    2006-05-22 15:18:58 Success The message was successfully retrieved from the request queue.
    2006-05-22 15:18:58 Success The message status set to DLNG.
    2006-05-22 15:18:58 Success Delivering to channel: ZCH_VERISIGNPPGR
    2006-05-22 15:18:58 Success SOAP: request message entering the adapter
    2006-05-22 15:18:58 Success SOAP: call failed
    2006-05-22 15:18:58 Error SOAP: error occured: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: illegal parameter
    2006-05-22 15:18:58 Error Exception caught by adapter framework: Peer sent alert: Alert Fatal: illegal parameter
    Can any one please help me out.
    Thanks
    sriram

  • Using Identity Management for Securing Web Services

    My goal is to associate my services with an Oracle Internet Directory. I made some attempts to set up SAML authentication for the web services, but it didn't have the right outcome.
    (My identity management server and OID is up and running and I have successfully made authentication modules for other web applications)
    Here is what I did:
    1. I wrote a simple java file, used jdeveloper tools to create and deploy it as a web service to OC4J. I associated an identity management server with this service through OC4J web tools as security provider.
    2. I made a data control for the web service and put it in an ADF application . (client)
    3. I deployed the client project(2) to OC4J.
    I could use the web service through the page.
    Then
    I secured the webservice to expect SAML for authentication.
    Surprisingly, the client could still communicate with the webservice, Why? Shouldn't it have rejected the request because of the problem in SAML token? (The proxy and the data control were not secured, and didn't provide any SAML tokens)
    4.
    I added login page to my client project (through ADF security wizard). It used idenity management for authentication successfully. login process completes and web service data control is displayed.
    5. I want the authentication information to be propagated through the page so that the web service receives the data and uses Identity Management.
    I know I should add <property name="oracle.security.wss.propagate.identity" value ="true"/>
    to one of the configuration files, but don't know where exactly.
    Best Regards,
    Farbod

    It doesnt matter whether the service is invoked as part of your larger process or not, if it is performing any business critical operation then it should be secured.
    The idea of SOA / designing services is to have the services available so that it can be orchestrated as part of any other business process.
    Today you may have secured your parent services and tomorrow you could come up with a new service which may use one of the existing lower level services.
    If all the services are in one Application server you can make the configuration/development environment lot easier by securing them using the Gateway.
    Typical probelm with any gateway architecture is that the service is available without any security enforcement when accessed directly.
    You can enforce rules at your network layer to allow access to the App server only from Gateway.
    When you have the liberty to use OWSM or any other WS-Security products, i would stay away from any extensions. Two things to consider
    The next BPEL developer in your project may not be aware of Security extensions
    Centralizing Security enforcement will make your development and security operations as loosely coupled and addresses scalability.
    Thanks
    Ram

  • Web-service client for legacy web service

    I currently access a legacy server (Lotus Domino 7) via CORBA. I thought a web service (my second) would be faster, but a whole day's research has uncovered only obsolete or trivial examples.
    The WSDL generated by the server is rpc/encoded so wsimport cannot generate the necessary "artifacts" for a web service client.
    The web service is simple: it accepts two java.lang.Strings, and returns a java.lang.String of XML. The "dynamic proxy" approach from 1.4.2 seems to have disappeared; I was hoping that approach would let me just hand-code a single "artifact" - an SEI based on the method information in the WSDL.
    1) What classes in JAX-WS will let my web service client communicate with rpc?
    2) With such a simple signature, do I need any other "artifacts" beyond an SEI?
    Thanks for any help!

    In case anyone's search leads them here, I've posted the solution at:
    *[http://www.pby.com/general.nsf/webarticles/dominowebservice01]*
    It is an exhaustive article (not "Hello World"!) that goes through several versions of the web service and client - hopefully explaining all* pieces of the puzzle:
    ~ web service code,
    ~ WSDLs
    ~ schema
    ~ thoroughly-documented clients that do and do not use JAXB
    ~ ... that use generated artifacts
    ~ ... that customize existing POJOs
    ~ the SOAP messages generated in each direction
    ~ the necessary JAXB annotations
    ~ explanations of how the code works
    ~ explanations of how namespaces affect the code
    ~ on and on and on...
    My constant goal was to write an uncomplicated solution that uses as few artifacts (two) and annotations as possible. The end result is a small, fast JAX-WS 2.0 client that uses JAXB to invoke and consume a secured Domino 7 (1.4.2 JVM + AXIS) web service, using RPC/literal SOAP messages.

  • Best Practice for Securing Web Services in the BPEL Workflow

    What is the best practice for securing web services which are part of a larger service (a business process) and are defined through BPEL?
    They are all deployed on the same oracle application server.
    Defining agent for each?
    Gateway for all?
    BPEL security extension?
    The top level service that is defined as business process is secure itself through OWSM and username and passwords, but what is the best practice for security establishment for each low level services?
    Regards
    Farbod

    It doesnt matter whether the service is invoked as part of your larger process or not, if it is performing any business critical operation then it should be secured.
    The idea of SOA / designing services is to have the services available so that it can be orchestrated as part of any other business process.
    Today you may have secured your parent services and tomorrow you could come up with a new service which may use one of the existing lower level services.
    If all the services are in one Application server you can make the configuration/development environment lot easier by securing them using the Gateway.
    Typical probelm with any gateway architecture is that the service is available without any security enforcement when accessed directly.
    You can enforce rules at your network layer to allow access to the App server only from Gateway.
    When you have the liberty to use OWSM or any other WS-Security products, i would stay away from any extensions. Two things to consider
    The next BPEL developer in your project may not be aware of Security extensions
    Centralizing Security enforcement will make your development and security operations as loosely coupled and addresses scalability.
    Thanks
    Ram

  • What are the different messages that OCOD may return for a web service requ

    Hi,
    Please give me feedback on the questions below, concerning the limitations of web service, and messages which may return.
    1) What are the different messages that OCOD may return for a web service request? I need all the messages of all the scenarios which OCOD can meet, for example:
    - If the file is rejected (Error message)
    - If the file is accepted (to clarify that the records have been created)
    - if the application is unavailable (maintenance or web service is down)
    2) How many request can we send simultaneously, and how many records we can make per second?
    Best Regard,

    Have a look here Jquery slideshow tutorial for beginners | WEBTUTS

  • Best practice for consuming web services

    Hi
    we are consuming web service in orchestration by "Add Generated Item".By using this option it creates 1 orch,1xsd file and some bindings.
    we have different projects for schemas,maps and orchestration under our solution in visual studio.
    Now i need to know that what will be the best practice for consuming web service in orchestration i mean in which project should i use "add generated item" (in orchstration project or in schemas project) coz it generates both 1 orch and 1
    schema.
    thanks

    From a service orientation perspective you should abstract the service artifacts from the other artifacts. Otherwise it will be very difficult to update the service interface without affecting the other artifacts. For example you don't want to have to redeply
    your entire application if only one field changes in the service you consume.
    So I typically generate the items, remove the unnecessary stuff, and put them in a separate project.
    Depending on the control you have over the services you want to consume, it would even be better to create another layer of abstraction. By that I mean create your own interface (schema) and map that one to the one the service exposes. This basically
    is only necessary if you consume external services that are beyond your control. By abstracting the interface it exposes, you limit the impact of changes of that interface on the rest of your system. All changes are abstracted behind your own interface.
    If you consume internal services, you can probably control the way the interface is defined. In a service oriented world all internal services expose a well known interface, based on the domain objects you have within your organisation.
    Jean-Paul Smit | Didago IT Consultancy
    Blog |
    Twitter | LinkedIn
    MCTS BizTalk 2006/2010 + Certified SOA Architect
    Please indicate "Mark as Answer" if this post has answered the question.

  • Mapping DTO to XML Schema for Worship Web Service

    I have a number of DTOs that my application uses. This application
    needs to consume a number of document style web services created in
    workshop. When I generate the proxies for this web service, it creates
    Java beans for the XML schema types defined in the web service.
    Is there a way to get the workshop stubs to map my DTOs to XML schema?
    If not, what is the best way to do this mapping? Thanks.
    Mike

    I have a number of DTOs that my application uses. This application
    needs to consume a number of document style web services created in
    workshop. When I generate the proxies for this web service, it creates
    Java beans for the XML schema types defined in the web service.
    Is there a way to get the workshop stubs to map my DTOs to XML schema?
    If not, what is the best way to do this mapping? Thanks.
    Mike

  • Mapping DTO to XML Schema for Workshop Web Service

    I have a number of DTOs that my application uses. This application
    needs to consume a number of document style web services created in
    workshop. When I generate the proxies for this web service, it creates
    Java beans for the XML schema types defined in the web service.
    Is there a way to get the workshop stubs to map my DTOs to XML schema?
    If not, what is the best way to do this mapping? Thanks.
    Mike

    I have a number of DTOs that my application uses. This application
    needs to consume a number of document style web services created in
    workshop. When I generate the proxies for this web service, it creates
    Java beans for the XML schema types defined in the web service.
    Is there a way to get the workshop stubs to map my DTOs to XML schema?
    If not, what is the best way to do this mapping? Thanks.
    Mike

Maybe you are looking for