Return-Path: Delivered-To: apmail-incubator-beehive-user-archive@www.apache.org Received: (qmail 80213 invoked from network); 23 Nov 2004 20:24:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Nov 2004 20:24:42 -0000 Received: (qmail 94569 invoked by uid 500); 23 Nov 2004 20:24:41 -0000 Delivered-To: apmail-incubator-beehive-user-archive@incubator.apache.org Received: (qmail 94549 invoked by uid 500); 23 Nov 2004 20:24:41 -0000 Mailing-List: contact beehive-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list beehive-user@incubator.apache.org Received: (qmail 94532 invoked by uid 99); 23 Nov 2004 20:24:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [131.247.100.10] (HELO ritchie.acomp.usf.edu) (131.247.100.10) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 12:24:39 -0800 Received: from [131.247.97.60] (aquinas.acomp.usf.edu [131.247.97.60]) by ritchie.acomp.usf.edu (Postfix) with ESMTP id 139802AE84 for ; Tue, 23 Nov 2004 15:24:33 -0500 (EST) Message-ID: <41A39C80.1060203@ieee.org> Date: Tue, 23 Nov 2004 15:24:32 -0500 From: James Black User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Beehive Users Subject: Re: failed to register a java bean References: <4B2B4C417991364996F035E1EE39E2E1023C0D9D@uskiex01.amer.bea.com> In-Reply-To: <4B2B4C417991364996F035E1EE39E2E1023C0D9D@uskiex01.amer.bea.com> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------080701040602040006000801" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------080701040602040006000801 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Merz wrote: | James, | | What does your jws file look like? What annotations/parameters did you | use? -- Thanks. | | This error usually occurs when when for some reason the XML cannot be | de/serialized. Note that there is an open bug in Jira (BEEHIVE-95). ~ I am including the jws file and the offending bean. ~ Originally I only had @WebService at the top, everything was added in an attempt to fix the problem, nothing change the error message. - -- "Love is mutual self-giving that ends in self-recovery." Fulton Sheen James Black james@usf.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBo5yA8psvJTl+fosRAi+oAJoDALU2AM9l+EJHd1Cup6oeJBWfGACeJhd1 WhcYSx5+5943grAOWOjMElo= =nOeh -----END PGP SIGNATURE----- --------------080701040602040006000801 Content-Type: text/plain; name="WsTest.jws" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="WsTest.jws" package template; /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import javax.jws.WebMethod; import javax.jws.WebService; import javax.jws.WebParam; import javax.jws.soap.SOAPBinding; import edu.usf.acomp.epic.server.persons.NamsPersonServer; import edu.usf.acomp.epic.EpicException; import edu.usf.acomp.epic.persons.NamsPerson; import edu.usf.acomp.bbdev.flashcard.FlashCard; import edu.usf.acomp.bbdev.flashcard.FlashcardDao; @WebService(targetNamespace = "http://localhost/ws_test/template/WsTest") @SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.ENCODED) public class WsTest { /** * Get all the usf email addresses for a given id. This will generally * be a netid, but it can be other forms of ids also. * @param id The id to use to identify a person. * @throws edu.usf.acomp.epic.EpicException Any errors while getting email addresses. * @return All the USF email addresses for this person. */ @WebMethod public String[] netidToEmail(@WebParam String id) throws EpicException { String[] ret = null; String s = null; NamsPerson input = new NamsPerson(); input.setID(id); NamsPersonServer p = new NamsPersonServer(input); s = p.myGetBadge(); ret = p.myGetAllEmail(); return ret; } @WebMethod public String currentMaildrop(@WebParam String id) throws EpicException { return ""; } @WebMethod public void setMaildrop(@WebParam String netid, @WebParam String email) throws EpicException { } @WebMethod public FlashCard[] getAllFlashCardByUser(@WebParam String netid) throws EpicException { FlashcardDao dao = new FlashcardDao(); return dao.getAllCardsByUser(netid); } } --------------080701040602040006000801 Content-Type: text/plain; name="FlashCard.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="FlashCard.java" /* * FlashCard.java * * Created on November 23, 2004, 9:14 AM */ package edu.usf.acomp.bbdev.flashcard; /** * * @author jblack */ public class FlashCard { /** * Holds value of property id. */ private int id; /** * Holds value of property questionStr. */ private String questionStr; /** * Holds value of property answerStr. */ private String answerStr; /** * Holds value of property questionImg. */ private String questionImg; /** * Holds value of property answerImg. */ private String answerImg; /** * Holds value of property user. */ private String user; /** Creates a new instance of FlashCard */ public FlashCard() { } /** * Getter for property id. * @return Value of property id. */ public int getId() { return this.id; } /** * Setter for property id. * @param id New value of property id. */ public void setId(int id) { this.id = id; } /** * Getter for property questionStr. * @return Value of property questionStr. */ public String getQuestionStr() { return this.questionStr; } /** * Setter for property questionStr. * @param questionStr New value of property questionStr. */ public void setQuestionStr(String questionStr) { this.questionStr = questionStr; } /** * Getter for property answerStr. * @return Value of property answerStr. */ public String getAnswerStr() { return this.answerStr; } /** * Setter for property answerStr. * @param answerStr New value of property answerStr. */ public void setAnswerStr(String answerStr) { this.answerStr = answerStr; } /** * Getter for property questionImg. * @return Value of property questionImg. */ public String getQuestionImg() { return this.questionImg; } /** * Setter for property questionImg. * @param questionImg New value of property questionImg. */ public void setQuestionImg(String questionImg) { this.questionImg = questionImg; } /** * Getter for property answerImg. * @return Value of property answerImg. */ public String getAnswerImg() { return this.answerImg; } /** * Setter for property answerImg. * @param answerImg New value of property answerImg. */ public void setAnswerImg(String answerImg) { this.answerImg = answerImg; } /** * Getter for property user. * @return Value of property user. */ public String getUser() { return this.user; } /** * Setter for property user. * @param user New value of property user. */ public void setUser(String user) { this.user = user; } } --------------080701040602040006000801--