Hi,

Thanks for your response,

 

Yes, I checked the content of @F, and looked into the Bar::new method.

It gets a reference to the passed object and returns it with every values

 

The record ( the bar object ) seems to be « stripped » with the as_raw_data method

 

Cordialement – Kind regards

 

 

 

 

Stéphane Galant

Ingénieur Projets

 

Logon S.I. France

16, Avenue des Châteaupieds

92565 Rueil-Malmaison Cedex

Tél : +33 (0)1 47 51 98 96

Fax : +33 (0)1 47 51 94 12

Email : [EMAIL PROTECTED]

http://www.logonsi.com

 


--------------------------------------------------------------Disclaimer----------------------------------------------------------------
Ce message ainsi que les éventuelles pièces jointes constituent une correspondance privée et confidentielle à l'attention exclusive du destinataire désigne ci-dessus. Si vous n'êtes pas le destinataire du présent message ou une personne susceptible de pouvoir le lui délivrer, il vous est signifié que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez reçu ce message par erreur, nous vous remercions d'en informer l'expéditeur par téléphone ou de lui retourner le présent message, puis d'effacer immédiatement ce message de votre système.


***
This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system


De : Thurn, Martin [mailto:[EMAIL PROTECTED]
Envoyé : lundi 22 mai 2006 14:28
À : Stéphane Galant
Objet : RE: [SOAP] Data complex types

 

  It goes without saying, I assume you checked the value of @F before calling Bar::new to verify that @F contains the right thing?

  Then I would look at the source of Bar::new and see what it's doing with the Fields value.

 - - Martin

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stéphane Galant
Sent: Friday, May 19, 2006 11:26
To: [email protected]
Subject: RE: [SOAP] Data complex types

Hi all,

 

I have to use complex types to create a webservice  returning multiple fields from multiple records

 

Here is my sample code :

 

my @F = ();

 

my $f1 = Foo ->new({

    FieldName => 'Name1',

    FieldValue => 'Value1'

});

push @F, $f1->as_raw_data;

….

push @F, $f2->as_raw_data;

….

push @F, $fn->as_raw_data;

….

 

 

my @r =();

my $r1 = Bar->new({

    Comment  => 'string comment',

    Fields  => [EMAIL PROTECTED],

   

});

push @r, $r1->as_raw_data;

 

 

I can’t get more than the last field into my Bar object !

Any hints, tips, or suggestions would be appreciated.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to