I highly recommend no one put soap.jar (or activation.jar or xerces.jar, etc.) in lib/ext. That directory is for Sun's extensions, not jars we are too lazy to add to our classpath!
On 2 Jun 2003 at 11:33, Scott Nichol wrote: > Check for an old soap.jar in %JAVA_HOME%/jre/lib/ext or > %JAVA_HOME%/lib/ext. Classes there will get picked up before those > in your classpath. > > On 2 Jun 2003 at 11:07, Daniel Zhang wrote: > > > Scott - > > > > Are you sure that you download soap-bin-2.3.1.zip from the latest > > nightly directory? I follow your way exactly and found no > > getEnvelope method in the output, the following is what I did, output is > > in attachment. > > > > (1) Download soap-bin-2.3.1.zip from > > http://cvs.apache.org/dist/soap/nightly/2003-06-02/ > > (2) Use WINZIP to unzip to D: drive > > (3) Ran > > > > D:\soap-2_3_1\lib>%JAVA_HOME%/bin/javap -classpath > > d:\soap-2_3_1\lib\soap.jar;%CLASSPATH% org.apache.soap.rpc.SOAPContext > > > output.txt > > > > I am using java version "1.4.1_01".Then I checked output and found NO > > getEnvelope method there. See attachment. Any ideas? > > > > -Daniel > > > > Scott Nichol wrote: > > > > >The method is there. What I did to confirm this is > > > > > >1. Download soap-bin-2.3.1.zip from the latest nightly directory. > > >2. Unzipped to I: > > >3. Ran > > > > > >I:\soap-2_3_1\lib>javap -classpath > > >i:\soap2_3_1\lib\soap.jar;%CLASSPATH% org.apache.soap.rpc.SOAPContext > > > > > >The output is attached. > > > > > >On 2 Jun 2003 at 9:32, Daniel Zhang wrote: > > > > > > > > > > > >>Hi, Scott Nichol - > > >> > > >>I download soap nightly build from > > >>http://cvs.apache.org/dist/soap/nightly/ and try to use a method > > >>getEnvelope() in class org.apache.soap.rpc.SOAPContext in my soap > > >>program. I found its JavaDoc > > >>lists this method but my compiler (NetBean) complained it can not find > > >>this method from soap.jar I > > >>got from the same build. > > >> > > >>Is this a bug? Please tell me how to fix it. Thanks a lot! > > >> > > >>-Daniel > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > > > > > > > >Scott Nichol > > > > > >Do not reply directly to this e-mail address, > > >as it is filtered to only receive e-mail from > > >specific mailing lists. > > > > > > > > > > > > > > > > > > > Scott Nichol > > Do not reply directly to this e-mail address, > as it is filtered to only receive e-mail from > specific mailing lists. > > > Scott Nichol Do not reply directly to this e-mail address, as it is filtered to only receive e-mail from specific mailing lists.