Re: Coding Client - getHelloIFPort()

From: Simon Horrell <>
Date: Thu, 13 Jun 2002 13:18:27 +0100

Yes, xrpcc generates the stub slightly differently in 1.0.
Also, where you previously had jaxm-client.jar in the classpath you now need saaj-api.jar and saaj-ri.jar.
----- Original Message -----

  From: Noe Orlando Araujo Vilas Boas
  Sent: Thursday, June 13, 2002 12:29 PM
  Subject: Coding Client - getHelloIFPort()


  I develop some web services with JWSDP ea2 and now I am tring to migrate to v1.0.

  In fisrt version of Client I do :

    DrugstoreIF_Stub stub = (DrugstoreIF_Stub)(new Drugstore_Impl().getDrugstoreIF());

  and now I need to put getDrugstoreIFPort(), in order to get no compilation errors, but it causes runtime error when I call the service

  C:\pt\uminho\paredes\applets>c:\j2sdk1.4.0\bin\java -cp c:\lib;c:\jwsdp\common\l
  ed\sax.jar;c:\jwsdp\common\endorsed\dom.jar pt.uminho.paredes.applets.DrugstoreC
  lient http://lindoso:8080/jaxrpc-drugstore/drugstore/DrugstoreIF

  Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPEl
          at pt.uminho.paredes.webservices.drugstore.Drugstore_Impl.getDrugstoreIF
  Port(Unknown Source)
          at pt.uminho.paredes.applets.DrugstoreClient.main(