I have a WCF client that used to call a WCF method with an out parameter:
int SomeMethod(out int anotherReturnValue);
When reimplementing this method in a Java Webservice will I have to change this method contract? I heard that something called Metro made Java webservices interoperate with WCF, but I guess in this case I will have to change the contract. Is that right?
In Metro, You can annotate the out parameter with the
@WebParamannotation. Then define the parameter to aHolderfor your original type. For example:See this article for more details: WebService hints and tips