You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Anthony Smith <an...@fedex.com> on 2002/06/26 23:44:54 UTC
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Error while compiling:
C:\tomcat-3.3\webapps\axis\WEB-INFjwsClasses\NHLService.java
What is the problmeo????
import java.util.*;
public class NHLService {
HashMap standings = new HashMap();
public NHLService() {
// NHL - part of the standings as per 04/07/2002
standings.put("atlantic/philadelphia", "1");
standings.put("atlantic/ny islanders", "2");
standings.put("atlantic/new jersey", "3");
standings.put("central/detroit", "1");
standings.put("central/chicago", "2");
standings.put("central/st.louis", "3");
}
public String getCurrentPosition(String division, String team) {
String p = (String)standings.get(division + '/' + team);
return (p == null) ? "Team not found" : p;
}
}
RE: AXIS error
Posted by Anthony Smith <an...@fedex.com>.
I get this when I type http://localhost:8080/axis/NHLService.jws?wsdl in the
browser window
-----Original Message-----
From: fd [mailto:fd@demonics.org]
Sent: Wednesday, June 26, 2002 4:54 PM
To: axis-user@xml.apache.org
Subject: Re: AXIS error
whats teh compilation error?
> Sorry, something seems to have gone wrong... here are the details:
>
> Error while compiling:
> C:\tomcat-3.3\webapps\axis\WEB-INFjwsClasses\NHLService.java
>
>
>
> What is the problmeo????
>
>
> import java.util.*;
>
> public class NHLService {
> HashMap standings = new HashMap();
>
> public NHLService() {
> // NHL - part of the standings as per 04/07/2002
> standings.put("atlantic/philadelphia", "1");
> standings.put("atlantic/ny islanders", "2");
> standings.put("atlantic/new jersey", "3");
> standings.put("central/detroit", "1");
> standings.put("central/chicago", "2");
> standings.put("central/st.louis", "3");
> }
>
> public String getCurrentPosition(String division, String team) {
> String p = (String)standings.get(division + '/' + team);
> return (p == null) ? "Team not found" : p;
> }
> }
>
Re: AXIS error
Posted by fd <fd...@demonics.org>.
whats teh compilation error?
> Sorry, something seems to have gone wrong... here are the details:
>
> Error while compiling:
> C:\tomcat-3.3\webapps\axis\WEB-INFjwsClasses\NHLService.java
>
>
>
> What is the problmeo????
>
>
> import java.util.*;
>
> public class NHLService {
> HashMap standings = new HashMap();
>
> public NHLService() {
> // NHL - part of the standings as per 04/07/2002
> standings.put("atlantic/philadelphia", "1");
> standings.put("atlantic/ny islanders", "2");
> standings.put("atlantic/new jersey", "3");
> standings.put("central/detroit", "1");
> standings.put("central/chicago", "2");
> standings.put("central/st.louis", "3");
> }
>
> public String getCurrentPosition(String division, String team) {
> String p = (String)standings.get(division + '/' + team);
> return (p == null) ? "Team not found" : p;
> }
> }
>