Jump to content

SOAP Server issues when interfacing with nusoap and passing complex data types


mmlr38

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.