Guys, I\'m stuck, banging my head off the desk for the past few hours.
I am trying to consume a service, and I have 8 other functions that I call that are almost IDE
I had the same problem when trying to pass XML as a parameter to one of my webservices. Wrapping the XML data in got rid of the SOAP-ERROR: Encoding: Violation of encoding rules and everything worked fine.
Other details:
1. The parameter was defined as xsd:string as well.
2. WSDL was document/literal.
3. Using built in SOAP class with php 5.2.10.