For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > March 2006 > SOAP::Lite creating remote objects









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SOAP::Lite creating remote objects
Gabriel

2006-03-29, 6:57 pm

Im using SOAP::Lite to create a SOAP client, and I need to create an
object which has its structure defined in a WSDL file.
All of the samples i have found related to object creation/handling
with SOAP::Lite relates to handling returned objects, but I need to
create an object and submit it.
Is there a way to do this automagically using their provided WSDL file
(which does have the XML definition for the object i need), or will I
need to use something like SOAP::Data to build this object manually?

I have read the documentation, and like I said, most all of the
examples I have seen relate to dealing with *returned* objects, not
creating them before calling a remote method.

In case it matters, the WSDL file is here :
http://stage.freshdigital.co.uk/web...MediaStore?wsdl
and i need to create a Product object, but i dont think that level of
detail is necessary to answer my question..

Thanks in advance,
Gabriel

PerlDev

2006-03-31, 6:57 pm

Hi Gabriel,

You need wrap your object with SOAP::Data by yourself. ie. you need
customized serializer. check out: SOAP::EnvelopeMaker.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com