axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Börkel>
Subject Urgent interop problem with .NET if String parameter is null
Date Wed, 20 Mar 2002 14:26:59 GMT

Consider the following method in a Java server:

  public String parameterTest(short s, int i, double d, String t, boolean b)

Now, if .NET is the client and I call parameterTest(1, 2, 3.5, null, true), then .NET does
not pass in 't' at all. This results in an error in Axis.

This is the SOAP message from .NET for this:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="" xmlns:soapenc=""
xmlns:tns="" xmlns:types=""
xmlns:xsi="" xmlns:xsd="">
  <soap:Body soap:encodingStyle="">
      <s xsi:type="xsd:short">1</s>
      <i xsi:type="xsd:int">2</i>
      <d xsi:type="xsd:double">3.5</d>
      <b xsi:type="xsd:boolean">true</b>

I am using Axis Beta1 and .NET 1.0. Anyone any ideas how to get this to work? Is it .NET's
fault? Then I'll file a bug report to MS about this.



View raw message