Fellow Axis users,

Anyone have been playing around with the samples coming with Axis? I tried
samples/addr and got a ClassNotFoundException: samples.addr.StateType. And,
... the class StateType exists in the directory ?
What is going wrong?

Regards, Michel

C:\Apache\axis\samples\addr>testit -h %MYSERVER% -p 3128
This test assumes a server URL of http://localhost:8080/axis/servlet/
MBe: 27/03/02, not any more :-D
Deploying the addressbook2 service...
- Processing file deploy.wsdd
<Admin>Done processing</Admin>
.
Running demo...
Using proxy without session maintenance.
>> Storing address for 'Purdue Boilermaker'
Exception in thread "main" org.apache.axis.deployment.wsdd.WSDDException: 
java.lang.ClassNotFoundException: samples.addr.StateType
        at org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown
Source)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknow
n Source)
        at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
        at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLVa
lidator.java:1550)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1204)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        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.addr.AddressBookSOAPBindingStub.addEntry(AddressBookSOAPBindi
ngStub.java:134)
        at samples.addr.Main.doit(Main.java:109)
        at samples.addr.Main.main(Main.java:141)

Reply via email to