1 Reply Latest reply on Mar 11, 2010 11:56 PM by Freeman(Yue) Fang

    Unmarshalling Error

    serg serg Newbie

      Good day.

      I created a simple "Hello World" osgi service:

       

      MyS.java

      package com.fh.services;

      import javax.jws.WebService;

      @WebService

      public interface MyS

      {

          String resp(String t);

      }

       

      and

       

      MySImpl.java

      package com.fh.services;

      import javax.jws.WebService;

      @WebService(endpointInterface = "com.fh.services.MyS")

      public class MySImpl implements MyS

      {

          public String resp(String t)

          {

              return "Responce: " + t;

          }

      }

       

       

      fuse esb generates wsdl file (at the request of the browser) this format:

       

      this service, I get an error in the logs fuse esb:

       

      Unmarshalling Error: unexpected element (uri:"http://services.fh.com/", local:"arg0"). Expected elements are <{}arg0>

       

      How resolve?

       

      Edited by: serg on Mar 9, 2010 3:13 PM