Hello group
My problem: An XML feed of about 1000+ records needs to be sent over the web
and validated against an XML schema.
I am considering 2 possible solutions to achieve this, but would welcome any
suggestions on what would be the best approach:
1. Create data classes from the XML schema. Populate these with records and
pass them as complex data types (structs) via the WebMethod. I'm thinking
this would ensure that the XML that gets returned is valid and complies to
the schema from the very beginning and therefore will not require a
validation check using the XmlValidatingRe ader.
2. The client requests the records from an intermediary webservice (ws-A)
which calls the second webservice (ws-B)
The function of ws-A is to invoke the recordset from ws-B and validate the
XML returned by ws-A.
If the records are valid, it will bundle the XML into the SOAP body and
return the XML to the client. Otherwise it will return an a SOAP error
notifying the client of invalid XML.
The second approach is obviously a poor solution and I'm not even sure if
the the first solution is a best-practice approach. Would really appreciate
some pointers.
Thanks
cT 2 1305
I was surprised, reading the articel in the german professional journal c't:
"Web Services mit .NET, Teil 2"
When I was employed belonging computer systems, I worked with DCOM.
For me it was sometimes work for half a week, to get satisfactory connections
between clients and server.
Now, too old for further efforts, I read and see, that nothing was done for
understandabili ty.
Sorry
Erhard
I was surprised, reading the articel in the german professional journal c't:
"Web Services mit .NET, Teil 2"
When I was employed belonging computer systems, I worked with DCOM.
For me it was sometimes work for half a week, to get satisfactory connections
between clients and server.
Now, too old for further efforts, I read and see, that nothing was done for
understandabili ty.
Sorry
Erhard This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Programatix |
last post by:
Hi,
I'm working on a project which includes WebServices and Windows Form
application.
The Windows Form application will call the WebServices to retrieve data from
database. The data will be returned as DataSet.
Now, here's the problem. On .NET Framework 1.1, if any rows in the dataset
returned contain errors (marked by calling the SetColumnError() method or
|
by: Programatix |
last post by:
Hi,
I'm working on a project which includes WebServices and Windows Form
application.
The Windows Form application will call the WebServices to retrieve data from
database. The data will be returned as DataSet.
Now, here's the problem. On .NET Framework 1.1, if any rows in the dataset
returned contain errors (marked by calling the SetColumnError() method or
|
by: Programatix |
last post by:
Hi,
I'm working on a project which includes XML WebServices and Windows Form
application.
The Windows Form application will call the XML WebServices to retrieve data
from database. The data will be returned as DataSet.
Now, here's the problem. On .NET Framework 1.1, if any rows in the dataset
returned contain errors (marked by calling the SetColumnError() method or
|
by: SteveR |
last post by:
I want to return an ArrayList from my web service. I can write this part and
everything compiles but I can't get the web application that uses the web
service to compile. I call the service aynchronously so then in my code I
have this to retrieve the ArrayList object.
public void CalcCallback(IAsyncResult ar)
{
ArrayList arrResults = ws.MyFunction(ar);
}
|
by: Picho |
last post by:
Hi all.
I have a webservice and a windows app.
both of them reference the same class library called WebServiceTest.Core
that defines a class called Class1.
the webservice exposes a method that looks like this:
public WebServiceTest.Core.Class1 GetClass1()
| |
by: Codex Twin |
last post by:
Hello group
My problem: An XML feed of about 1000+ records needs to be sent over the web
and validated against an XML schema.
I am considering 2 possible solutions to achieve this, but would welcome any
suggestions on what would be the best approach:
1. Create data classes from the XML schema. Populate these with records and
pass them as complex data types (structs) via the WebMethod. I'm thinking
this would ensure that the XML that...
|
by: Darin |
last post by:
I have a form w/ a textbox and Cancel button on it. I have a routine to
handle textbox.validating, and I have the form setup so the Cancel
button is the Cancel button.
WHen the user clicks on the cancel button, the textbox.validating is
being called. I don't want it to be since they are exiting the screen
the validation doesn't have to be done.
How can I do that.
|
by: Jim S |
last post by:
I have a .net framework 2.0 client (Pocket PC) and a .net 2.0 webservice that
communicate on the same LAN. The Pocket PC has no problem consuming strings
returned from the web service methoeds but I’m unable to receive and a custom
object. The error occurs when the PocketPC app casts a returned object
(WebServiceServer.objectA) from the webservice to pocketPC.ObjectA (results
in InvalidCastExeption). ObjectA is a simple class and is...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |