PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old May 24th, 2007, 12:02 PM
bubur bubur is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 1 bubur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 2 sec
Reputation Power: 0
Question Question about SOAP_WSDL method and the soap message generated

Hello,

I use the SOAP_WSDL method

I have a simple object:

class location
{
var $city;
var $zipCode;
}

I pass this object as a parametter to my webservice:

$wsdl = new SOAP_WSDL('http://xxxxxxxx/service.asmx?wsdl', $proxy);
$Client = $wsdl->getProxy();
$obj = $Client->GetInfo($location);


If for example the variable $zipCode is not initialised, when I call the webservice, the variable is included in the soap message.

is there a way to avoid the empty variables to appear in the soap message?

I know in dotnet there is a way: in that case, I would have created a $zipCodeSpecified variable and when set to false, the $zipCode variable would not have been included in the soap message.

Thank's for your answers,

Yannick

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > Question about SOAP_WSDL method and the soap message generated


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT