cancel
Showing results for 
Search instead for 
Did you mean: 

How to run standard fiori app from eclipse

0 Kudos

Hi,

I  have downloaded Track Shopping Carts standard fiori app and imported to eclipse to extend that.

I want to know how to run standard app from eclipse.I am getting following error when I run from eclipse.

Thank you.

Accepted Solutions (0)

Answers (3)

Answers (3)

itsRahul
Participant
0 Kudos

Hi Tejaswi

Were you able to resolve this issue.

Please share the solution in case the issue is resolved.

0 Kudos

Nope Rahul

Former Member
0 Kudos

Hi Tejaswi,

Do the servlet changes in the file web.xml under WEB_INF folder.

<!-- UI5 proxy servlet -->

<!-- ============================================================== -

<servlet><servlet-name>SimpleProxyServlet</servlet-name><servlet-class>com.sap.ui5.proxy.SimpleProxyServlet</servlet-class></servlet><servlet-mapping><servlet-name>SimpleProxyServlet</servlet-name><url-pattern>/proxy/*</url-pattern></servlet-mapping>

<!-- ============================================================== -->

<!-- Welcome file list -->

<context-param><param-name>com.sap.ui5.proxy.REMOTE_LOCATION</param-name><param-value>{protocol}://{host name}:{port number}</param-value></context-param>


{protocol}://{host name}:{port number} replace this with your server address



Regards,

Viswa

0 Kudos

After changing web.xml should I prefix service url with proxy ??

{

  name : "SRMSHOPPING_CART",

  masterCollection : "SRMShoppingCartCollection",

  serviceUrl : "/sap/opu/odata/srmnxp/SRMSHOPPING_CART/",

  isDefault : false,

  mockedDataSource : "/ui.s2p.srm.shoppingcartcreate/model/metadata.xml"

  },

Former Member
0 Kudos

Hi Tejaswi,

Yes you should prefix.

Regards,

Viswa

former_member203031
Contributor
0 Kudos

Hi Tejaswi,

Please refer the following link:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20dbf542-f3e7-3110-a6b8-ebb96b57c...

Hope it will be helpful for you.

Thanks,

Deepak.