[mashup-dev] [jira] Reopened: (MASHUP-97) An exception appears when
xml taged string is given for HTTP/HTTPS endpoints
Keith Godwin Chapman (JIRA)
jira at wso2.org
Thu Jul 5 07:19:42 PDT 2007
[ http://www.wso2.org/jira/browse/MASHUP-97?page=all ]
Keith Godwin Chapman reopened MASHUP-97:
----------------------------------------
Dispatching was not working when HTTPEndpoint was used (When annotation pertaining to schema was not present, if it was there we would have dispatched using the SOAP body) . We were not making use of the httplocation hence the service cannot dispatch to the correct operation.
Doing a temparary fix for the moment by extracting the operation name from the soap action. This should be fixed permanantly later by resolving the httplocation agaist the base URI.
> An exception appears when xml taged string is given for HTTP/HTTPS endpoints
> ----------------------------------------------------------------------------
>
> Key: MASHUP-97
> URL: http://www.wso2.org/jira/browse/MASHUP-97
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Environment: WinXP, JDK1.5, FF2.0.0.4
> Reporter: Yumani Ranaweera
> Assigned To: Jonathan Marsh
> Fix For: 0.2
>
> Attachments: echo.js
>
>
> Exception is as below;
> --------------------------------
> <Exception>org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /services/echo/ and the WSA Action = null at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:82) at org.apache.axis2.engine.Phase.invoke(Phase.java:304) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:198) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:130) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:122) at org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:75) at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processXMLRequest(AxisServlet.java:744) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:173) 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) </Exception>
> 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 = HTTP endpoint
> Input = <x>test</x>
> Issue:
> ----------
> It thows an exception when the above data are submitted.
> ***********NOTE: This appears for HTTPS endpoint also.
--
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