This sort of problem posted again and again in this newsgroup simply
because some of us thinks that Web Services is just a method with
WebMethod attribute, rather that a set of messages in a document based
mesaging platform. even a simple web method like this can cause
interoperablity problem
[WebMethod]
public Employee[] GetEmployee()
{
Employee[] emps = new Employee[10];
return emps;
}
I think Microsoft is part to blame for making developers thinking that's
how to write web services. everytime you create a new asmx in VS.Net in
give the HelloWord
// WEB SERVICE EXAMPLE
// The HelloWorld() example service returns the string Hello World
// To build, uncomment the following lines then save and build the project
// To test this web service, press F5
// [WebMethod]
// public string HelloWorld()
// {
// return "Hello World";
// }
Using tools like XmlSpy (my favorite) or CapeClear WSDL editor certainly
helps to make a better interoperable web services. Christian Weyer's
contract-first tool for web services is a great tool to achieve this as
well, thou' i have it installed never really touch it. One of this
should be the first tool every web service developer should have in
their toolbox after the HelloWorld introduction
regards
erymuzuan
> Erymuzuan's approach allows much better control over the XML
> serialization format of the data. Since the original post was about
[quoted text clipped - 82 lines]
>>>>
>>>>Stu
Stu - 25 Jan 2005 13:45 GMT
Thanks for all your response on this
I like the dataset model cuase its very quick and convenient.
So ill probably end up putting some method overrides so u can choose dataset
or xml
Stu
> This sort of problem posted again and again in this newsgroup simply
> because some of us thinks that Web Services is just a method with
[quoted text clipped - 120 lines]
> >>>>
> >>>>Stu
Christoph Schittko [MVP] - 26 Jan 2005 03:36 GMT
I agree with all of that ;)
Glad to hear you like wscf. Have you taken a look at release 0.4
(released last December) with the new WSDL wizard? We'd love to hear
what you think.
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
> -----Original Message-----
> From: erymuzuan [mailto:erymuzuan@yahoo.com]
[quoted text clipped - 127 lines]
> >>>>
> >>>>Stu
Stu - 01 Feb 2005 10:05 GMT
One final question
Forgive my ignorance on the Unix Side of but if i have an ms web service say
function xyz(a,b,c,d) will they be able to use the proxy and call the web
service or do I need to process xml soap streams ?
Any good resources for dev MS web services for unix
> I agree with all of that ;)
>
[quoted text clipped - 148 lines]
> > >>>>
> > >>>>Stu
Christoph Schittko [MVP] - 02 Feb 2005 02:58 GMT
You have to hope that there is a tool to generate proxy classes on the
unix platform you're working with. The Apache Axis framework for example
ships with a tool called WSDL2Java (for Java) and WSDL2Ws (for C++) that
works very similar to the "Add Web Reference" wizard in Visual Studio.
The classes these tools generate will send XML xml straem to your MS web
service, just like .NET proxies do. Your web service sees no difference,
regardless what client sent the XML.
HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
> -----Original Message-----
> From: Stu [mailto:Stu@discussions.microsoft.com]
[quoted text clipped - 162 lines]
> > > >>>>
> > > >>>>Stu