whiteyoh 0 Posting Pro in Training

Hi,

I have installed NUSOAP and i get error messages 100% even from examples.
My PHP knowledge is fair.

Here is my situation (that cant be changed).

A user on a 3rd party site clicks "BUY". The response to that is a URL to me containing a GUID and the product ID.

I am then to call SOAP of UserInfo from that company.

This is the request

POST /interface/mpp/ipaydeveloperv3/iPayDeveloper.asmx HTTP/1.1
Host: secure1.somewhere.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://secure1.somewhere.com/interface/ipaydeveloperv3/ipaydeveloper.asmx/UserInfo"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UserInfo xmlns="https://secure1.somewhere.com/interface/ipaydeveloperv3/ipaydeveloper.asmx">
      <affiliateId>int</affiliateId>
      <password>string</password>
      <guid>string</guid>
      <uki>string</uki>
      <clientUserId>string</clientUserId>
    </UserInfo>
  </soap:Body>
</soap:Envelope>

and this is its response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UserInfoResponse xmlns="https://secure1.somewhere.com/interface/ipaydeveloperv3/ipaydeveloper.asmx">
      <UserInfoResult>
        <Users>
          <MPPGUID>string</MPPGUID>
          <Nickname>string</Nickname>
          <Firstname>string</Firstname>
          <Surname>string</Surname>
          <EmailAddress>string</EmailAddress>
          <Pin>string</Pin>
          <Gender>Male or Female or NotKnown or Undefined</Gender>
          <DateOfBirth>dateTime</DateOfBirth>
          <Address>
            <HouseName>string</HouseName>
            <HouseFlatNumber>string</HouseFlatNumber>
            <Street>string</Street>
            <District>string</District>
            <City>string</City>
            <PostCode>string</PostCode>
            <Country>string</Country>
          </Address>
          <CreditCard>
            <LastFourDigits>string</LastFourDigits>
            <CreditCardType>Visa or Mastercard or Maestro or Delta or AmericanExpress or Solo or Electron or Laser or Undefined</CreditCardType>
            <ExpiryDate>string</ExpiryDate>
          </CreditCard>
          <PhoneNumbers>
            <MobilePhoneNumber>string</MobilePhoneNumber>
            <HomePhoneNumber>string</HomePhoneNumber>
          </PhoneNumbers>
          <AccountStatus>Active or Suspended or Closed or MWalletInactive</AccountStatus>
          <CreditsOnAccount>
            <CreditAmounts xsi:nil="true" />
          </CreditsOnAccount>
          <PreferredCurrency>GBP or USD or EUR or SEK or NotRequired</PreferredCurrency>
          <RequiresPin>boolean</RequiresPin>
          <ClientUserId>string</ClientUserId>
          <CrmField1>string</CrmField1>
          <CrmField2>string</CrmField2>
          <CrmField3>string</CrmField3>
          <CrmField4>string</CrmField4>
          <CrmField5>string</CrmField5>
          <CrmField6>string</CrmField6>
          <CrmField7>string</CrmField7>
          <CrmField8>string</CrmField8>
          <CrmField9>string</CrmField9>
          <CrmField10>string</CrmField10>
        </Users>
      </UserInfoResult>
    </UserInfoResponse>
  </soap:Body>
</soap:Envelope>