For test purpose I have now changed the return type of another methode to a simple int.
The return value is NULL.
Here is my code:
C# WS-Client
------------
string value="test";
object[] results = this.Invoke("getProtoArrayList", new object[] {value});
------------
Java WS-server
public int getProtoArrayList(String value)
{
System.out.println("Entering the new GetProto");
return 1;
}
----------------
The request is OK, I can see the output.
WSDL:
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="
xmlns:apachesoap="
xmlns:impl="
xmlns:intf="
xmlns:soapenc="
xmlns:wsdl="
xmlns:wsdlsoap="
xmlns:xsd="
- <!-- WSDL created by Apache Axis version: 1.2.1
Built on Jun 14, 2005 (09:15:57 EDT)
-->
- <wsdl:message name="getProtoArrayListResponse">
<wsdl

art name="getProtoArrayListReturn" type="xsd:int" />
</wsdl:message>
- <wsdl:message name="getProtoArrayListRequest">
<wsdl

art name="in0" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="getApplicationPropertiesResponse">
<wsdl

art name="getApplicationPropertiesReturn" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="getApplicationPropertiesRequest">
<wsdl

art name="in0" type="xsd:string" />
</wsdl:message>
- <wsdl

ortType name="LogSoapServer">
- <wsdl

peration name="getProtoArrayList" parameterOrder="in0">
<wsdl:input message="impl:getProtoArrayListRequest" name="getProtoArrayListRequest" />
<wsdl

utput message="impl:getProtoArrayListResponse" name="getProtoArrayListResponse" />
</wsdl

peration>
- <wsdl

peration name="getApplicationProperties" parameterOrder="in0">
<wsdl:input message="impl:getApplicationPropertiesRequest" name="getApplicationPropertiesRequest" />
<wsdl

utput message="impl:getApplicationPropertiesResponse" name="getApplicationPropertiesResponse" />
</wsdl

peration>
</wsdl

ortType>
- <wsdl:binding name="LogSoapServerSoapBinding" type="impl:LogSoapServer">
<wsdlsoap:binding style="rpc" transport="
/>
- <wsdl

peration name="getProtoArrayList">
<wsdlsoap

peration soapAction="" />
- <wsdl:input name="getProtoArrayListRequest">
<wsdlsoap:body encodingStyle="
namespace="
use="encoded" />
</wsdl:input>
- <wsdl

utput name="getProtoArrayListResponse">
<wsdlsoap:body encodingStyle="
namespace="
use="encoded" />
</wsdl

utput>
</wsdl

peration>
- <wsdl

peration name="getApplicationProperties">
<wsdlsoap

peration soapAction="" />
- <wsdl:input name="getApplicationPropertiesRequest">
<wsdlsoap:body encodingStyle="
namespace="
use="encoded" />
</wsdl:input>
- <wsdl

utput name="getApplicationPropertiesResponse">
<wsdlsoap:body encodingStyle="
namespace="
use="encoded" />
</wsdl

utput>
</wsdl

peration>
</wsdl:binding>
- <wsdl:service name="LogSoapServerService">
- <wsdl

ort binding="impl:LogSoapServerSoapBinding" name="LogSoapServer">
<wsdlsoap:address location="
/>
</wsdl

ort>
</wsdl:service>
</wsdl:definitions>