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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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 pass an interface parameter to a method of a service instance implement that interface Edited

I have a library project which has:

1. An Interface:

public interface IManageApplicationServiceInterface : IProcessQ<IManageApplicationServiceEntity>
void createIA(IManageApplicationServiceEntity serviceEntity);

2. A service class that implement the interface above:

[ProcessMetaData("My API Service Interface", "9ECBE30E-ECA2-4F1B-B511-AF688E0AEA05",
PluginType.ServiceInterface, typeof(IManageApplicationServiceEntity))]

public class ManageApplicationServiceInterface : IManageApplicationServiceInterface
/// <summary>
/// </summary>
/// <param name="entity"></param>
public void Execute(IEntity entity)
throw new NotImplementedException();

/// <summary>
/// </summary>
/// <param name="serviceEntity"></param>
public void Execute(IManageApplicationServiceEntity serviceEntity)
throw new NotImplementedException();

/// <summary>
/// Front End should supply the input json.
/// </summary>
/// <param name="requestData"></param>
public void createMyApp(IManageApplicationServiceEntity applicationData)
Logger.Debug("Start creating my app method");
Logger.Debug("End creating my app method");
catch (Exception ex)
Logger.Error("Expection in Create MyApp method - " + ex);
throw ex;

I'm going to call createMyApp web service method from a web console or a web application. I used a web application to call it.

IManageApplicationServiceEntity manageApplicationServiceInterface;

Hover on ds.create Visual Studio says "Front End should supply the input json" and hover on the interface variable it says: "Used unassigned local variable 'manageApplicationServiceInterface' "

How can I pass the parameter to call the method createMyApp?

Hope get help from community.

Many appreciate! 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

498 views 5 7
Read article

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