Forum Moderators: open

Message Too Old, No Replies

SOAP and WSDL document help.

         

dualfragment

10:06 pm on Jun 26, 2007 (gmt 0)

10+ Year Member



I'm supposed to make SOAP return in the format such as this:

<item name="test">
<element>
<name>name</name>
</element>
<element>...</element>
</item>
<item name="">...</item>

My two issues:

I need to know how to structure the WSDL document so that I can get it to correctly show up in the above format. Right now the response is in the format of some Key/Value format, such as <key>Item</key><value>value</value>. This isn't right!

Additionally, I don't know how to get the <item name=""> to work correctly. After the key/value issue above is fixed, how do I get the name parameter inside the tag?

dualfragment

3:41 am on Jun 27, 2007 (gmt 0)

10+ Year Member



I forgot to mention that I'm using PHP5 and PHP's native soap functions.