Currently the GetNewID methods in some of the other web services return a
simple type.  Feel free to register for the 30 day free trial, check out the
admin area and you'll probably get a good idea what is being called when.
If you need to get in touch with me, see the About Us section.

I am launching an email validation web service soon that will take an email
string as the arg and return true/false (probably as 0/1).

Cristian Sturek
President / Lead Architect
http://www.xwebservices.com

-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Erick Thompson
Sent: Tuesday, September 21, 2004 12:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] Method for web service method parameters

I've gone down the path of comma delimited strings. It was in the DCOM
days, and it caused me a lot of problems. I like the suggestion of using
XmlReader and/or strings to speed things up. If I was running a
for-profit website, I'd definitely check out your products! They seem
like real time-savers.

Given that you've done a full implementation, I'm hoping to pick your
brain on a few questions. First, do you pass everything in Xml? That is,
do you have any WebMethods that have an arg that is a simple type (e.g.,
String (not Xml packed), int, etc).

Thanks,
Erick

> -----Original Message-----
> From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Cristian Sturek
> Sent: Tuesday, September 21, 2004 12:20 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] Method for web service method
> parameters
>
> If you're creating a commercial product, then probably "cross
> platform compatibility" is your ultimate objective.  I would
> suggest you start here:
> http://weblogs.asp.net/cazzu/archive/2004/05/31/144922.aspx
>
> Also follow the links in the blog entry to see what others
> have said in the past.  We decided on sending and receiving
> the order to/from the Web Service as a String.  You can see
> the result here:
> http://www.xwebservices.com/Web_Services/XWebCheckOut/
>
> The documentation should provide you with more details if
> you're interested.
> The one thing I would definitely stay away from is you last
> example, the comma delimited parameters idea.  Even in the
> DCOM era, pre-XML to be more specific, I serialized things
> between proxy and stub as byte arrays.
>
> Cristian Sturek
> President / Lead Architect
> http://www.xwebservices.com
>
> -----Original Message-----
> From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Erick Thompson
> Sent: Monday, September 20, 2004 3:45 PM
> To: [EMAIL PROTECTED]
> Subject: [ADVANCED-DOTNET] Method for web service method parameters
>
> What is the best/recommended way to pass schema bound objects
> when using web services? For example, say I have an ordering
> system that accepts a customer and an order. I have a
> customer XSD that defines the what data the customer object
> can hold. Now, I have a web service with a method called
> AddCustomer (for example). I see a number of different ways
> that the customer data can be passed in.
>
> AddCustomer(XmlDocument customer)
>
> AddCustomer(DataSet customer)
>
> AddCustomer(TypedDataSet customer) // where TypedDataSet is
> generated by XSD
>
> AddCustomer(CustomCustomerObject customer)
>
> AddCustomer(string customerid, string customerName, ... etc)
>
> More?
>
> My question is, what is going to be the best/most flexible in
> terms of versioning, cross platform compatibility,
> maintenance, etc? My gut feeling is that the XmlDoucment is
> the best, but I want to check with people before moving ahead with it.
>
> Thanks,
> Erick
>
> ===================================
> This list is hosted by DevelopMentor.  http://www.develop.com
> Some .NET courses you may be interested in:
>
> Essential .NET: building applications and components with
> CSharp August 30 - September 3, in Los Angeles
> http://www.develop.com/courses/edotnet
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
> Some .NET courses you may be interested in:
>
> Essential .NET: building applications and components with
> CSharp August 30 - September 3, in Los Angeles
> http://www.develop.com/courses/edotnet
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor.  http://www.develop.com
Some .NET courses you may be interested in:

Essential .NET: building applications and components with CSharp
August 30 - September 3, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

Essential .NET: building applications and components with CSharp
August 30 - September 3, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to