ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yasunori KASAI" <>
Subject Please Help Me!!
Date Fri, 28 Dec 2001 00:39:05 GMT
Assume there is a class shown below.
This class has a method 'appendTest()'.This method has no return value,
and appends a 'Hello',and a String received with same parameter to a
field of StringBuffer.

public class StringBufferTest{

 /** appends a 'Hello' at the head of receied String Buffer
 public void appendTest(StringBuffer a, String b){

  a.append("Hello ");

 public static void main(String args[]){

  StringBuffer strBuff = new StringBuffer();
  StringBufferTest tes = new StringBufferTest();
  tes.appendTest(strBuff, args[0]);


Example of a run and an output is as shown below.

>java StringBufferTest World
Hello World

 Is it possible to register the append Test
of this cass as a Web Service, and implement this
by SOAP communication?

We tried by using Apache SOAP, but it doesn't work.

Is it impossible to implement a service by SOAP,
which 'let cliant arrange an empty parameter and
let server put a value in parameter'?

Thank you.

View raw message