Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
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