Hi ,
        I have posted my query 2 days back but has not received any 
reply so far. I am novice in
axis. Kindly find time to answer my query. From my end i have used 
all permutation combinations
to solve the same.
     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 keep the XML file ?????
because when i am trying to invoke the service using client at (
String  ret = (String ) call.invoke( new Object [] { i1, i2 })  
)
, it is throwing 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.




Reply via email to