Getting 2D array of data in tabular format using web services

Hi all,
I was trying to fetch data from MS access database and populate the same 2D array of data on my web browser. But unfortunately it says that the 2D array is not a "supported data type" for web applications and hence the 'build fails'.
I would like to know if there is any method to represent my 2D data in a tabular format in my web broweser using the webservices. Needless to say, it can give such a good readiability!!!

ShoaibM wrote:
Hi vladodias!
I have implemented your solution and it works fine. :D Your solution would work as well, but it is bad in performance... See this...
http://docs.oracle.com/cd/E23943_01/core.1111/e10108/osb.htm#BABFHCDF
>
What my question is why I was not able to access particular element( E.g. 1st location of RecAdvGrp Array ).... ?? You should be able to do ./ReceiptAdviceRoot/ReceiptAdvGrp[1]/SYSHAN, and even ./ReceiptAdviceRoot/ReceiptAdvGrp[$index]/SYSHAN
>
And Why my forEach $index variable was not accessible inside the Insert Activity....??? What make you believe it wasn't accessible? I reckon you were just not doing the right xpath expression...
>
---how do you format your coding segment differently( background ) ...?? :)See the Forum FAQ bellow, search for "useful formatting options"
https://wikis.oracle.com/display/Forums/Forums+FAQ
Cheers,
Vlad
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
https://forums.oracle.com/forums/ann.jspa?annID=893

Similar Messages

  • How can i records with date format using web services?

    Hello
    I can't record date records using web services. I get no message errors.
    I can import string values but no dates (YYYY-MM-DD). Do you have any clue about that?
    Regards
    Arturo

    hello,
    That's the code I'm using to update an opportunity. In the date fields (e.g. dFecha_de_entrega_al_cliente) I've tried to put an specific date in the correct format (If i put it in another format i've got an error message due the wrong format). The CRM accepted the code but it didn't update the values that are different of string.
    I don´t know if there is something missing in teh program or if the developer environment is not the adequate.
    Regards for your comments
    Arturo
    Private Sub ActualizarOportunidad(ByVal fila As Data.DataRow, ByVal TipoPersona As String)
    Dim oLog As New Log()
    Dim IdLog As Integer
    Dim NumSerie As String = ""
    Try
    oLog.Insert_Log("Activación Garantía - Crear Oportunidad", oLog.GetLastIdProceso())
    IdLog = oLog.GetLastId()
    Dim sr_input As Opportunity.OpportunityUpdate_Input
    Dim sr_output As Opportunity.OpportunityUpdate_Output
    sr_input = New Opportunity.OpportunityUpdate_Input
    Dim sr(1) As Opportunity.OpportunityData
    sr(0) = New Opportunity.OpportunityData
    NumSerie = fila("NumeroSerie").ToString().Trim()
    sr(0).ExternalSystemId = NumSerie
    sr(0).OpportunityName = fila("NumeroSerie").ToString().Trim()
    sr(0).SalesStage = "Deseo" '"Cerrada/Ganada"
    sr(0).dFecha_de_entrega_al_cliente = fila("FechaEmision").ToString().Trim()
    sr(0).dFecha_de_facturacin_al_cliente = fila("FechaCompra").ToString().Trim()
    sr(0).stNro_Factura = fila("NumeroFactura").ToString().Trim()
    sr(0).plActividad_Economica = fila("IdActividad").ToString().Trim()
    sr(0).plTipo_de_Venta = fila("TipoCompra").ToString().Trim()
    sr(0).CustomObject8ExternalSystemId = fila("ApellidoVendedor").ToString.Trim()
    'sr(0).CustomObject8ExternalSystemId = IIf(TipoPersona = "J", fila("DocumentoE").ToString().Trim(), fila("Documento").ToString.Trim())
    'sr(0).CustomObject7ExternalSystemId = fila("")
    Dim lofsr As Opportunity.ListOfOpportunityData
    lofsr = New Opportunity.ListOfOpportunityData
    lofsr.Opportunity = sr
    sr_input.ListOfOpportunity = lofsr
    sr_output = oOpportunity.OpportunityUpdate(sr_input)
    oLog.Update_Log(IdLog, "Si", NumSerie, "")
    Catch ex As SoapException
    Me.txtError.Text = ex.Detail.InnerText.ToString()
    oLog.Update_Log(IdLog, "No", NumSerie, ex.Detail.InnerText.ToString())
    End Try
    End Sub
    ************************************************************************

  • Sending  mail data in tabular format using UTL_SMTP.

    I am using UTL_SMTP package for sending the mails after the job is running . Now there is requirement to send the same mail in Tabular Format . Is it possible to do the same . I am sending the mails using the secure server of my company.

    sunnymoon wrote:
    i need to send the mail using UTL_SMTP in which the mail body will be displayed in tabular format .You need to format a HTML Mime (Multipurpose Internet Mail Extensions) body as the e-mail. And use the HTML table element to format data into a tabular format.
    This has NOTHING to do with UTL_SMTP. SMTP is a transport protocol. It does not create Mime bodies for you. It does not do Mime formatting or parsing or whatever. It simply moves a payload from the client to the server for delivery as an e-mail.
    So your code needs to create that payload. You need to format a proper Mime body in your code. Not UTL_SMTP. Not PL/SQL.

  • Hi iam getting the alv grid data in excel format but iam facing one problem

    hi iam getting the alv grid data in excel format but iam facing one problem ,
    i.e., i want it read only  but iam getting it in edit mode i use layout default in excel iam getting in xl directly but in edit mode but i need it in read only mode
    what i have to do for that  and bdy knows reply me i need it urgently.

    there's always edit-mode if you choose excel-inplace - but noone can modify/rewrite the data
    A.

  • How to do Bulk data transfer  using Web Service

    In my application I have to write various web services but majority of the web service has to
    query database and return back bulk data(rows>10K) through web service.
    So I would like to ask what is the efficient way of transferring bulk data using web service as presently
    Iam returning the dataset as xml String (using StringBuilder) from web service and consuming the same at client end.
    Is there a better way to this in web service?
    My env:
    Front end can be in any other technology ,UI like C#
    Back end : Tomcat 6 on Java 6 with Axis2
    Thanks in advance

    Innova wrote:
    But then also I have to mention a return type although its xml that is getting transferred.
    Can you provide me a with a small sample code.Like if I have Emp obect with properties
    Empname,EmpID,DOJ,DOB,Dpt . In this case what will be the return type.
    My major concern is that my resultset is going to be huge in terms of >10,000 rows so
    that much time for formation of xml and then the transfer so how can I reduce the transfer
    time ,I meant a faster optimised approach for transferring large data as part of web service.
    Simply putting , how can I transfer bulk data in minimum time so that I can reduce the
    waiting time at client side for the response.
    Thanks in advanceI've done this with thousands before now, and not had a performance problem...at least nothing worth writing home about.
    Your return type will be an array of Emp objects. You can use a SOAP array for that (you'll need to look that up for the syntax, since I can't remember it off the top of my head), which gets restricted to being an array of Emp.
    Should the normal technique prove to be too slow then you should look at alternatives, but I would expect this to work well enough. And you have no faffing about with devising a new transfer system that then has to be explained to your client system...it'll all be standard.

  • Getting error-"Process Access denied" while invoking Process as web service

    Hi,
    I have a very simple Business Process, just to take some input & give some String as output. I published this BP as web service on Oracle BPM - Process Administrator. I got its WSDL also. I can invoke startSession operation. But when I invoke the operation that is exposed by BP as web service, I am getting an error - "Process Access denied".
    Please help to solve the issue, as I need it urgently.
    Thanks,
    Sujata

    Hi Ariel,
    Thanks for reply and sorry for delay on updating status. Actually our process server was having a problem, so I could not check the same in last 4 days. Now coming to the point....
    I changed Process web service by changing authentication type as "Usernname token profile". I have not checked "Required HTTP Basic Authentication". As you said, WSDL got changed, it has removed startSession(). But when I invoke my actual operation, I am supposed to send authentication data (user name & password) in header.
    I tried to send correct authentication info in header. But still I am getting an exception.
    soapenv:Server.generalException - WSDoAllReceiver: Request does not contain required Security header
    I feel header might be going wrong. I have taken header format from web service guide. I am attaching the entire request message taht I am sending, please tell me where I am going wrong...
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sim="http://bea.com/albpm/Sample/SimpProc">
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wsswssecurity-secext-1.0.xsd">
    <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsu:Created> 2010-06-01T19:23:29.774Z </wsu:Created>
    <wsu:Expires> 2010-07-02T15:02:29.774Z </wsu:Expires>
    </wsu:Timestamp>
    <wsse:UsernameToken>
    <wsse:Username>bpr_user</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wssusername-token-profile-1.0#PasswordText">bpruser12</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    <sim:sayHello>
    <argInput>ss</argInput>
    </sim:sayHello>
    </soapenv:Body>
    </soapenv:Envelope>
    I cehcked with & without wsu:Timestamp. But same.....
    Please give your suggestion.
    Thanks
    Sujata

  • How to make link between xcelsius components with sap data using Web servic

    Hi all,
    I have a doubt regarding connection between Xcelsius components and SAP data.
    I created one Web service using Function module and made a connection between xcelsius and that web service using binding URL. It shows imput and output parameters perfectly.
    But I cant get any idea as to how to connect Xcelsius components with these parameters.
    Can anybody help me out..
    please its urgent.
    Thanks,
    Simadri

    Have you bound your output parameters to ranges of cells? Select the item, then click the icon to the right of the Insert In: box and select the cells.
    Add a spreadsheet component to your chart and bind it to the cells, then preview the model. Do you see the data coming through?
    If you do, then you can click File > Snapshot > Export Excel Data. Then close Preview mode, and import data from spreadsheet and select the sheet you just exported. This gives you real data to work with when designing the dashboard.
    Hope that helps.

  • Reference for working with a data collection retreived from a Web Service

    Does anyone have a good resource / example of working with multi row data collections returned from a web service call?
    In addition to the basic return of x data rows, I will also be getting parent child collections. For example,
    for each Customer row, 0 or more Customer Invoices
    I have found many guides the relate to single values being retrieved by the web service, but I have not found any that refer to data collections.
    Best regards,
    Thomas

    That can all certainly be done with a 13" MBP.
    You'd want to get a USB hub, preferably USB 3.0 to plug in your optical drive, keyboard and mouse.
    For your external monitor you can use a Mini DisplayPort adapter to DVI or HDMI (or if it's a retina MBP use the HDMI out).
    For your ethernet, it will plug right into the non-retina. If you get the retina, you'd need a Thunderbolt to Ethernet adapter (faster) or a USB to ethernet adapter (slower).

  • FETCH DATA FROM ORACLE DATABASE USING Web Dynpro

    I want to fetch data from ORACLE database using Web Dynpro.How can I do this?

    1) Are you sure that you get no results? It sounds like you are having name resolution issues, which would imply that you should be getting an ORA-00942 error indicating that the table doesn't exist (or that you don't have access to the table). If you are not seeing this error, I would tend to suspect an overzealous exception handler.
    2) What database account owns the table? What database account is your ASP.Net application using to connect? Assuming these two accounts are different, your application would either have to
    - Explicitly prefix the table name with the schema name
    - Have a public or private synonym that maps the table name to the fully qualified identifier schema_name.table_name
    - Issue the command ALTER SESSION SET CURRENT_SCHEMA = <<schema name>> in each session, in which case all queries in the session would use the specified schema name as the default if no schema name is prefixed.
    Justin

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • Using Web Service as Data source (Pluggable Data Source) in Oracle Reports

    Anyone using Webservice as a pluggable data source in oracle 10g reports.(Report builder version:10.1.2.0.2)? We need to be able to use web service as one of the data source to create reports.Tried the following and ran into issues:
    Imported the wspds.jar fle from oracle plugin exchage. When tried using it received the following error in oracle reports trace file.
    04/26 22:27:22 java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build([Loracle/xml/parser/v2/XMLDocument;Ljava/net/URL;)Ljava/lang/Object;
    By troubleshooting issue found out that xmlparserv2.jar in 10g is newer than xmlparserv2.jar in 9i. wspds.jar is using xmlparserv2.jar in 9i as it was developed and tested for 9i only. Believe there is no newer wspds.jar file developed specifically for 10g?
    Is there a better/standard solution to use webservice as data source in oracle 10g reports? Does later version of oracle reports supports webservice as a data source without any additional plugins? Any suggestion would be helpful.

    Please provide support for the above request.
    It appears that Oracle 10g reports doesn't support Web Service as pluggable data source. Is this option is available in Oracle 11g Reports or Oracle Discoverer Or OBIEE?

  • Report that uses web services as data source, prompts for database logon

    I have a crystal report that uses web services as a data source. When I deploy the report to Infoview it prompts me for a database username and password. Since I am not using a database it should not prompt me for these. I tried various options in the CMC->database settings for this report but it still prompts me for the database logon info or tells me that the database logon information is incorrect.
    The report work fine in the Crystal Reports Designer.
    Does anyone know how I can prevent this report from prompting me for the database logon info ?
    Thanks,

    What options have you tried in the CMC?
    Have you tried running the report in Crystal Reports installed directly on the Enterprise machine?

  • How to access  complex data type from a soap web services?

    hello
    can u please tell me how can i access complex data type from a soap web service from jdeveloper 10g
    Jdeveloper generates 3 classes
    serviceStub
    getproperties
    response
    i have to retreview the data which is a complex data type it gives some
    unknown type. and the return value is a key-value pair data type .
    regards
    vs

    After you create the partner link and the invoke (to create the variables), change the element type of the response message to the complex type definition of your collection that appears in the XSD. You can do the same thing if you want to change the element type of the payload of the request message as well.

  • Is it possible to read/write data from Salesforce using web service hub in Informatica?

    Anyone from Informatica can asnwer this question please

    Is it possible to read/write data from Salesforce using web service hub in Informatica? Not asking about PowerExchange for Salesforce or Informatica Cloud. Just using web service can we load data into Salesforce? Thanks ahead.

  • Getting an Array complex Type From a SOAPMessage using SAAJ

    My question is can you do that?
    I was able to put together a properly formatted message for a .NET SOAP service, send it, and get the response (without Fault), but from the response
    SOAPMessage response = connection.call(message, endpoint);
    I don't see how to get the array, and I can't find any example on the web any where using SAAJ. It's not an attachment, because
    System.out.println("Number of attachments.... " + response.countAttachments() );
    gives me
    Number of attachments.... 0.
    Has anybody seen an example on how to do this? I haven't seen any docs on this been looking for two days.      

    Hello,
    It sounds like you want to get the body of that response SOAP Message. If i'm right then you should review the structure of a SOAP Message, it is something like..
    <Message>
    <Envelope>
    <Header></Header>
    <Body></Body>
    </Envelope>
    </Message>
    That structure is basically a one without attachments. To get the body, SAAJ gives you a method (i don't quite recall it now) something like response. getEnvelope().getBody() and inside Body you should get the values you asked for.
    Nonetheless, i'm gonna give you a great resource web page address... Good Luck!!!
    http://java.sun.com/webservices/docs/1.3/tutorial/doc/index.html
    JJ2O Venezuela

Maybe you are looking for

  • Sending iPhotos in e-mail

    I am new in iPhoto....and I cannot send the photos as an attachment in my comcast.net account. I keep getting this message: This message could not be delivered and will remain in your Outbox until it can be delivered. This message could not be delive

  • Facetime iMac vs Macbook Pro

    Why do we have to pay for Facetime on iMac when it's fee on Macbook Pro (beta, but still)? Only .99, but really!

  • "Check point not complete"  & Shared pool performance

    Hi all, 1. I am getting the error in alert log file as "Check point not complete" in oracle 11g. Its running in dataguard enviroment. Can you please help us on this. 2. How to check the shared pool usage and shared pool free space and how to increase

  • Which ECC table stores shipment # condition type level data?

    Hi all: Here I have a requirement to get freight data at condition type level for each shipment number. Does anybody know which ECC table/field maintain such data? Any post would be appreciated and thank you all in advance! Tim

  • How can I get raw converter for Sony a7m2

    Aperture does not recognize raw files from my new Sony Alpha a7m2 camera. How can I get an update for Aperture? I have Aperture 3.6. I have macbook pro retina display using ox10.10.1