Download & Extend

WSDL - struct in node.save causing problems/errors

Project:SOAP Server
Version:6.x-1.2-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,

I just tried to the wsdl for soap. Seems as though there is a problem with the xsd:struct.

<message name="node.saveRequest">
<part name="node" type="xsd:struct"/>
</message>

Output from my java wsdl2java tool from the apache axis project says:

Type {http://www.w3.org/2001/XMLSchema}struct is referenced but not defined.

Looks minor, but I don't know how to fix.
Cheers
Chris

Comments

#1

I am seeing a similar issue when trying consume web services (which work from another Drupal site) from a Coldfusion page. In my case, however, the error message I am seeing is.

{http://www.w3.org/2001/XMLSchema}array is referenced but not defined.

I found a patch from another issue which seemed to be related to NuSoap case sensitivity which changed occurances of xsd:array to xsd:Array but that just changes the error message to:

{http://www.w3.org/2001/XMLSchema}Array is referenced but not defined.

BTW, Coldfusion uses the java Axis2 library for consuming web services so I suspect that a java soap client built on Axis2 might suffer the same problem.

I suspect that the problem is related to how the soap_service.module is constructing the wsdl, specifically in defining the Array complexTypes at around line 151. I am using nusoap version 0.7.3 (the latest).

When I look at a wsdl that works and the one produced by the soap_module, the difference that I see is that the

#2

I've got exact the same problem:

[WARN] Type {http://www.w3.org/2001/XMLSchema}Array missing!

Does anyone have a solution yet? Comment #1 seems not to be complete.

nobody click here