You are here: NuSOAP Arrays « PHP Programming Language « IT news, forums, messages
NuSOAP Arrays

Posted by Treefrog on 05/05/06 17:36

Hi,

I'm having a bit of trouble with NuSOAP. I'm calling a web method that
looks like this (excuse the strange sytax)

public testItem GetTestItem (int aNumber, testObjects[])

So, I need to create NuSOAP call like this.

$arguments = array("aNumber" => 10,"testObjects" => $testObjects);
$data = $this->callAPI('GetTestItem', $arguments);

BUT... nusoap creates the soap request like

<testObjects>
<item>
..... test object contents
</item>
<item>
.... test object contents
</item>
</testObject>

which is incorrect.

How do I get it do properly define

<testObjects>
<testObject>...</testObject>
<testObject>...</testObject>
</textObjects>

I hope that makes sense.

Cheers,

Treefrog

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация