RE: Inconsitant data

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

 



Sorry - full correct email below;



-----Original Message-----
From: Steven Macintyre [mailto:steven.macintyre@gmail.com] 
Sent: Tuesday, March 31, 2009 5:04 PM
To: 'soap@lists.php.net'
Subject: Inconsitant data

Hi all,

We are creating a call on a SOAP interface, we have no problems with the
interface accepting our other data, however two nodes are not recorded when
using $client->__getLastRequest() and trace is enabled.

Please see below;

Information passed 

Array
(
    [ShippingData] => 
    [PaymentData] => Array
        (
            [PaymentMethod] => Account
            [PaymentAccount] => G017N00000002
            [PaymentConfirmed] => A
            [PaymentReference] => 1435(32156979)
            [AuthorizationCode] => 925547
        )

    [ContactData] => 
    [OrderLineItem] => 
    [OrderNumber] => 
    [OrderDateTime] => 
    [PromoVoucher] => 
)

$client->__getLastRequest() returned;

<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="http://www.siebel.com/xml/VSOrderConfirm";><SOAP-ENV:Body><ns1:Ord
erHeader><ns1:OrderNumber></ns1:OrderNumber><ns1:OrderDateTime></ns1:OrderDa
teTime><ns1:ShippingData/><ns1:PaymentData><ns1:PaymentMethod>Account</ns1:P
aymentMethod><ns1:PaymentConfirmed>A</ns1:PaymentConfirmed></ns1:PaymentData
><ns1:OrderLineItem/><ns1:PromoVoucher/><ns1:ContactData/></ns1:OrderHeader>
</SOAP-ENV:Body></SOAP-ENV:Envelope>

You will see that two of the 5 nodes are getting processed, but the others
aren't, could this be server side issue or remote (soap interface) issue.

Lastly, this is section of the wsdl, you will see that the three that are
omitted above are indented differently form the rest. Could this be the
cause?

        <sequence>
          <element name="PaymentMethod" type="string" minOccurs="0"
maxOccurs="1"/>
          <element name="PaymentConfirmed" type="string" minOccurs="0"
maxOccurs="1"/>
		  <element name="PaymentAccount" type="string" minOccurs="0"
maxOccurs="1"/>
		  <element name="PaymentReference" type="string"
minOccurs="0" maxOccurs="1"/>
		  <element name="AuthorizationCode" type="string"
minOccurs="0" maxOccurs="1"/>
        </sequence>




-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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

  Powered by Linux