It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to call webserice from confluence via link or button

Hello Experts,

We have an executable application at our server(.net based), which parses the confluence page (located at other server) content and put those into our database.

But problem is that, its runs at pre scheduled manner. what we want that there should be some link or button on confluence page and on click of that the webservice should run and execute that exe.

As I am quite new for confluence, so not able to find any good solution.

Could you please tell me what would be the best and simple way to accomplish my task.

Note - the web service is simple SOAP based (.asmx) just GET call.



1 answer

0 votes
DPK_J Community Leader Aug 27, 2019

Best way is to write a custom confluence plugin.

Required part for plugin

Once you add this button, you have two options

  1. Call your SOAP endpoint directly from Javascript which is triggered by button/menu item you added above.
  2. Create a rest endpoint in your confluence, (this is better, because it will not expose your soap endpoint to front-end code base)
    1. Once you create this endpoint you can call this end point on on button/menu click, and
    2. later call SOAP endpoint from confluence back end.

DPK, Could you please share how to create above custom plugin, please note that we have just read and write access on confluence spaces.

DPK_J Community Leader Aug 27, 2019

@Sonuto write custom plugin you will need hands on experiance with,

You need to find some developer to do this for you. And to install plugin like any other plugin in confluence you will need Admin privileges.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

306 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you