[ 
https://wso2.org/jira/browse/MASHUP-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28684#action_28684
 ] 

Ruchira Wageesha commented on MASHUP-1238:
------------------------------------------

In order to work with httpendpoints, we need to set [operation].httpMethod and 
[operation].httpLocation annotations. This is required when parameters are 
passed into the operation.

> Sample services return an error when a request is sent via HTTPEndpoint
> -----------------------------------------------------------------------
>
>                 Key: MASHUP-1238
>                 URL: https://wso2.org/jira/browse/MASHUP-1238
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>          Components: Core
>         Environment: WinXP, JDK16, IE7,  2.0.1 Alpha Preview.
>            Reporter: Yumani Ranaweera
>            Assignee: Ruchira Wageesha
>            Priority: High
>             Fix For: 2.0
>
>
> Steps:
> --------
> 1. Access http://10.100.1.120:9763/services/digit2image?tryit
> 2. Change the endpoint to "HTTPEndpoint" and send a request
> Issue:
> -------
> Returns an error as below;
> Fault: Internal Server Error [detail] 
> <Exception>org.apache.axis2.AxisFault: Required element null defined in the 
> schema can not be found in the request&#xd; at 
> org.apache.axis2.builder.BuilderUtil.buildsoapMessage(BuilderUtil.java:177)&#xd;
>  at 
> org.apache.axis2.builder.XFormURLEncodedBuilder.processDocument(XFormURLEncodedBuilder.java:118)&#xd;
>  at 
> org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:193)&#xd;
>  at 
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:141)&#xd;
>  at 
> org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:107)&#xd;
>  at 
> org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:838)&#xd;
>  at 
> org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:149)&#xd;
>  at 
> org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:138)&#xd;
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)&#xd; at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)&#xd; at 
> org.eclipse.equinox.http.helper.FilterServletAdaptor$FilterChainImpl.doFilter(FilterServletAdaptor.java:56)&#xd;
>  at 
> org.wso2.carbon.jsservices.custom.ui.CustomUIServletFilter.doFilter(CustomUIServletFilter.java:166)&#xd;
>  at 
> org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)&#xd;
>  at 
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)&#xd;
>  at 
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)&#xd;
>  at 
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)&#xd;
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)&#xd; at 
> org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:134)&#xd; at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)&#xd; at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)&#xd;
>  at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)&#xd;
>  at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)&#xd;
>  at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)&#xd;
>  at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
>  at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)&#xd;
>  at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)&#xd;
>  at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)&#xd;
>  at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)&#xd;
>  at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)&#xd;
>  at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)&#xd;
>  at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)&#xd;
>  at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)&#xd;
>  at java.lang.Thread.run(Thread.java:619)&#xd; </Exception>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to