You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Chamikara Jayalath <ch...@gmail.com> on 2005/09/04 19:18:56 UTC
Ping sample files are failing
Hi All,
Ping sample files (sync and async) seem to be failing (in the svn samples
directory). I think the reason is following code of ClientPropertyValidator
class.
private static boolean getInOut(Call call) {
OperationDesc oper = call.getOperation();
if (oper != null) {
if (oper.getMep() == OperationType.ONE_WAY) {
return false;
}
} else {
QName returnQName = (QName) call.getReturnType();
if (returnQName == null) {
return false;
}
}
return true;
}
I think this should be corrected as follows.
private static boolean getInOut(Call call) {
OperationDesc oper = call.getOperation();
if (oper != null) {
if (oper.getMep() == OperationType.ONE_WAY) {
return false;
}
}
QName returnQName = (QName) call.getReturnType();
if (returnQName == null) {
return false;
}
return true;
}
Chamikara
Re: Ping sample files are failing
Posted by Davanum Srinivas <da...@gmail.com>.
+1 go for it :)
thanks,
dims
On 9/4/05, Chamikara Jayalath <ch...@gmail.com> wrote:
> Hi All,
>
> Ping sample files (sync and async) seem to be failing (in the svn samples
> directory). I think the reason is following code of ClientPropertyValidator
> class.
>
> private static boolean getInOut(Call call) {
> OperationDesc oper = call.getOperation();
> if (oper != null) {
> if (oper.getMep() == OperationType.ONE_WAY) {
> return false;
> }
> } else {
> QName returnQName = (QName) call.getReturnType();
> if (returnQName == null) {
> return false;
> }
> }
> return true;
> }
>
> I think this should be corrected as follows.
>
> private static boolean getInOut(Call call) {
> OperationDesc oper = call.getOperation();
> if (oper != null) {
> if (oper.getMep() == OperationType.ONE_WAY) {
> return false;
> }
> }
>
> QName returnQName = (QName) call.getReturnType();
> if (returnQName == null) {
> return false;
> }
>
> return true;
> }
>
>
>
> Chamikara
--
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org
Re: Ping sample files are failing
Posted by Davanum Srinivas <da...@gmail.com>.
+1 go for it :)
thanks,
dims
On 9/4/05, Chamikara Jayalath <ch...@gmail.com> wrote:
> Hi All,
>
> Ping sample files (sync and async) seem to be failing (in the svn samples
> directory). I think the reason is following code of ClientPropertyValidator
> class.
>
> private static boolean getInOut(Call call) {
> OperationDesc oper = call.getOperation();
> if (oper != null) {
> if (oper.getMep() == OperationType.ONE_WAY) {
> return false;
> }
> } else {
> QName returnQName = (QName) call.getReturnType();
> if (returnQName == null) {
> return false;
> }
> }
> return true;
> }
>
> I think this should be corrected as follows.
>
> private static boolean getInOut(Call call) {
> OperationDesc oper = call.getOperation();
> if (oper != null) {
> if (oper.getMep() == OperationType.ONE_WAY) {
> return false;
> }
> }
>
> QName returnQName = (QName) call.getReturnType();
> if (returnQName == null) {
> return false;
> }
>
> return true;
> }
>
>
>
> Chamikara
--
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org