Posts

Showing posts with the label web-services

How to call overloaded wsdl webservice method from php soap client

How to call overloaded wsdl webservice method from php soap client Webservice : http://webservices.dishtv.in/Services/Mobile/Trade/TradeSubscriberInfo.asmx Overloaded method is GetSubscriberInfoV2 MessageName="GetSubscriberInfoVCLogV2" My php code is, <?php $mobileno="01523833622"; $url="http://webservices.dishtv.in/Services/Mobile/Trade/TradeSubscriberInfo.asmx?wsdl"; $client = new SoapClient($url); $soapHeader = array('UserID' => '47','Password' => 'zZa@#286#@'); $header = new SOAPHeader('http://tempuri.org/', 'AuthenticationHeader', $soapHeader); $client ->__setSoapHeaders($header); try { $res = $client->GetSubscriberInfoVCLogV2(array('vcNo' => $mobileno, 'mobileNo' => '', 'BizOps' => '1', 'UserID' => '555300', 'UserType' => 'DL' )); } catch(SoapFault $e) { echo "Invalid No...

Is there a way to create a “Libraries We Use” page from composer?

Is there a way to create a “Libraries We Use” page from composer? I am developing a proprietary php project, which is using several open source packages. Is there a way to create a license page like this https://slack.com/libs/android directly via composer? Or do I have to copy all the licenses by hand? You could iterate through the vendor folder and check the packages composer files. That would at least give you what type of licenses are defined, if any. You can also check if there's any LICENSE file. Regarding the name, the composer files only include the name in the <vendor>/<package> format. So for that, I would say, you can't (unless you extract the package name and convert it to camel case name yourself). – Magnus Eriksson Jun 29 at 8:48 <vendor>/<package> ...

d2010 soap error element does not contain a single text node

d2010 soap error element does not contain a single text node I search to connect to a Web service but when I call the method I obtain this error "Element "OutputObj" does not contain a single text node'. This is the Unit I create importing my WSDL file: // ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : D:SVNXML IE815WSDLDispatcherBean.wsdl // >Import : D:SVNXML IE815WSDLDispatcherBean.wsdl>0 // >Import : D:SVNXML IE815WSDLDispatcherBean.wsdl>1 // Encoding : UTF-8 // Version : 1.0 // (16/07/2014 9.33.06 - - $Rev: 25127 $) // ************************************************************************ // unit UNDispatcherBean; interface uses InvokeRegistry, SO...