0 Replies Latest reply on Jan 5, 2009 8:31 AM by Raja Ramana

    J2EE Webservice and C lang -

    Raja Ramana Newbie


      I am looking for help to provide a service between J2EE and C lang.

      1. I have created the following Web Service in J2EE
      * @WebService indicates that this is webservice interface and the name
      * indicates the webservice name.
      @WebService(name = "Hello")
      * @SOAPBinding indicates binding information of soap messages. Here we have
      * document-literal style of webservice and the parameter style is wrapped.
      style = SOAPBinding.Style.DOCUMENT,
      use = SOAPBinding.Use.LITERAL,
      parameterStyle = SOAPBinding.ParameterStyle.WRAPPED

      public class Hello
      * This method takes a input parameter and appends "Hello" to it and
      * returns the same.
      * @param name
      * @return
      public String greet( @WebParam(name = "name")
      String name )
      return "Hello " + name;


      2. Configured in web.xml



      3. Started Jboss421. After that it created a wsdl file in DATA folder.

      4 Now i want to write a Client to consume the service in 'C' LANG .

      Please Assist me.

      Thanks and Reg,