How to use webservice as a data source in VS2008 crystal report?
Crystal reports can take xml as its data by setting the database drivers to ADO and the database to the location of your xml producing webservice (it takes a URL) - its as simple as that!
My original route was more convoluted that I thought; when you create the report there is an option in the "Database Expert" called "XML and Web Services" which gives you an option to use an HTTP(S) data source - that should be your webservice URL. The report will then, as if by programming, automatically get data from that service.
Related
I am very new to IBM BPM. I want to know how can i read/write data from/to different system to IBM BPM ? What are the different formats supported ? like xml, csv, database, WSDL etc. ??
Let us suppose I have a system from where i can get some data, may be in the form of xml, csv or database, etc (without WSDL contract. Now I want to create an interface in my IBM BPM, which can be used to read/extract data from above mentioned system. Is this possible without a WSDL contract ?
IBM BPM provides out of the box connectors for both the standard (BPMN) and advanced (BPEL) products. For BPM Standard the System Data Toolkit has built in ready to go integration points for databases, SOAP, XML parsing, HTTP requests, and more. There are a few examples of connectors in the L2-SampleApps project. There are more here on the BPM Tutorials page and here. and a full PDF of simple how to samples.
For the advanced side, there are some example here which have code you can review for connecting to various outside systems.
When you say "import from a remote location" which of the following do you mean
A user looking at a coach and uploading to the server from their computer
A user lookking at a coach and uploading to the server from a network location
A user looking at a coach and selecting from a location on the BPM server
The server accessing a file on its file system
The server accessing a file on another file system
If it is one of the coach options, you could use the file upload widget for coaches and then parse the file that is uploaded from the file repository using one of the open source java packages that allow reading of excel spreadsheets.
You can get this information here:
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014873642
I am having a IPAD Native application and a symfony 1.4 application. I am having a local sql-lite DB with the same schema as that of symfony app. Now when I click on sync in the Ipad the data has to be stored in the mysql db of the web server. Similarly if there is new data in the webserver that has to be again added in the local sql Lite. The data transfer has been done by PLIST files. I am now using a normal PLIST parser for parsing the plist and storing it in DB. Also I am using Content-Disposition mechanism for sending data.
Note: There are data from both the sides since both device and web server can add data.
Can any one help me out with this since, if we are adding data in both the sides, we may get same id(primary key). How to solve this issue. Is there any plugin to do this in symfony?.
Thanks in Advance.
I have looked into everything but I think this is a unique problem. I have a web service in my website. This web service uses XMLRPC.NET but that hardly matters. i use this web service to get the string sent by the client and convert it into XML.This all is working fine. But the real problem is: I have a .aspx that uses the above written xml to generate a crystal report and save it as a PDF. The problem is I cannot call the .aspx page from my web service as response. redirect does not work. I tried writing the complete crystal report generation and PDF save logic in the web service method but it does not work because the CrystalReportViewer1.reportsource gives an error as it does not recognize the CrystalReportViewer1 in the current context. is there any way that I can do this by redirecting or by using the crystal report logic in the web service or any other way. Seems a little complicated but any help will be greatly appreciated. Please need help.
Thank You
I have sharepoint document library which contains infopath files, however I want to write a c# console program to read a field of infopath file, from a client machine, via sharepoint web service.
how do i do that? I am not allowed to deploy any code to sharepoint server.
Couple steps involved.
1. Get the infopath file from the Sharepoint server using webservices. You most likely will use GetListItems to find the name/URL of the file and then you can use a webclient class to stream the file.
2. Once you have the file locally (in memory) you can read any infopath using the standard XMLReader class methods.
Shouldn't be terribly complicated but does involve a few different technologies (web services, web client, XML).
One other option would be to promote the field from the form into the SharePoint library (providing it is not a field in a repeating section or a rich text field) and then use the lists web service (http://mysite/_vti_bin/lists.asmx) to find your record and read the promited fields value from the returned results in web services.
Here is a link that will hopefully help you wish the lists.asmx web service (if you need it): http://msdn.microsoft.com/en-us/library/lists.lists.getlistitems(v=office.12).aspx
Hope this helps
In my web application, I need to log all the SOAP messages to my SQL 2005 database whenever I make a web service call to my business partners' web service. How do I accomplish that?
Thanks in Advance,
Tony
You haven't specified what language you are using but assuming C# / .NET you could use SOAP extensions to get the SOAP content as a string and then use a simple INSERT to add to an arbitrary DB table.
There are probably far more elegant methods but I've implemented the above and it works fine.
Just remember to have a large column size in the DB table since the SOAP output could potentially be large.
Note: seems to be a bug in stackoverflow - the URL is:
http://msdn.microsoft.com/en-us/library/esw638yk(VS.71).aspx
Consider using Log4net configured with an Appender that targets the database table.