[mashup-dev] [jira] Commented: (MASHUP-98) An exception appear when
incorrect
input string is given for an echo service of SOAP11endpoints,
SOAP12endpoints, SecureSOAP11endpoints and SecureSOAP12endpoints.
Yumani Ranaweera (JIRA)
jira at wso2.org
Tue Jul 17 02:07:44 PDT 2007
[ http://www.wso2.org/jira/browse/MASHUP-98?page=comments#action_11933 ]
Yumani Ranaweera commented on MASHUP-98:
----------------------------------------
Verified closed in 0.1.
> An exception appear when incorrect input string is given for an echo service of SOAP11endpoints, SOAP12endpoints, SecureSOAP11endpoints and SecureSOAP12endpoints.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MASHUP-98
> URL: http://www.wso2.org/jira/browse/MASHUP-98
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Environment: WinXp, jdk1.5, FF2.0.0.4
> Reporter: Yumani Ranaweera
> Assigned To: Thilina Gunarathne
> Priority: Blocker
> Fix For: 0.1
>
> Attachments: echo.js
>
>
> Fault: Can't find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle, key JavaScriptNoanswer <soapenv:Detail xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><Exception>org.apache.axis2.AxisFault: Can't find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle, key JavaScriptNoanswer at org.apache.axis2.AxisFault.makeFault(AxisFault.java:394) at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:114) at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:143) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:229) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:102) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.wso2.mashup.transport.ServiceUIFilter.doFilter(ServiceUIFilter.java:155) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.util.MissingResourceException: Can't find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle, key JavaScriptNoanswer at java.util.ResourceBundle.getObject(ResourceBundle.java:325) at java.util.ResourceBundle.getString(ResourceBundle.java:285) at org.apache.axis2.i18n.MessageBundle.getMessage(MessageBundle.java:191) at org.apache.axis2.i18n.MessageBundle.getMessage(MessageBundle.java:80) at org.apache.axis2.i18n.Messages.getMessage(Messages.java:71) at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:100) ... 23 more </Exception></soapenv:Detail>
> Steps to recreate the issue:
> -------------------------------------
> 1. Create a .js file to echo a string. (see the attached file)
> 2. Deploy the service.
> 3. Run the service from an FF browser to access the service via http (http://10.100.1.220:9762/services/echo)
> 4. Enter following data and submit.
> Endpoint = SOAP11endpoint
> Input = test
> Issue:
> ----------
> It throws an exception when the above data are submitted. Ideally it should give a user friendly error message to the user informing that the input data should be given within xml tags.
> ***********NOTE: This problem appears for SOAP11endpoints, SOAP12endpoints, SecureSOAP11endpoints and SecureSOAP12endpoints.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Mashup-dev
mailing list