mmlr38 Posted August 20, 2007 Share Posted August 20, 2007 I have written a SOAP server in php5 using the built in SOAP extension as described here: http://php.net/soap The server works fine when called by a SOAP client that is also constructed using the built in SOAP extension in php5. However, when called using nusoap, the complex types (multi-dimensional arrays of strings) seem to get garbled. The WSDL file is here: http://www.eorthopod.com/services/EorthoContent?wsdl You can see good output here: http://www.mixmap.com/matt_test.php You can see the garbled output here: http://4roc.pyrontechnologies.com/patient_ed/matt_test.php I think it has something to do with properly declaring the complex types ArrayOfArrayOf_xsd_string and ArrayOf_xsd_string within the SOAP server code. I found some information about declaring complex types in the SOAP server here: http://www.lyingonthecovers.net/?p=42 But that information is just for nusoap.php, not for the built in php5 SOAP extension. Can anyone help get me pointed in the right direction? Please let me know if you need more information or some code snippets. Thanks, Matt Quote Link to comment https://forums.phpfreaks.com/topic/65750-soap-server-issues-when-interfacing-with-nusoap-and-passing-complex-data-types/ Share on other sites More sharing options...
mmlr38 Posted August 20, 2007 Author Share Posted August 20, 2007 bump Quote Link to comment https://forums.phpfreaks.com/topic/65750-soap-server-issues-when-interfacing-with-nusoap-and-passing-complex-data-types/#findComment-328881 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.