Version Mismatch Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello List,
 
I have been using a SOAP service without issue until the company I am
communicating with just upgraded their system.
 
Now I get a Version Mismatch error when recieving requests - although I
am getting the correct response back but PHP is giving the error?
 
Any thoughts would be appreciated.
 
I am using PHP's ext/SOAP.
 
Below is a request/response:
 
<?xml version="1.0" encoding="UTF-8"?> 
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="https://my.company.com/b2b/schema/6.1/";>
  <SOAP-ENV:Body>
    <ns1:activate-add-request>
      <header-info>
        <merchant-id>1234</merchant-id>
        <store-code>mycode</store-code>
        <agent-name>AAA1</agent-name>
        <operator-id>0</operator-id>
        <terminal-id>0</terminal-id>
        <pos-transaction-id>1100</pos-transaction-id>
        <datetime>2006-08-10T10:53:17-07:00</datetime>
 
<pos-transaction-datetime>2006-08-10T10:53:17-07:00</pos-transaction-dat
etime>
        <sender-id>PARTNER</sender-id>
        <program-id>SV</program-id>
      </header-info>
      <card-info>
        <swipe-flag>false</swipe-flag>
        <printed-card-number>1111111111111111</printed-card-number>
      </card-info>
      <add-wallet-content>
        <wallet-code>1</wallet-code>
        <quantity>25.00</quantity>
      </add-wallet-content>
    </ns1:activate-add-request>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope> 
 
SOAP Response Received:
 
<?xml version="1.0"?> 
<soap-env:Envelope>
  <soap-env:Body>
    <add-redeem-reply>
      <request-event>LP213</request-event>
      <pos-transaction-id>1100</pos-transaction-id>
      <px-transaction-id>2238158</px-transaction-id>
      <datetime>2006-08-10T13:53:19.019</datetime>
      <sender-id>PXS</sender-id>
      <response-code>416</response-code>
      <response-message>Invalid card number
1111111111111111</response-message>
      <trailer-width>0</trailer-width>
      <trailer-line-count>0</trailer-line-count>
    </add-redeem-reply>
  </soap-env:Body>
</soap-env:Envelope>
 
Ken Vandegrift
kvandegrift@sharis.com <mailto:kvandegrift@sharis.com> 
Web Administrator
Sharis Mgmt. Corp
 

[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux