><?xml version="1.0" encoding="UTF-8"?> > ><configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> > <system.serviceModel> > <services> > <service name="DemoCustomerBz.CustomerBz" > behaviorConfiguration="FoxWcfServiceBehaviors"> > > <endpoint contract="DemoInterfaces.ICustomer" > binding="basicHttpBinding"/> > > > <endpoint address="mex" > binding="mexHttpBinding" > contract="IMetadataExchange" /> > </service> > </services> > <behaviors> > <serviceBehaviors> > <behavior name="FoxWcfServiceBehaviors" > > <serviceDebug > includeExceptionDetailInFaults="true" /> > <serviceMetadata httpGetEnabled="true"/> > </behavior> > </serviceBehaviors> > </behaviors> > </system.serviceModel> > <system.web> > <compilation debug="true" /> > </system.web> > <system.webServer> > <directoryBrowse enabled="false" /> > </system.webServer> ></configuration> >>
>loWSHandler = NEWOBJECT("WSHandler",HOME()+"FFC\_ws3client.vcx") >loWCF = loWSHandler.SetupClient("http://localhost/WCFService_IISHosted/Service.svc?wsdl") >? loWCF.GetCustomer(1) >>