.NET and Syslog?

Interop is not only about webservices.  There are lots of other systems that already expose interfaces of some sort that do not depend upon angle brackets and WSDL. Take Syslog, for instance.  The Windows Event Log is the analog to Syslog in the *nix world.  It’s pretty dern easy for a .NET app to spool…

7

Java Vector becomes Object Array

Somebody asked: I created a Web Service from a WSDL that came from Java (Apache SOAP). It contains the definition of Vector as complex type: <schema targetNamespace=”http://xml.apache.org/xml-soap” xmlns=”http://www.w3.org/2001/XMLSchema”>  <import namespace=”http://schemas.xmlsoap.org/soap/encoding/”/>  <complexType name=”Vector”>     <sequence>       <element maxOccurs=”unbounded” minOccurs=”0″ name=”item” type=”xsd:anyType”/>     </sequence>  </complexType> </schema>Then,  .NET generated the following (wrong) class: <System.Xml.Serialization.SoapTypeAttribute(“Vector”, “http://xml.apache.org/xml-soap”)> _ Public Class Vector  Public item() As Object End Class This…


Overloading in WebMethods, part II

OK, I lied. In the prior article on overloading in webmethods I took the position that it is a dangerous thing to do.  BUT…, that’s not completely true. Just a wee bit false.  A tiny bit of dissembling.  A good way to apply overloading to webmethods is to modify the generated client-side proxy.  Lots of…

4

Overloading in WebMethods, part I

Overloading and Web Services? Don’t Do it!   Somebody recently asked about the use of Overloaded method names in webservice interfaces.  The idea would be to expose a single webmethod that accepts different parameter lists.  Now, I am aware of the MessageName property of the WebMethod Attribute. But I generally don’t like the idea.  First,…

1