Closed (fixed)
Project:
SOAP Client
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2009 at 20:48 UTC
Updated:
9 Dec 2011 at 19:54 UTC
I've been trying out this module along with developing a .NET webservice. My first attempt went great, but then I made some changes to the webservice and kept getting a "SOAP-ERROR: Encoding: Violation of encoding rules"
Spending a few hours trying to figure this out I finally realized the wsdl the client was using was not refreshing. I would create a very simple helloworld() function and the client would not recognize it. Is the wsdl caching for some reason, and if so, how do I refresh it?? Out of desperation I cleared the site cache, but obviously that didn't work.
Comments
Comment #1
ilo commentedI'll try to fix this one quickly, but in the mean time here are some suggestions..
If you are using nuSOAP:
edit the sopaclient.module file (in 6.x-1.x-dev this is the code from the line 622):
you may comment the line "$wsdl = $cache->get($url);" for now, and this would stop using the cached version of the wsdl forever.
--------
If you are using PHP SOAP:
in the 6.x-1.x-dev version it is the line 682:
Replace with..
Try this and lets see if it works for you..
Comment #2
jarchowk commentedGreat, perfect. Thanks very much for the quick reply.
Comment #3
13rac1 commentedSeems fixed. Closing old issues.