SOAP::Lite creating remote objects

SOAP::Lite creating remote objects

am 29.03.2006 16:51:24 von gabkin

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/webservices/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

Re: SOAP::Lite creating remote objects

am 31.03.2006 18:41:03 von PerlDev

Hi Gabriel,

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