Hi All,

I tried to run the Digit2image
<https://docs.wso2.com/display/AS521/Digit2image> sample provided with
Application Server but I get an error response.

Here is my request.

<body>
<p:digit2image xmlns:p="http://services.mashup.wso2.org/digit2image?xsd";>
<digit>1</digit>
<size>small</size>
</p:digit2image>
</body>

and following is the reply I get.

<soapenv:Fault xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
   <soapenv:Code>
      <soapenv:Value>soapenv:Receiver</soapenv:Value>
   </soapenv:Code>
   <soapenv:Reason>
      <soapenv:Text
xml:lang="en-US">org.jaggeryjs.scriptengine.exceptions.ScriptException:
org.mozilla.javascript.EcmaError: TypeError: undefined is not an xml
object.
(///software/wso2as-5.2.1/repository/deployment/server/jsservices/admin/digit2image.js#132)</soapenv:Text>
   </soapenv:Reason>
   <soapenv:Detail/>
</soapenv:Fault>


I checked line 132 in digit2image.js but cannot figure out the error.

Also, sorry for my ignorance but can somebody tell me what is the
technology behind these types of js web services and provide some links to
learning material?

Thanks

-- 
Lahiru Chandima
*Senior Software Engineer*
Mobile : +94 (0) 772 253283
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to