A Month of Interop

Microsoft is planning a month’s worth of webcasts exploring interop from numerous angles, check it out: http://www.interopmonth.com/ or http://blogs.msdn.com/msdnwebcasts/archive/2004/11/20/266983.aspx


Call .NET ASMX from ASP

Let’s say you have an ASMX webservice written in C# or VB.NET or some other .NET language, and you want to call it from an ASP page written in VBScript. There are a couple of ways to do this. Use the MS Soap Toolkit.http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en But as the download page states, this toolkit will be retired…


DataGrid and Web Services

Didya ever wonder?… why DataGrids and other data-bound controls can use arrays of objects as data sources, but they display only public properties (not fields)? On the other hand, types generated by wsdl.exe or xsd.exe generally expose public fields (not properties).   Do you think the xsd.exe people talked to the DataGrid people?   Ok, I know,…


VS, meet blog. Blog, meet VS.

http://www.jtleigh.com/people/colin/blog/archives/2004/10/copysourceashtm.html and http://www.jtleigh.com/people/colin/blog/archives/2004/11/copysourceashtm_3.html


.NET and MQ admin via ADSI

We have previously discussed connecting to MQSeries from .NET applications.  That post dealt specifically with connecting to MQSeries to perform queue operations:  Puts and Gets.  MQSeries also exposes an administrative interface.  What are the possibilities for connecting from a .NET app into the MQ Administrative function?  At first glance, there seems to be a number of…


.NET and MQSeries

MQ Postcard IBM WebSphere MQ (previously known as “MQSeries”) ships with a “postcard” app, amqpcard.exe, a simple demo that can be used to verify the installation of MQ.   The postcard app is supplied without source code.  At some point, IBM started shipping Java classes for MQ, and they also delivered a Java postcard app, including…


.NET and WebSphere interop

A New article posted on MSDN covering interop between .NET and WebSphere, over webservices.  This one provides sample code for both .NET and WebSphere . There are instructions for what you need to download and install on the WebSphere side (including Eclipse), as well as all the steps necessary in the WebSphere tools.  In addition,…


.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…


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…