posted 19 years ago
In Listing 15-47:
...
<message name="fooRequest">
<part name="book" type="mh:Book"/>
</message>
<message name="fooResponse">
<part name="book" type="mh:Book"/>
</message>
<portType name="FooBar">
<operation name="foo">
<input message="mh:fooRequest"/>
<output message="mh:fooResponse"/>
</operation>
</portType>
Listing 15-48:
public interface FooBar extends java.rmi.Remote{
public void foo(BookHolder book) throws java.rmi.RemoteException;
}
My Question:
Because there is <output..>, shouldn't the foo method return "Book" type instead of "void"?
Thanks,
Nancy