Liquid Data Web Services

I created a web service off of a stored query that takes in a String input parameter
that I used in the query against a xfunction (startsWith). Now my problem is
that when I try and invoke the web service using clientgen stub code I get this
error:
<Jun 18, 2003 2:36:57 PM EDT> <Error> <HTTP> <101019> <[ServletCo
ntext(id=4373267,name=tsmd,context-path=)] Servlet failed with IOException
java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: type
is not defined for parameter: project_code; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: type is not defined for parameter
: project_code
javax.xml.rpc.soap.SOAPFaultException: type is not defined for parameter: projec
t_code
where project_code is the name of the input parameter.
any ideas?
thanks in advance.
- ed
[email protected]

The templates in domains created with the configuration wizard have an out-of-date
webapp.template file. You need to replace it with the one in the ldsample domain,
then regenerate the webservice.
- Mike
"Edward Han" <[email protected]> wrote:
>
i just read the release notes for 1.1. please ignore this post.
"Edward Han" <[email protected]> wrote:
I created a web service off of a stored query that takes in a String
input parameter
that I used in the query against a xfunction (startsWith). Now my problem
is
that when I try and invoke the web service using clientgen stub code
I get this
error:
<Jun 18, 2003 2:36:57 PM EDT> <Error> <HTTP> <101019> <[ServletCo
ntext(id=4373267,name=tsmd,context-path=)] Servlet failed with IOException
java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException:
type
is not defined for parameter: project_code; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: type is not defined for
parameter
: project_code
javax.xml.rpc.soap.SOAPFaultException: type is not defined for parameter:
projec
t_code
where project_code is the name of the input parameter.
any ideas?
thanks in advance.
- ed
[email protected]

Similar Messages

  • Group By - Date: Web Service vs. Out of the Box

    When selecting the drop down to group by Date in the Out of the Box Search application, the groups are delivered as:
    - Within the last day
    - Within the last week
    - Within the last month
    - etc...
    But through the web service when we group by lastmodifieddate (or any other date attribute), the groups are separated by specific dates and not ranges. Is there a setting on the GroupAttribute object that you can use to have the groups return in date ranges? Or is the out of the box arranging these groups into date ranges manually?
    My gut tells me that the groupingOption on the oracle.search.query.webservice.client.GroupAttribute has a reserved value for date ranges, but the 11.1.2.0.0 API says that only a value of "EQUALITY" is supported. Either that or the optionParameter on the same object, but I couldn't find an example of any values that can be used in it.

    If BO is behind firewall then it is better to use Web Services SDK. Whenever Business Objects is installed the Web Service provider dswsbbobje is installed by default along with other out of box web applications such as InfoViewApp or CmcApp.
    The WS SDK assemblies are at:
    <Business Objects root>\BusinessObjects Enterprise 12.0\web services\en\dsws_consumer\data\dswsdotnet2API or
    <Business Objects root>\BusinessObjects Enterprise 12.0\web services\en\dsws_consumer\data\dswsdotnetAPI
    Include them in your Bin directory depending on version of .NET you use.
    Write consumer application that calls into dswsbobje provider to get the report. Please check the [WS developer guide|http://help.sap.com/businessobject/product_guides/boexir31/en/wssdk_dg_12_en.zip] and [API Reference|http://help.sap.com/businessobject/product_guides/boexir31/en/wssdk_net_apiRef_12_en.chm] for further help. There are code snippets and details information in both places.

  • Dreamweaver CS4: XML Feeds not working for USGS Water Data Web Service

    Hi,
    Can anyone look at my code and help me understand why one xml
    feed works and the other doesn't?
    I'm using Creative Suite 4 Dreamweaver to produce the code.
    Here is the code that works and the code that doesn't,

    Hi,
    For this situation, here is an article discuss about the error message and the solution which you could refer to:
    http://www.getshifting.com/wiki/setupn
    http://stackoverflow.com/questions/9975521/error-connecting-to-wcf-service-with-windows-security
    Regards

  • Liquid Data and Web Service Data Source

    I am using LD 1.0.1
    When I try to use a registered web service data source, I get exceptions.
    Any ideas?
    Thanks.
    The query looks like this:
    {--     Generated by Data View Builder 1.0     --}
    let $result_1 :=
    let $query_2 := TLSOAP:query("/TigerLogicDB/Customers/CustomerData",
    "/CUSTOMERS/CustomerRecord/Country", "1049756613661")
    return
    <result>{ cast as xs:string($query_2) }</result>
    where xf:not(xf:empty($result_1))
    return
    <root>
         { $result_1 }
    </root>
    Error message:
    EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
    Start server side stack trace:
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    ; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
    Start server side stack trace:
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace

    Hi Mike
    Thanks for the reply. Here is the server stack trace info:
    ####<Apr 10, 2003 11:14:45 AM PDT> <Info> <HTTP> <RAININGD-IGX5LZ> <LDServer>
    <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <101047> <[ServletContext(id=2577764,name=bea_wls_internal,context-path=/bea_wls_internal)]
    /classes/*: init>
    ####<Apr 10, 2003 11:16:11 AM PDT> <Info> <Management> <RAININGD-IGX5LZ> <LDServer>
    <ExecuteThread: '8' for queue: 'default'> <kernel identity> <> <140009> <Configuration
    changes for domain saved to the repository.>
    ####<Apr 10, 2003 11:30:49 AM PDT> <Debug> <Liquid Data Server> <RAININGD-IGX5LZ>
    <LDServer> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000000>
    <mediator.admin - Server Debug (Management) 1-4-1-18: User `robert` submitted
    the following query: {--     Generated by Data View Builder 1.0     --}
    let $query_1 := TLSOAP:query("/TigerLogicDB/POS/PODetail", "/purchaseOrder/shipTo/name",
    "1049996303750")
    return
    <results>
         <data>{ cast as xs:string($query_1) }</data>
    </results>>
    ####<Apr 10, 2003 11:30:50 AM PDT> <Info> <Liquid Data Server> <RAININGD-IGX5LZ>
    <LDServer> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000000>
    <mediator.admin - Server Info (Management) 1-4-1-17: Query compilation time: 1633
    ms.>
    ####<Apr 10, 2003 11:30:50 AM PDT> <Debug> <Liquid Data Server> <RAININGD-IGX5LZ>
    <LDServer> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000000>
    <mediator.admin - Query Execution Debug (Run Time) 1-2-3-43: Calling operation
    '{TigerLogicService}query' of WebService 'StandardClientService'. Request: [/TigerLogicDB/POS/PODetail,
    /purchaseOrder/shipTo/name, 1049996303750]>
    ####<Apr 10, 2003 11:30:51 AM PDT> <Error> <Liquid Data Server> <RAININGD-IGX5LZ>
    <LDServer> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000000>
    <mediator.admin.user - Query Execution Error (Run Time) 1-2-3-30: An error occurred
    while evaluating the function TLSOAP:query. (failed to create service)>
    ####<Apr 10, 2003 11:30:51 AM PDT> <Info> <EJB> <RAININGD-IGX5LZ> <LDServer> <ExecuteThread:
    '12' for queue: 'default'> <kernel identity> <> <010051> <EJB Exception during
    invocation from home: com.bea.ldi.server.QueryBean_1ao78o_HomeImpl@5bd7fd threw
    exception: java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)>
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    "Mike Reiche" <[email protected]> wrote:
    >
    The stack trace from the server will have more information. Can you send
    it please?
    Thanks,
    Mike
    "robert" <[email protected]> wrote:
    I am using LD 1.0.1
    When I try to use a registered web service data source, I get exceptions.
    Any ideas?
    Thanks.
    The query looks like this:
    {--     Generated by Data View Builder 1.0     --}
    let $result_1 :=
    let $query_2 := TLSOAP:query("/TigerLogicDB/Customers/CustomerData",
    "/CUSTOMERS/CustomerRecord/Country", "1049756613661")
    return
    <result>{ cast as xs:string($query_2) }</result>
    where xf:not(xf:empty($result_1))
    return
    <root>
         { $result_1 }
    </root>
    Error message:
    EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
    Start server side stack trace:
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown
    Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    ; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
    Start server side stack trace:
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown
    Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace

  • Not Able To View Data in Web Service Model

    Hi ,
       I m trying to view a table using web service model.
       When i write the same code for binding it to context , i m able to view its data.
       But not so while using Web Service Model(not adaptive web service model).
       The code is: 
             Request_ZMANAGE_MAKT_ZMANAGE_ZMAKT object1 =new Request_ZMANAGE_MAKT_ZMANAGE_ZMAKT();
       wdContext.nodeRequest_ZMANAGE_MAKT_ZMANAGE_ZMAKT().bind(object1);
       object1.setResponse(new Response_ZMANAGE_MAKT_ZMANAGE_ZMAKT());
      CAn anybody plz solve my problem.
    Thanks..
    Regards,
    Ankita

    Hi,
    I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
    eg:
    select
    case
    TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2)
    = :P15_EV_LCL
    then
    span style="background-color:lightgreen"
    || TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    else
    span style="background-color:yellow"
    || TRUNC(
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    end "Effort"
    from actuals Z
    If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
    Please suggest
    Thanks
    Sudhir
    Edited by: Sudhir_N on Mar 23, 2009 10:00 PM

  • Questions on using a SOAP web service's data in a Crystal Reports report

    I'm attempting to create a report using CR 2008, accessing data from a SOAP web service. I've run into a few problems, and need some advice.
    1) CR doesn't seem to support WSDL files that use relative URI imports (for example, I have a relatively complicated WSDL file that imports other WSDL files and schemas using relative URI locations). To solve this problem, I have downloaded all of the files to my local hard drive, and changed the "location" attributes to point to local files. Is there any other solution to this problem?
    2) CR doesn't seem to support circular references within schema files. To solve this problem, I have removed circular references from my local schema files. Of course, my actual web service will still potentially return data structures with these circular dependencies. Is there any other solution to this problem?
    3) CR doesn't seem to support request documents that allow for arrays of elements. For example, my schema allows the user to specify an array of Instruments that should be returned by the web service. In the meantime, I have changed the schema to only specify single instances of the Instrument element in the request. Is there any other solution to this problem?
    4) CR doesn't seem to support empty values for optional attributes that are specified in the schema. So, when the "Enter Values" parameter form appears, I am required to enter values for these attributes, even though they are listed as optional in the schema. To avoid this problem, I have commented out the optional attribute values in the schema. Is there any other solution to this problem?
    5) When the schema specifies that a value is based on a restricted simple (string) type, the CR parameter form shows a drop list with ellipses (...), but the drop list does not contain the enumerated types specified in my schema. Instead, I must manually enter a value. Do you know of any reason why the drop list is not populated?
    6) The SOAP response document from my web service is relatively complicated. So, in the "Data" page of the Standard Report Creation Wizard, each and every XML element level of the response document listed in the schema is shown as a separate entry. If I choose just the top level element ("fetchInstrumentSetResponse"), then very little data is shown on the next page of the wizard (only the ID attribute). But, if I select each and every element type from the response document, CR prompts me for the request document parameters for each row I have selected (I see the same form 30+ times), even though there really should only be a single SOAP request to the web service to return this response document. It seems to be treating each of these elements as a separate "database table", with a different query string for each. Am I using this feature incorrectly?
    If you can point me to somewhere in the documentation that handles this in more detail, that would be great (all I could find were the step-by-step instructions on how to connect to a web service as a data source).
    Thanks!

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • Error while deploying a web service whose return type is java.util.Date

    Hi
    I have written a simple web service which takes in a date input (java.util.Date) and returns the same date back to the client.
    public interface Ping extends Remote
    * A simple method that pings the server to test the webservice.
    * It sends a datetime to the server which returns the datetime.
    * @param pingDateRequest A datetime sent to the server
    * @returns The original datetime
    public Date ping(Date pingDateRequest) throws RemoteException;
    The generation of the Web service related files goes smoothly in JDeveloper 10g. The problem arises when I try to deploy this web service on the Oracle 10g (10.0.3) OC4J standalone. it gives me the following error on the OC4J console :
    E:\Oracle\oc4j1003\j2ee\home\application-deployments\Sachin-TradingEngineWS-WS\
    WebServices\com\sachin\tradeengine\ws\Ping_Tie.java:57: ping(java.util.Date) in com.sachin.tradeengine.ws.Ping cannot be applied to (java.util.Calendar) _result  = ((com.sachin.tradeengine.ws.Ping) getTarget()).ping
    (myPing_Type.getDate_1());
    ^
    1 error
    04/03/23 17:17:35 Notification ==&gt; Application Deployer for Sachin-TradingEngineWS-WS FAILED: java.lang.InstantiationException: Error compiling :E:\Oracle\oc4j1003\j2ee\home\applications\Sachin-TradingEngineWS-WS\WebServices: Syntax error in source [ 2004-03-23T17:17:35.937GMT+05:30 ]
    I read somewhere that the conversion between java to xml datatype and vice versa fails for java.util.Date, so it is better to use java.util.Calendar. When I change the code to return a java.util.Calendar then the JDeveloper prompts me the following failure:
    Method Ping: the following parameter types do not have an XML Schema mapping and/or serializer specified : java.util.Calendar.
    This forces me to return a String data.
    I would appreciate if someone can help me out.
    Thanks
    Sachin Mathias
    Datamatics Ltd.

    Hi
    I got the web service working with some work around. But I am not sure it this approach would be right and good.
    I started altogether afresh. I did the following step :
    1. Created an Interface (Ping.java) for use in web Service as follows :
    public interface Ping extends Remote{
    public java.util.Date ping(java.util.Date pingDateRequest)
    throws RemoteException;
    2. Implemented the above interface in PingImpl.java as follows :
    public class PingImpl implements Ping
    public java.util.Date ping(java.util.Date pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    3. Compiled the above 2 java files.
    4. Generated a Stateless Java Web Service with the help of JDeveloper. This time the generation was sucessful.(If I had "java.util.Calendar" in place of "java.util.Date" in the java code of the above mentioned files the web service generation would prompt me for error)
    5. After the generation of Web Service, I made modification to the Ping interface and its implementing class. In both the files I replaced "java.util.Date" with "java.util.Calendar". The modified java will look as follows :
    Ping.Java
    =========
    public interface Ping extends Remote{
    public java.util.Calendar ping(java.util.Calendar pingDateRequest)
    throws RemoteException;
    PingImpl.Java
    ================
    public class PingImpl implements Ping
    public java.util.Calendar ping(java.util.Calendar pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    6. Now I recompile both the java files.
    7. Withour regenerating the Web Service I deploy the Web Service on OC4j 10.0.3 from JDeveloper. This time the deployment was sucessful.(The Deployment fails if I don't follow the step 5.)
    8. Now I generated a Stub from JDeveloper and accessed the stub from a client. It works fine. Here if you see the Stub code it takes java.util.Date as a parameter and returns a java.util.Date. (Mind you I am accepting a java.util.Calendar and returning the same in my Web Service interface. Step 5)
    The confusing thing is the Serialization and Deserialization of Data from Client java data to Soap message and Soap message to Server java data.
    From Client to SOAP :
    java.util.Date to datetime
    From SOAP to Server :
    datetime to java.util.Calendar
    From Server to SOAP :
    java.util.Calendar to datetime
    From SOAP to Client :
    datetime to java.util.Date (I am not able to understand this part of the conversion)
    Any help or inputs would be appreciated.
    Thanks
    Sachin Mathias

  • Update/insert/delete data from xcelsius to Database via web service

    Hi,
    I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b>
    <b>InfoBurst</b>
    http://www.infosol.com/azbocug/minutes/4-Writeback%20to%20a%20Database%20with%20Xcelsius.pdf
    <b>flynet </b>
    http://www.flynetviewer.com/public/community/Blogs/FlynetXcelsiusServerUser/default.aspx
    Except this 2 purchase add-on xcelsius, any other solution ?  
    Maybe need to write some in MSSQL or C# programming which enable insert, update, delete ...etc  ?
    *note: i not use Xcelsius Engage Server , i use Xcelsius Engage only
    thanks,
    regards
    s1
    Edited by: Leong Pui Kee on Mar 1, 2011 6:06 AM

    Hi,
    As of now in Xcelsius/Dashboard Design there is no feature or functionality to insert/update/delete data from database.
    Solution:
    Create a Web service in let’s say C# or Java, which will perform insert/update/delete operation.
    In Xcelsius add Web Service connection and user above web service.
    Xcelsius Web Service connection provides option to pass input values to a Web Service (Input Pane) and get the result (Output values pane).
    We can pass values to be written to the database as a input to Web Service via Web Service connection from Xcelsius and write data to the database.
    Note:
    Performing delete operation from Xcelsius Dashboard could be risky and may delete important data from database. I would not prefer giving delete option/functionality in Xcelsius dashboard.
    Hope this helps!
    Thank you.
    Regards,
    Vinay Mhaske

  • Data Federator - Array as input to web service.

    Hi,
    I have an ASP.NET web service method that takes in an array of string for input. I am adding this web method as a data source in Data Federator. However when I look at the method's parameters in Operations Selection in Data Federator, the array of string becomes a string. It seems that Data Federator only passes one element value as an array to the method. Is there any way for Data Federator to see the array correctly so that I can pass an array of string to the web method via Data Federator?
    Thanks.

    hi,
    Data Federator does not support array types as input parameters. For the moment there is no Data Federator workaround for this limitation (the only possibility is to modify the WebService definition).
    thanks.

  • Data Federator - Building Web Services Data Source - Request Guidance

    Hello -
    I am trying to build a web services data source in Data Federator.
    I have:
    1. In ECC, I have created a web service, proxy, port, endpoint, etc. and am testing it with WS Navigator
    2. I have created a Project in Data Federator of the type web service
        a. Here I have assigned the WSDL URL (generated in ECC) as the URL
        b. I have setup web service authentication using the same userid, pwd in the web services definition (note: I have set the
            web services authentication to 'NONE' to avoing authorization issues)\
        c. I am now trying to "Generate Operations"
    I keep getting the error :
    The File Access Parameters are not valid (directory path = <HERE IS THE PATH TO THE WSDL WITH THE HOST/PORT stripped OUT>; file pattern = document
    I believe that it is finding the WSDL, becuase when I change the WSDL from 'Document' to 'RPC', the error changes with the file pattern = rpc.
    What needs to be done to the file access parameter piece.
    PLEASE provide guidance.  Thanks.
    - abhi

    Ananya,
    We are using XI to load data to BI from source system. XI basically uses the same concept as Web Services - Real time data concept via RFC embeded in Proxies.
    I was using web services to test data load - eventually we will use XI.
    KJs blog is pretty good. I was able to get data loaded - after several iterations and several OSS notes. It is still not perfect - there are several manual steps . I am going to pick KJs brain on that.
    We are on SP10 and looks like there are several bugs in RSRDA. Some of these are addressed in SP11 an SP12.
    Some notes to consider are
    0001003963, 0001008276,0001009260 and 001003265.
    Let me know if you have any questions.

  • Data Federator - Changing Web Service Datasource URL

    Hi,
    I am using Data Federator XI 3.0.
    I have a few web service datasources with their WSDL URL set to the location of the web service on my development machine. If I deploy the web service on the production server, is there a way to simply update WSDL URL of the datasources in Data Federator without recreating them (copy to draft, update operations, reselect operations, etc.) ?
    I tried putting the URL in a deployment context parameter, but it did not work. The datasources still reference the old URL even when I changed the URL in the parameter.
    Thanks,
    Chih Hui

    Hi,
    If you want to configure Connections post deployment, it is required for your application to be configured with a Writable MDS Repository.As I had mentioned in the blog also, for this you need a entry in adf-config.xml and that your server should have a registered MDS store. Unless you will do this, the connection endpoint changes that you are doing will not be saved.
    To give an example, at the application end, in adf-config.xml, you need an entry like the following:
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
    <persistence-config>
    <metadata-store-usages>
    <metadata-store-usage default-cust-store="true" deploy-target="true" id="myRepos">
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    When you will deploy this app to a server with a registered MDS repository, the deployment will bring up a dialog where you will need to set(select/create) a partition for this app in the mds repository. Once, your deployment is done, now if you will change the endpoint using EM, it will save your changes.
    -Vishal

  • Need info on Standard Web services to pull Order data in CRM from external applications

    Hi Gurus,
    I have a requirement to pull Order data in CRM from external non-sap application using Web services. Are there any standard SAP provided web services to pull order data based on some input? If yes, can you provide me any kind of documentation related to this?
    Appreciate your help on this.
    Thanks
    Lakshman

    Hi Lakshman,
    I have checked further.
    Please review below link of the SAP Help documentation :
    http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/content.htm?frameset=/en/46/97218e79f115eae10000000a114a6b/frameset.htm&current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&node_id=439&show_children=false
    and also the link :
    –http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=347DD31EB5AB4BC592BD8B29C0981A1B
    Hoping that this will be helpful.
    Best regards - Christophe

  • How to Send and Receive Large Amounts of Data to and from a  Web Service

    Hi All,
    My requirement is: .Net Web service should receive a file and services do some modification in that file and return the file. I need to write client (using Java) to invoke that web service. Please help in writing java client code for accessing that service. Suggest if any changes required in Web service code also.
    My .Net web Service web method code:
    [WebMethod]
    public byte [] ByteEcho(byte[] data) {
    -     Some modification code -
    return data;
    }

    that will work fine for small files. it will potentially cause OutOfMemoryErrors on client and/or server for large files. if you want to send/recieve large files, you need to stream them.
    also, be aware that you cannot send raw byte[] via xml, you will need to encode the data using some sort of binary -> text encoding like Base64 encoding.

  • Problems sending xml data as string to a web service

    Hello!
    I need to develop a client in order to invoke a web service. I have the WSDL of the web service, so I generate a web service proxy, from that WSDL, using JDeveloper 10.1.3.0.
    Among other things, that web service receive RPC request (binding style is RPC) and the request has only one parameter, which consists of a string. That string must be an XML document (that is, the web service receives one parameter which is a XML document as a String). I generate that parameter, and it looks like the following:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <inputMessage xmlns="http://ws/validacion" xmlns:xsi="http://www.w3.o
    rg/2001/XMLSchema-instance" xsi:SchemaLocation="http://localhost/ws/xsd/mservic/ws.xsd">
    <request>ServiceRequest</request>
    <versionMsg>1.0</versionMsg>
    <data>AAAAAAAAAAAAAA</data>
    </inputMessage>
    However, when I send the request and capture it through HTTPAnalyzer, I get the following:
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><MyWebService xmlns="http://soapinterop.org/"><myWebServiceRequest xsi:type="xsd:string" xmlns="">&lt;?xml version = '1.0' encoding = 'UTF-8'?>
    &lt;inputMessage xmlns="http://ws/validacion" xmlns:xsi="http://www.w3.o
    rg/2001/XMLSchema-instance" xsi:SchemaLocation="http://localhost/ws/xsd/mservic/ws.xsd">
    &lt;request>ServiceRequest&lt;/request>
    &lt;versionMsg>1.0&lt;/versionMsg>
    &lt;data>AAAAAAAAAAAAAA&lt;/data>
    &lt;/inputMessage></myWebServiceRequest></MyWebService></soapenv:Body></soapenv:Envelope>
    As you can see, the symbol '<' y replaced with '&lt;'.
    Why does it happen? Is there a way of avoiding that?
    Could anybody be so kind to help me, please?
    Thank you very much in advance.

    Hello!
    I need to develop a client in order to invoke a web
    service. I have the WSDL of the web service, so I
    generate a web service proxy, from that WSDL, using
    JDeveloper 10.1.3.0.
    Among other things, that web service receive RPC
    request (binding style is RPC) and the request has
    only one parameter, which consists of a string. That
    string must be an XML document (that is, the web
    service receives one parameter which is a XML
    document as a String). I generate that parameter, and
    it looks like the following:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <inputMessage xmlns="http://ws/validacion"
    xmlns:xsi="http://www.w3.o
    rg/2001/XMLSchema-instance"
    xsi:SchemaLocation="http://localhost/ws/xsd/mservic/ws
    .xsd">
    <request>ServiceRequest</request>
    <versionMsg>1.0</versionMsg>
    <data>AAAAAAAAAAAAAA</data>
    nputMessage>
    However, when I send the request and capture it
    through HTTPAnalyzer, I get the following:
    <?xml version="1.0"
    encoding="UTF-8"?><soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
    e/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body><MyWebService
    xmlns="http://soapinterop.org/"><myWebServiceRequest
    xsi:type="xsd:string" xmlns=""><?xml version =
    '1.0' encoding = 'UTF-8'?>
    <inputMessage xmlns="http://ws/validacion"
    xmlns:xsi="http://www.w3.o
    rg/2001/XMLSchema-instance"
    xsi:SchemaLocation="http://localhost/ws/xsd/mservic/ws
    .xsd">
    <request>ServiceRequest</request>
    <versionMsg>1.0</versionMsg>
    <data>AAAAAAAAAAAAAA</data>
    ;/inputMessage></myWebServiceRequest></MyWebService></
    soapenv:Body></soapenv:Envelope>
    As you can see, the symbol '<' y replaced with
    '<'. (I hope you can see it now)
    The symbol '<' is replace with '& l t ;' (with no whitespaces)
    >
    Why does it happen? Is there a way of avoiding that?
    Could anybody be so kind to help me, please?
    Thank you very much in advance.

  • Data connection from SAP-R3 System to Xcelsius using Web Services

    Hello Everybody,
    Anyone tryed connecting data from SAP-R3 System to Xcelsius using Webservices? (created in ABAP function module)
    SDN downloaded document says to Generate Webservice URL through ABAP (by creating function module) and import it in xcelsius
    Data -> Add Web service connections
    by giving the URL to import. After giving the web server login credentials, the error says 'Unable to load URL'
    Any idea would be great help
    Note: I tried by following the thread & its not working:
    http://forums.sdn.sap.com/thread.jspa?threadID=1520321
    Thank you,
    Anand
    Edited by: Anand Amirtharaj on Feb 20, 2012 7:51 AM
    Edited by: Anand Amirtharaj on Feb 20, 2012 7:53 AM

    Hi,
    With regards to your statemetn "SDN downloaded document says to Generate Webservice URL through ABAP"   <- can you tell me more please? references/links/attachment?
    As far as I am aware, that the type of web service required for integration it a 'normal' Netweaver Web app server web service.
    There are limitations about the complexity of the WSDL - see Notes:
    1653655 - Limitations in Web Service WSDL URL usage in Xcelsius 4.0
    1703839 - Limitations of Web service usage in Xcelsius / Dashboard Design
    also , changes between SAP versions requires reworking the WSDL
    Note 1625091 - The WSDL URL for web service which generated in SAP Enterprise Central Component cannot be loaded into Xcelsius
    regards,
    H

Maybe you are looking for