Jump to content

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


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.