Re: [SOAP] WCF SOAP WSDL... Parsing Schema: element error

[email protected] (etangle) Sun, 2 Jan 2011 15:00:38 -0800 (PST)
Newsgroups php.soap
Message-ID <[email protected]>
There is a trick for that:

In your windows hosts file, add after localhost
gadm01wsrv04    84.235.63.38

I appreciate your help...



etangle wrote:
> 
> Hello Everyone,
> I am trying to access a WCF WSDL service to send message, but getting
> following error:
> 
> SOAP-ERROR: Parsing Schema: element
> 'http://schemas.microsoft.com/2003/10/Serialization/Arrays:ArrayOfstring'
> already defined
> 
> I am using native SOAP extension of php, and also tried with nuSOAP, but
> getting same error...
> My script looks as; using deliverMTMessage method with parameters...
> 
> <?php
> try {
>    $client = new
> SoapClient("http://84.230.69.67/MTRECEIVER/TSLMTRECEIVER.svc?wsdl");
>    $response=$client->deliverMTMessage(array(
>    									'applicationId' => '5789',
> 									'username'=>'nickname', 
> 									'password' => 'WknqPI==', 
> 									'price' => '',
> 									'moMessageId' => '',
> 									'mTMessageId' => '',
> 									'telcoId' => '8',
> 									'receiverMsisdn' => '97650000000',
> 									'senderMsisdn' => '97650000000', 
> 									'messageType' => 'SMS',
> 									'mtType' => '2',
> 									'messageText' => 'test message from shahid',
> 									'serviceType' => '1',
> 									'additionalInformation' => '',
> 									'shortCode' => '836282',
> 									'billServiceID' => '', 
> 									'priority' => '1'));
>    print_r($response);
>    echo htmlentities($response);
>   
>     } catch (SoapFault $e) {
>    print_r($e->getMessage());
>  }
> ?>
> 
> I shall appreciate any help...
> 

-- 
View this message in context: http://old.nabble.com/WCF-SOAP-WSDL...-Parsing-Schema%3A-element-error-tp30566452p30573385.html
Sent from the Php - Soap mailing list archive at Nabble.com.