I apologize for my mistake!
I must had added that initially, by exchanging the order of statements 2 functions in the binding was only the function2 that was running, and when I tried to call function1, it made me crash, then restart Apache .
Here's the code:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://plopInc/Plopservice" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://plopInc/Plopservice">
<wsdl:types>
<schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://plopInc/Plopservice" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://plopInc/Plopservice">
<simpleType name="EnumerationStatus">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Success" />
<xsd:enumeration value="Warning" />
<xsd:enumeration value="Failure" />
</xsd:restriction>
</simpleType>
<complexType name="serviceReturn">
<sequence>
<element minOccurs="1" maxOccurs="1" name="status"
type="tns:EnumerationStatus" />
<element minOccurs="0" maxOccurs="1" name="code" type="xsd:string" />
<element minOccurs="0" maxOccurs="1" name="message" type="xsd:string" />
</sequence>
</complexType>
<!--
******************************************************************************
-->
<complexType name="Contact">
<sequence>
<element minOccurs="0" maxOccurs="1" name="id" type="xsd:long" />
<element minOccurs="1" maxOccurs="1" name="name" type="xsd:string" />
<element minOccurs="1" maxOccurs="1" name="prename" type="xsd:string" />
<element minOccurs="0" maxOccurs="1" name="listTelephones"
type="tns:ListTelephones" />
</sequence>
</complexType>
<complexType name="ListContacts">
<sequence>
<element minOccurs="0" maxOccurs="unbounded" name="Contact"
nillable="true" type="tns:Contact" />
</sequence>
</complexType>
<complexType name="Telephone">
<sequence>
<element minOccurs="0" maxOccurs="1" name="label" type="xsd:string" />
<element minOccurs="0" maxOccurs="1" name="numeral" type="xsd:string" />
</sequence>
</complexType>
<complexType name="ListTelephones">
<sequence>
<element minOccurs="0" maxOccurs="unbounded" name="Telephone"
nillable="true" type="tns:Telephone" />
</sequence>
</complexType>
<!--
******************************************************************************
-->
<element name="SearchContactResponse">
<complexType>
<sequence>
<element minOccurs="1" maxOccurs="1" name="serviceReturn"
type="tns:serviceReturn" />
<element minOccurs="0" maxOccurs="1" name="listContacts"
type="tns:ListContacts" />
</sequence>
</complexType>
</element>
<element name="UpdateContactResponse">
<complexType>
<sequence>
<element minOccurs="1" maxOccurs="1" name="serviceReturn"
type="tns:serviceReturn" />
<element minOccurs="0" maxOccurs="1" name="contact" type="tns:Contact" />
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<!--
******************************************************************************
-->
<wsdl:message name="SearchContactIn">
<part name='idUser' type='xsd:string' />
</wsdl:message>
<wsdl:message name="SearchContactOut">
<wsdl:part name="parameters" element="tns:SearchContactResponse" />
</wsdl:message>
<wsdl:message name="UpdateContactIn">
<part name='idUser' type='xsd:string' />
<part name='contact' type='tns:Contact' />
</wsdl:message>
<wsdl:message name="UpdateContactOut">
<wsdl:part name="parameters" element="tns:UpdateContactResponse" />
</wsdl:message>
<!--
******************************************************************************
-->
<wsdl:portType name="PlopService">
<wsdl:operation name="SearchContact">
<wsdl:input message="tns:SearchContactIn" />
<wsdl:output message="tns:SearchContactOut" />
</wsdl:operation>
<wsdl:operation name="UpdateContact">
<wsdl:input message="tns:UpdateContactIn" />
<wsdl:output message="tns:UpdateContactOut" />
</wsdl:operation>
</wsdl:portType>
<!--
******************************************************************************
-->
<wsdl:binding name="PlopServiceSOAPBinding" type="tns:PlopService">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="SearchContact">
<wsdlsoap:operation soapAction="http://plopInc/Plopservice/SearchContact"
style="document" />
<wsdl:input>
<wsdlsoap:body use="literal" namespace="http://plopInc/Plopservice" />
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="literal" namespace="http://plopInc/Plopservice" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="UpdateContact">
<wsdlsoap:operation soapAction="http://plopInc/Plopservice/UpdateContact"
style="document" />
<wsdl:input>
<wsdlsoap:body use="literal" namespace="http://plopInc/Plopservice" />
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="literal" namespace="http://plopInc/Plopservice" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="PlopServiceService">
<wsdl:port name="PlopService" binding="tns:PlopServiceSOAPBinding">
<wsdlsoap:address location="http://127.0.0.1/PlopService/PlopService.php" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Bookmarks