Re: POE::Component::Server::SOAP parameter passing

2003-11-20 Thread Kaare Rasmussen
Hi Rocco

 In the future, if you'd like a proper trouble ticket, there's an RT

I didn't realise that there was a more organised method of problem handling, 
sorry.

 queue for every CPAN module.  See http://rt.cpan.org/ for information.

I will submit a description including a proper sample. Thanks for the info. 

-- 
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize  Fax:3816 2501
Howitzvej 75   Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00   Web:  www.suse.dk



Re: POE::Component::Server::SOAP parameter passing

2003-11-19 Thread Kaare Rasmussen
Hm... Nobody knows why POE::Component::Server::SOAP messes with the 
parameters ?

The worst part is this

 But if I use special characters like '!' or '$' in the name of a hash pair,
 the method will quit immediately.

-- 
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize  Fax:3816 2501
Howitzvej 75   Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00   Web:  www.suse.dk



Re: POE::Component::Server::SOAP parameter passing

2003-11-19 Thread Rocco Caputo
On Wed, Nov 19, 2003 at 11:57:25AM +0100, Kaare Rasmussen wrote:
 Hm... Nobody knows why POE::Component::Server::SOAP messes with the 
 parameters ?
 
 The worst part is this
 
  But if I use special characters like '!' or '$' in the name of a hash pair,
  the method will quit immediately.

Hi, I'm the author.  I've been busy elsewhere with $dayjob lately and
haven't had time to do the free POE support thing.  I'm catching up
now and should get to this soon.

In the future, if you'd like a proper trouble ticket, there's an RT
queue for every CPAN module.  See http://rt.cpan.org/ for information.
If you prefer submitting problem reports by e-mail, the queues are
available as [EMAIL PROTECTED].  In this case,
[EMAIL PROTECTED].

A test case would maximize my efficiency.

-- 
Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/


POE::Component::Server::SOAP parameter passing

2003-11-17 Thread Kaare Rasmussen
When calling a method through POE::Component::Server::SOAP with these 
parameters:

%searchParms = (
  'Table' = 'so_orderhead, co_custaddr_v',
  name = 'Freemoney',
  password = 'test'
);
print $soap-getData( $sessionId, \%searchParms )-result . \n;

It shows up like this in getData with $soap_transaction-params().

{
  'c-gensym6' = '414110171010313200
',
  'c-gensym8' = {
 'soap_typeuri' = 'http://xml.apache.org/xml-soap',
 'soap_typename' = 'SOAPStruct',
 'Table' = 'so_orderhead, co_custaddr_v',
 'name' = 'Freemoney',
 'password' = 'test'
   }
};

How come it's a hash ? Well it's not really the problem. The %searchParms hash 
should really look like this, as it is to be used by DBIx::Recordset: 

%searchParms = (
  '!Table' = 'so_orderhead, co_custaddr_v',
  '!TabJoin' = 'so_orderhead LEFT JOIN co_custaddr_v USING (contact_id)',
  '!Order' = 'ordernr',
  '$where' = 'status = 100 AND ordernr NOT IN (SELECT ordernr FROM 
so_invoice)',
  '$max' = 20
);

But if I use special characters like '!' or '$' in the name of a hash pair, 
the method will quit immediately.

What should I do here ?

-- 
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize  Fax:3816 2501
Howitzvej 75   Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00   Web:  www.suse.dk