Do you have bsf.jar in your clsspath ?

-----Original Message-----
From: Kehr, Cynthia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:31 AM
To: [EMAIL PROTECTED]
Subject: Please Help


I am running the SOAP calculator example from JBuilder4 and I get the
following error.  I don't know where to start to try to find the problem.
My calculator application runs, but when I hit the operation, such as 2 + 2
+, I get the error below.  
I may not have deployed the calculator demo correctly.  I don't know how to
fill in the "Type Mappings" and the "Default Mapping Registry Class".  I
left the Type Mappings blank and put
"org.apache.soap.encoding.SoapMappingRegistry" as the Default Mapping
Registry Class.  Is this correct?  I also copied the JavaScript functions
into the text box when I deployed, but they aren't displayed when I look at
the deployment details.
I would appreciate any help that I can get.
Thanks,
Cynthia Kehr
[EMAIL PROTECTED]



C:\JBuilder4\jdk1.3\bin\javaw -classpath "C:\Documents and
Settings\kehrc.DEV\jbproject\soaptest3\classes;C:\JBuilder4\soap-2_2\lib\jav
amail-1.1.3\mail.jar;C:\JBuilder4\soap-2_2\lib\soap.jar;C:\JBuilder4\xml-tr2
\xml.jar;C:\JBuilder4\soap-2_2\lib\jaf-1.0.1\activation.jar;C:\JBuilder4\soa
p-2_2\lib\xerces-1_4_0\xerces.jar;C:\JBuilder4\soap-2_2\lib\rhino\js.jar;C:\
JBuilder4\soap-2_2\lib\bsf.jar;C:\JBuilder4\soap-2_2\lib\XML4J-3_1_1\xml4j.j
ar;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilder4\jdk1.3\jre
\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuilder4\jdk1.3\jre\l
ib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBuilder4\jdk1.3\lib
\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar"  samples.calculator.Calculator
http://localhost:8080/soap/servlet/rpcrouter

url is:http://localhost:8080/soap/servlet/rpcrouter 

Exception occurred during event dispatching: 

java.lang.NoSuchMethodError     
at org.apache.soap.util.xml.QName.<init>(QName.java:80)         
at org.apache.soap.util.xml.QName.matches(QName.java:146)       
at org.apache.soap.Envelope.unmarshall(Envelope.java:237)       
at org.apache.soap.rpc.Call.invoke(Call.java:230)       
at samples.calculator.Calculator.doOp(Calculator.java:221)      
at samples.calculator.Calculator.access$1(Calculator.java:73)   
at samples.calculator.Calculator$5.actionPerformed(Calculator.java:179)

at java.awt.Button.processActionEvent(Button.java:329)  
at java.awt.Button.processEvent(Button.java:302)        
at java.awt.Component.dispatchEventImpl(Component.java:2595)    
at java.awt.Component.dispatchEvent(Component.java:2499)        
at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)       
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) 



Cynthia Kehr
Software Engineer, EDS Corporation
[EMAIL PROTECTED]


Reply via email to