PHP soap and XMLSchema-instance

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: PHP soap and XMLSchema-instance

Post by johnj » Mon Apr 15, 2013 6:08 am

Please read about SoapVar from

If you look at the documentation of class SoapVar, you can see that its second parameter to the constructor is "encoding". This encoding ID can be XSD_STRING, XSD_BOOLEAN, XSD_DECIMAL, XSD_DATE, XSD_ANYXML, etc etc. So, you have to choose this parameter based on your requirement.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests