Hi, I have a web service that I created using XFIre.
We built a .net client and it works well.
now I want to build a java client using the Xfire libraries .
when I call the service, the service returns me the object but with empty 
fields.
What can it be?

the source is:

 try {
            Service serviceModel = new 
ObjectServiceFactory().create(IService.class);
            IService service = (IService)new 
XFireProxyFactory().create(serviceModel,"http://myservice/Service/";);
            
            MyObject signal = service.login("USER","PASSWORD");
            if(signal!=null)
            {
                System.out.println("Return:" + signal.getCode());
                System.out.println("Return:" + signal.getHandle());
            }
            
        } catch (MalformedURLException ex) {
            ex.printStackTrace();
        }
This code returns a valid object but with empty data ( getcode return 0 and 
getHandle returns null).
But if I test it using .Net client, it works well.

Andres
In Theory, Practice and Theory are the same
but in Practice, they ARE NOT!!

_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to