This is very curious... this web service works fine in the development environment, but when I upload it to the server the following happens:

(I am using Zend_Soap to produce this service)

As soon as I have uploaded the file, I navigate to http://mysite.com/soap?wsdl

and I see the following output:

HTML Code:
<definitions name="Service_Soap" targetNamespace="http://www.xxx.com/api/soap"><types>
<xsd:schema targetNamespace="http://www.xxx.com/api/soap"/>
</types><portType name="Service_SoapPort"><operation name="getCode"><documentation>
getCode method <br />

This is the main method for generating a code using the SOAP API <br /><br />



The array passed to this function currently supports the following data:<br />

Title (String): The title of the data<br />

Description (String): A description of the data, i.e. the data itself <br />

Password (String): A password to password protect the data<br />

Hash (Int): An option to store the data as a hash (0 is default, 1 is store as a hash)<br />



If SSL is being used, then usingSSL should be set to 1. (default 0)
</documentation>
<input message="tns:getCodeIn"/>
<output message="tns:getCodeOut"/>
</operation><operation name="getx509"><documentation>
Call this function to be returned a string representation of the x509 certificate
</documentation>
<input message="tns:getx509In"/>
<output message="tns:getx509Out"/>
</operation>
</portType><binding name="Service_SoapBinding" type="tns:Service_SoapPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="getCode">
<soap:operation soapAction="http://www.xxx.com/api/soap#getCode"/><input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.xxx.com/api/soap"/>
</input><output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.xxx.com/api/soap"/>
</output>
</operation><operation name="getx509">
<soap:operation soapAction="http://www.xxx.com/api/soap#getx509"/><input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.xxx.com/api/soap"/>
</input><output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.xxx.com/api/soap"/>
</output>
</operation>
</binding><service name="Service_SoapService"><port name="Service_SoapPort" binding="tns:Service_SoapBinding">
<soap:address location="http://www.xxx.com/api/soap"/>
</port>
</service><message name="getCodeIn">
<part name="data" type="soap-enc:Array"/>
<part name="usingSSL" type="soap-enc:Array"/>
</message><message name="getCodeOut">
<part name="return" type="xsd:string"/>
</message>
<message name="getx509In"/><message name="getx509Out">
<part name="return" type="xsd:string"/>
</message>
</definitions>

As soon as I refresh the page, it changes to:

HTML Code:
<definitions name="Service_Soap" targetNamespace="http://www.xxx.com/api/soap"><types>
<xsd:schema targetNamespace="http://www.xxx.com/api/soap"/>
</types><portType name="Service_SoapPort"><operation name="getCode">
<documentation>getCode</documentation>
<input message="tns:getCodeIn"/>
</operation><operation name="getx509">
<documentation>getx509</documentation>
<input message="tns:getx509In"/>
</operation>
</portType><binding name="Service_SoapBinding" type="tns:Service_SoapPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="getCode">
<soap:operation soapAction="http://www.xxx.comapi/soap#getCode"/><input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.xxx.com/api/soap"/>
</input><output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.xxx.com/api/soap"/>
</output>
</operation><operation name="getx509">
<soap:operation soapAction="http://www.xxx.com/api/soap#getx509"/><input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.xxx.com/api/soap"/>
</input><output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.xxx.com/api/soap"/>
</output>
</operation>
</binding><service name="Service_SoapService"><port name="Service_SoapPort" binding="tns:Service_SoapBinding">
<soap:address location="http://www.xxx.com/api/soap"/>
</port>
</service><message name="getCodeIn">
<part name="data" type="xsd:anyType"/>
<part name="usingSSL" type="xsd:anyType"/>
</message>
<message name="getx509In"/>
</definitions>
Why is it changing my definitions and also changing my data types from soap-enc:Array to xsd:anyType????????