1 Reply Latest reply on Feb 1, 2005 6:40 AM by thomas.diesler

    accessing external webservice from sessionbean

    stundzig

      Hi all,

      I'm new to JBossWS, so I think this is a stupid question, but in Wiki and other forum entries I can't found a solution.

      I have a external Webservice. With the wsdl-file an java2wsdl from the jboss-ide and also the axis-1.2 distri I have generated java client classes.

      Now I will use these classes from within an sessionbean deployed on jboss-4.0.1RC2 to access the webservice.

      But I get a 'NoSuchMethodError: org.apache.axis.TypeDesc...'. This is caused by the different versions of axis (1.1 in jboss and 1.2 on the java2wsdl).

      What's the best way to go now?
      - Re-java2wsdl with an older axis version?
      - Has JBossWS such a GenerateJavaClassesFromWSDL feature?
      - Patch JBoss to use AXIS1.2?

      And why does the JBoss-IDE uses AXIS-1.2 client libs?

      Or I'm completely wrong.

      Could someone please point me to the right docs?

      Regards
      Steffen...