You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Singleton, Owen" <ow...@csg.ch> on 2001/01/02 16:42:22 UTC

RE: no signature match

I had this error earlier today.  In my case there was a mismatch between the number of parameters I was sending to the method of the server and the number of parameters expected.
 
-----Original Message-----
From: ochipara@cse.unl.edu [mailto:ochipara@cse.unl.edu]
Sent: 29 December 2000 21:57
To: soap-user@xml.apache.org
Subject: 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;
  };
}

This message is for the named person's use only.  It may contain 
confidential, proprietary or legally privileged information.  No 
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended 
recipient. CREDIT SUISSE GROUP and each of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.  Any
views expressed in this message are those of the individual sender, except
where the message states otherwise and the sender is authorised to state 
them to be the views of any such entity.