Try http://xfire.codehaus.org/Aegis+Inheritance

On 4/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


I'm using the XFire API .. here is the client code I use

public class ServiceHelper {
        public static String SRVC_URL = "
http://localhost:7001/webservices/services/CreditCardService";;

        public ServiceHelper() {
                super();
        }

        public static ICreditCardService retrieveCreditCardService(){
                Service srvcModel = new ObjectServiceFactory().create(
ICreditCardService.class);
                XFireProxyFactory factory = new XFireProxyFactory(
XFireFactory.newInstance().getXFire());
                ICreditCardService srvc = null;
                try {
                        srvc =
(ICreditCardService)factory.create(srvcModel, ServiceHelper.SRVC_URL);
                } catch (MalformedURLException e) {
                        throw new RuntimeException(e);
                }

                return srvc;
        }
}




 *Matt Solnit <[EMAIL PROTECTED]>*

04/18/2007 04:13 PM  Please respond to
[email protected]

  To
<[email protected]>  cc

 Subject
Re: [xfire-dev] service method with an abstract class as parameter?






Bob,

What kind of client are you using?  Is it .NET, Apache Axis, XFire,
hand-made, etc.?

-- Matt

 ------------------------------
*From: *<[EMAIL PROTECTED]>*
Reply-To: *<[email protected]>*
Date: *Wed, 18 Apr 2007 15:45:52 -0500*
To: *<[email protected]>*
Subject: *Re: [xfire-dev] service method with an abstract class as
parameter?


I've been told that I may need to include the xsi:type attribute in my
SOAP.

How would I go about doing this?




--
-----
When one of our products stops working, we'll blame another vendor within 24
hours.

Reply via email to