jimbona27
asked on
call web service method within PHP help
hi EE,
I have asked this question several times now although with no help to be honest.
I am trying to call a web service within PHP.
The definition within the WSDL file is included within the code snippet.
Can someone please provide an example of how to call the method named 'AddMember' using PHP please?
Many thanks,
I have asked this question several times now although with no help to be honest.
I am trying to call a web service within PHP.
The definition within the WSDL file is included within the code snippet.
Can someone please provide an example of how to call the method named 'AddMember' using PHP please?
Many thanks,
<s:element name="AddMember">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="title" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="firstName" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="surname" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="emailAddress" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="emailType" type="tns:EmailAddressType"/>
<s:element minOccurs="0" maxOccurs="1" name="telephone" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="username" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="password" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="jobTitle" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="regType" type="tns:RegistrantType"/>
<s:element minOccurs="1" maxOccurs="1" name="establishmentID" type="s:int"/>
<s:element minOccurs="0" maxOccurs="1" name="referrerContactID" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:simpleType name="RegistrantType">
<s:restriction base="s:string">
<s:enumeration value="Student"/>
<s:enumeration value="Consultant"/>
<s:enumeration value="Other"/>
</s:restriction>
<s:simpleType name="EmailAddressType">
<s:restriction base="s:string">
<s:enumeration value="Home"/>
<s:enumeration value="Work"/>
</s:restriction>
</s:simpleType>
</s:simpleType>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
regarding your first post, you are correct, I need to call AddRegistration.
ASKER
any ideas?
What should I use in the key field?
Could you provide a value for all fields in the followinig description
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="title" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="firstName" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="surname" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="emailAddress" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="emailType" type="tns:EmailAddressType
<s:element minOccurs="0" maxOccurs="1" name="telephone" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="username" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="password" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="jobTitle" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="regType" type="tns:RegistrantType"/
<s:element minOccurs="1" maxOccurs="1" name="establishmentID" type="s:int"/>
<s:element minOccurs="0" maxOccurs="1" name="referrerContactID" type="s:string"/>