[prev in list] [next in list] [prev in thread] [next in thread]
List: wsf-javascript-dev
Subject: [wsf-javascript-dev] svn commit r7933 -
From: svn () wso2 ! org (svn () wso2 ! org)
Date: 2007-09-24 15:04:37
Message-ID: E1IZw2c-0000sw-SC () wso2 ! org
[Download RAW message or body]
Author: jonathan
Date: Mon Sep 24 15:04:31 2007
New Revision: 7933
Modified:
trunk/wsf/javascript/native/src/WSRequest.js
Log:
Allow empty payloads without inadvertent error message.
Modified: trunk/wsf/javascript/native/src/WSRequest.js
==============================================================================
--- trunk/wsf/javascript/native/src/WSRequest.js (original)
+++ trunk/wsf/javascript/native/src/WSRequest.js Mon Sep 24 15:04:31 2007
@@ -89,7 +89,7 @@
{
// seralize the dom to string
var content = WSRequest.util._serializeToString(payload);
- if (content == false) {
+ if (typeof(content) == "boolean" && content == false) {
throw new WebServiceError("Invalid input argument.", "WSRequest.send() \
unable to serialize XML payload."); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic