1 Reply Latest reply on Apr 12, 2005 4:55 PM by Jason Greene

    SessionBeans as webservices questions

    Per Arneng Newbie

      Hi! (jboss 4.0.1SP1 - JBossWS)

      I am deploying stateless session beans as webservices
      and i have a few questions. I have started out by using
      java2wsdl to generate wsdl files and then i have made
      a tool to generate ws4ee-deployment descriptors with
      type mappings and a jaxrpc-mapping.xml with
      namespace mapping only.

      Everything works ok with custom types but i am not sure
      how to solve it with exceptions. What kind of mapping
      do i need for exeptions ws4ee or jaxrpc?

      Is it better to use the wscompile tool instead of what i have
      described above?Is there less manual work involved?

      Is it possible to find som sample code that does the following:
      Deploy a stateless session bean as a webservice using
      JBossWS and uses custom complex types and custom
      exceptions without having to write complete jaxrpc-mapping
      files manually?

      Best Regards
      Per Arneng