-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Sorry for late reply.

Francois Paul wrote:
> from various simple examples i get this far:
>      wsdl_url =
> "https://www.encryptedserver2.com/alturawebservicedev/storewebservice.asmx?WSDL"
> 
>      soap = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver
>      soap.wiredump_file_base = "soapresult"
>      param = {
>        'StorefrontID' => '112',
>        'Username' => 'wszaadz',
>        'Password' => 'wsdev',
>        'AccessPwd' => 'zaadzda',
>     }
>    result = soap.PlaceOrderV1(param)
> 
> but  i can't for the life of me figure out how to send the values for
> the PlaceOrderRequest and ArrayOfLineItems and LineItem types?

Please try this;

param = {
  'StorefrontID' => '112',
  'Username' => 'wszaadz',
  'Password' => 'wsdev',
  'AccessPwd' => 'zaadzda',
  'PlaceOrderRequest' => {
    'ShipToCountryID' => 99,
    'ShipMethodID' => 99,
    'LineItemArray' => {
      'LineItem' => [
        {
          'ProductID' => 99,
          'Qty' => 99
        },
        {
          'ProductID' => 98,
          'Qty' => 98
        }
      ]
    }
  }
}

Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iQEVAwUBRPEI0B9L2jg5EEGlAQL5Lwf/clt8AIcJb+gq/fs4q+Q8av1iD60w83Iw
EsRImsWzmI3D9fGhmro6cLuqFEs4aGrlNtZhTAC5pRC32z/9pQiuEcSxL3wlDMFA
dkaiXosiAHjDpatLGi5Yas02/4ZMORwDhAZYkpBtiA8sxbFTgXR1HG+TGVUYs+1m
v3+QAFCKaVmUeBhTSPNYfeaO00vs5jNL+bZGVibgKVcjuOnqS2PZZN5JBPFP+5ZM
rTylCEkeVB9SxTFAWChjvx+4M3wWv2GMNVDKXGdVoQRkBEN12xcfBRwXVimIuJYf
RekLF6oMsD/gIybTnGgNJ6di6z0rtMayURllhH7lkgr+6ISMXeKA3g==
=JcGm
-----END PGP SIGNATURE-----