File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes return Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "return" Watch "return" New topic
Author

return

Diego Memo
Greenhorn

Joined: Jun 18, 2004
Posts: 8
Hi,
i'm developing a simple client/server service. This is a my programs:

SERVER--------------------
public class testHelloWorld
{
public testHelloWorld() {}

public ??? getHelloWorldMessage(String name){
String a=....;
byte[] b=......;
return ???;
}
}

CLIENT-----------------------
String endpoint ="http://localhost:8080/jboss-net/services/testHelloWorld";
String methodName = "getHelloWorldMessage";

Service service = new Service();
Call call = (Call) service.createCall();

call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationName(methodName);

call.addParameter("name",org.apache.axis.Constants.XSD_STRING,ParameterMode.IN);
call.setReturnType(???);

??? ret = (???) call.invoke( new Object[] { "AXIS!" } );


I must return "a" and "b" variable.
How can i do ?


thanks
Diego Memo
Greenhorn

Joined: Jun 18, 2004
Posts: 8
Thanks, I have solved the problem.
 
 
subject: return
 
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture