Anybody please let me know how to pass parameter to WCF function using objective c?
1. I used C# to develop WCF.
2. WCF end point is as follows.
<system.serviceModel>
<services>
<service name="iAppServ.Service1" behaviorConfiguration="ServBehave">
<!--Endpoint for SOAP-->
<endpoint address="soapService" binding="basicHttpBinding" contract="iAppServ.IService1"/>
<!--Endpoint for REST-->
<endpoint address="XMLService" binding="webHttpBinding" behaviorConfiguration="restPoxBehavior" contract="iAppServ.IService1"/>
</service>
</services>
<bindings>
<webHttpBinding>
<binding crossDomainScriptAccessEnabled="True" name="webHttpBinding">
</binding>
</webHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="ServBehave" >
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<!--Behavior for the REST endpoint for Help enability-->
<behavior name="restPoxBehavior" >
<webHttp helpEnabled="true" />
</behavior>
</endpointBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
</system.serviceModel>
I would like to consume "SearchUserData" function by passing a searchtext.
WCF will return XML data.