0 Replies Latest reply on Aug 21, 2007 6:10 AM by myjbossid123

    Problem with JAX-RPC client

    myjbossid123

      Hi
      I have a a service running in JBoss.While trying to call a it through a JAX RPC client I am getting following error...


      avax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Requested element name is not allowed in this position in the sequence. The next element should be address

      My Client code goes like this..........

      /*..........Other Stuff........*/
      ServiceFactory factory = new ServiceFactoryImpl();
      Service service = factory.createService(url, qname);
      Call call = service.createCall(port, operation);
      call.invoke(new Object[] {loanapp});
      /*..........End........*/


      It is wworking fine with a String but with a POJO object I am getting this error.Any help to resolve this is appreciated...


      Thnks in advance.