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 Jitender Singh Singh <ji...@rediffmail.com> on 2002/04/13 15:54:42 UTC
Exception while invoking the service methods
Hi ,
I have deployed my web service using the JWS FIles -Instant
Deployment and is succesfully able to access the service at the
required URL. My Java file(authenticate.java) reads an XML File
.Rightnow i have kept it along with .jws file. What is the right
place to kkep the java file ?????
Beause when i am trying to invoke the service using client at (
String ret = (String ) call.invoke( new Object [] { i1, i2 }) )
, it is throing the following exception :
D:\tomcat\Apache Tomcat 4.0\webapps\axis\WEB-INF\classes>java
samples.userguide.
roofexample.AuthClient -p8080 chkAuthentication Jitu Jitu
Exception in thread "main" Error while compiling:
D:\tomcat\Apache Tomcat 4.0\b
in\..\webapps\axis\\authenticate.java
at
org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown
Source)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknow
n Source)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1517)
at
org.apache.crimson.parser.Parser2.content(Parser2.java:1768)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1496)
at
org.apache.crimson.parser.Parser2.content(Parser2.java:1768)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1496)
at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at
org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at
javax.xml.parsers.SAXParser.parse(SAXParser.java:393)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown
Sou
rce)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown
Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at
samples.userguide.roofexample.AuthClient.main(AuthClient.java:101)
Can anybody help me why this error is coming ?
Thanks & Regards,
Jitender.