Skip to main content

Publishing REST web service from FirstSpirit

Comments

4 comments

  • Zendesk API User
    Author: felix_reinhold - 4/26/2021 8:15

    Hi Isac,

    you can create a global webapplication in FirstSpirit.

    FirstSpirit Online Documentation - Module Definition  see web-app (scopes "global").

    Just create a FirstSpirit-Module and  add a web-app with scope globale to your module.xml.

    As web-app class you can set a class that extends AbstractWebApp (FirstSpirit Developer-API) .

    Then you have a java webapp that you can use to create your REST-API.

    best regards

    Felix

    0
  • Zendesk API User
    Author: isac_jimenez - 4/26/2021 9:37

    Thanks Felix,

    I'll follow your instructions and let you know if it worked.

    Regards,

    Isac Jimenez

    0
  • Zendesk API User
    Author: isac_jimenez - 4/30/2021 9:50

    Hi Felix,

    Thank you for the support. I followed this blog: Creating a FirstSpirit web-module: Part 2 – Building the module  and was able to deploy it to the FS server. I installed it in the Preview and Production(live) Web components (just like the  blog explains) but could not figure out the right URL. I ended up creating my own "Web Application" (Server>Server properties>Web applications) and adding my module there. That worked.

    Anyway, thanks again for pointing me in the right direction.

    Regards,

    Isac Jiménez

    0
  • Zendesk API User
    Author: felix_reinhold - 4/30/2021 9:52

    Isac Jimenez schrieb:

    I ended up creating my own "Web Application" (Server>Server properties>Web applications) and adding my module there.

    That's exactly what I meant :smileyhappy:

    0

Please sign in to leave a comment.