D2010 Passing user defined records as parameters to Delphi DLL and returning records
I have a simple question...
I have a *Huge* account system, made in Delphi 2010. It works ok.
I have external MODULES made in Delphi 2010. They are DLL.
So, i need to share information between them, using records like those
TAnotherRecord = record
field1, field3 : widestring;
TPlusRecord = record
field1, fieldA, fieldB: widestring;
TMyRecord = record
All these type are shared in definitions in main EXE and DLLs
I have a webservice from SAP, it has one operation "ZMymcsCustomersMulti"
As you can see the return value should be of the type "ZMymcsCustomersMultiResponse".
After I imported this service into my delphi p...WebService won't return all records
I used a webservice to return some data in my DB, and the return type is datatable, which is new in .Net 2.0.
But the problem is I have 200 records in DB, but WebService won't return all of them, maybe only 15 in all.
Could any one tell me what's wrong?
Bump! Anyone knows?
can u copy the code here?
It would be strange if you can return a DataTable from WebService.
The DataTable, DataRow, DataView, and DataViewManager objects cannot be serialized and cannot be returned from an XML Web service. To return less than a complete DataSet, you mu...Conditional WHERE Clause To Return One Record Or All Records
I am attempting to create a conditional WHERE clause within an AccessDataSource object. With SQL Server, I would normally use something like the following for the WHERE clause:
WHERE @Id IS NULL OR( @Id IS NOT NULL AND TableName.Id = @Id)
This would normally function perfectly to return, either one record with a matching Id to the @Id parameter value, or all of the records. However, with the AccessDataSource object, this does not seem to work. It only works to return the single record with the matching Id, and fails to return all records when the @Id ...Bugzilla database does not return some records in the order in which they were recorded
I'm seeing a peculiar issue in my Bugzilla installation (Bugzilla 2.20/MySQL
4.1). When I query a bugzilla record, I find that some records are not
delivered in the order in which they were recorded. To illustrate, my
Bugzilla database has 2,275 records. When I'm browsing the records
one-by-one, I find that the records are listed as shown below:
Thus, records 189, 190 and 337 are out of place.
Because of this problem, my Perforce Jobs are not mapped one-to-one with
Bugzilla IDs. The Per...To suppress record number when no record is returned by selection formula
its me again. well iam using a selection formula ..when no records is returned ..the record number iam using is displayin 1 in its field in the report.. help me how to suppress this record number when no records is returned using selection formula ...by the way help me
to find the records number returned by a selection formula...COUNTING ON YOUR EXPERTNESS..Help me.. iam very desperate..
...Secure the data in XML (returned by a webservice) during Webservice calls
My website has a flash object which call a webserviec which returns a xml back to flash. How can i secure the data which is passed through the XML. That is I dont want any users read the xml which i am giving to falsh object using any tools like fiddler, fire bug etc... Please give me your valuable suggestions and IdeasRegards
check this URL regarding secured web service
http://msdn2.microsoft.com/en-us/library/aa302428.aspx...Returning parents and all child records, while filtering on the child record
Sorry about the confusing title.Here's what I want to do:Get a list of all Parents, and ALL their children, which have a child meeting the specified criteria.i.e.SELECT * FROM Parents INNER JOIN Children ON ....WHERE Children.Field = @Valuewill NOT return the result set I want because I want ALL children meeting the criteria. Put in real-life terms, I would like (for example), a list of all addresses, with a FULL list of residents in each address, where any of the residents is called 'Bob'.I could do something like:SELECT * FROM Parents INNER JOIN Children ON ....WHERE Paren...how to retrieve a value which is returned by a webservice method by using the webservice behavior
I am using the webservice behavior to call a webservice method through internet. but i have a problem in getting a value which is returned from a webservice method. the jscript shown below is not working. Could u please help me in this ?
This is my web method:<WebMethod(True)> _
Public Function add(ByVal a As Integer, ByVal b As Integer)Return a + b
This is my jscript file:
service.useService("GridTasks.a...Does a ScriptService enabled WebService return JSON? If so how do you return database information?
I have read that when you use the [ScriptService] attribute in a WebService the webservice returns JSON. Is that accurate? If so what do you do when you want to return database queries from your web service? I have mostly seen simple examples that add two numbers and return an int or simple hello world string.
Just wondering how to proceed.
Hi,the default's indeed JSON but you could alter it by using the ScriptMethod attribute and in that set the ResponseFormat = Xml.Grz, Kris. Read my blog. Handy Firefox plugins for web developers.Workaround for non work...No result return from webservice in one server. Other server can return.
I had an application that consume a webservice and this application is deployed to 2 server (Server A & B).
Server A return empty result. Before that it work ok with resultServer B return result.
No error or exception for Server A.What will be the problem for Server A not returning any result?Server A is window server 2000Server B is window server 2003Thanks.
From your description, I want you to clarify these questions.
First, is the web service in a third server? As you said, we can know the application is deployed in both Server A and Server B...Webservice returns a valid SOAP response but proxy returns null
We've been having real trouble consuming a webservice on an Apache server in C#, I've scoured the various forum posts discussing a dodgy namespace, casing and updating the OperationContractAttribute attribute but none of them seem to fit (unless I'm missing something). From what I can see, it all looks fine so I was wondering if anyone else could shed any light on what we're missing.
The platform is C# .Net 3.5, I'm working in Visual Studio 2008 SP1 and have been inspecting the response using Fiddler 2. I've uploaded the WSDL (with the end point r...Select .. Group By returns tables records not result set records
Having a problem with "GROUP BY" in DBexpress and Interbase (firebird engine) where it is not returning the # of records in the result set but of the number or records in the table. What am I doing wrong?
Using this query
Select group_id from table group by group_id
in DBX Firebird/Interbase/Mysql returns the correct result set, but the record count is the # of records in the table
On the other hand using TIBQuery with the same query returns the grouped dataset, but sets the recordcount to 1, you can use .next to get the next record til the result set is reached. i...Return from a webservice