Closed (fixed)
Project:
Web service client
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2011 at 18:57 UTC
Updated:
21 Oct 2011 at 18:40 UTC
Using the wsclient_soap.module against a private web service, we are running into the following notice on each request:
Error message
Notice: Undefined offset: 1 in wsclient_soap_parse_operations() (line 203 of /wsclient/wsclient_soap/wsclient_soap.module).
Mulling through the WSDL, the following operation seems to be causing the problem:
<message name="getSearchResultFields"/>
<message name="getSearchResultFieldsResponse">
<part name="getSearchResultFieldsReturn" type="xsd:anyType"/>
</message>
...
...
<operation name="getSearchResultFields">
<documentation>
Get search result fields.
</documentation>
<input message="typens:getSearchResultFields"/>
<output message="typens:getSearchResultFieldsResponse"/>
</operation>
anyType getSearchResultFields()
So it looks like wsclient_soap has problems with operations that do not have any parameters.
Patch attached to address this...
| Comment | File | Size | Author |
|---|---|---|---|
| wsclient_soap-notice-on-params.patch | 1.26 KB | mr.baileys |
Comments
Comment #1
klausiThanks, looks good, committed, attributed to your account.