You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Octav Chipara <oc...@cse.unl.edu> on 2000/12/29 22:57:02 UTC

no signature match

Hi,

I try to build a new application and I get the following fault. I have in
the class recipe the method GetRecipe(String) … so I do not know why I get
this error. Any clues??


Generated fault:
 Fault Code =SOAP-ENV:Server
 Fault String= octavrecipe.Recipe.GetRecipe(java.lang.String) -- no
signature match
- Octav

PS:  My Recipe class is

package octavrecipe;

/**
 * Title:
 * Description:
 * Copyright:    Copyright (c) 2000
 * Company:
 * @author
 * @version 1.0
 */

public class Recipe
{
  private String RecipeName;
  private String RecipeURL;

  public Recipe()
  {
  }

  public Recipe(String RecipeName, String RecipeURL)
  {
      this.RecipeName=RecipeName;
      this.RecipeURL=RecipeURL;
  };

  public String GetRecipe(String Recipe)
  {
  return "It works!!!!!!!!";
  };

  public String toString()
  {
      return this.RecipeName + "\n" + this.RecipeURL;
  };
}