SOAP::Deserializer(3) User Contributed Perl Documentation SOAP::Deserializer(3)NAME
SOAP::Deserializer - the means by which the toolkit manages the conversion of XML into an object managable by a developer
DESCRIPTION
SOAP::Deserializer provides the means by which incoming XML is decoded into a Perl data structure.
METHODS
context
This provides access to the calling context of "SOAP::Deserializer". In a client side context the often means a reference to an
instance of SOAP::Lite. In a server side context this means a reference to a SOAP::Server instance.
EXAMPLES
DESERIALIZING RAW XML INTO A SOAP::SOM OBJECT
A useful utility for SOAP::Deserializer is for parsing raw XML documents or fragments into a SOAP::SOM object. SOAP::Lite developers use
this technique to write unit tests for the SOAP::Lite module itself. It is a lot more efficient for testing aspects of the toolkit than
generating client calls over the network. This is a perfect way for developers to write unit tests for their custom data types for example.
Here is an example of how raw XML content can be parsed into a SOAP::SOM object by using SOAP::Deserializer:
$xml = <<END_XML;
<foo>
<person>
<foo>123</foo>
<foo>456</foo>
</person>
<person>
<foo>789</foo>
<foo>012</foo>
</person>
</foo>
END_XML
my $som = SOAP::Deserializer->deserialize($xml);
COPYRIGHT
Copyright (C) 2000-2004 Paul Kulchenko. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Byrne Reese (byrne@majordojo.com)
perl v5.12.1 2008-03-15 SOAP::Deserializer(3)
Check Out this Related Man Page
SOAP::WSDL::Deserializer::XSD(3pm) User Contributed Perl Documentation SOAP::WSDL::Deserializer::XSD(3pm)NAME
SOAP::WSDL::Deserializer::XSD - Deserializer SOAP messages into SOAP::WSDL::XSD::Typelib:: objects
DESCRIPTION
Default deserializer for SOAP::WSDL::Client and interface classes generated by SOAP::WSDL. Converts SOAP messages to
SOAP::WSDL::XSD::Typlib:: based objects.
Needs a class_resolver typemap either passed by the generated interface or user-provided.
SOAP::WSDL::Deserializer classes implement the API described in SOAP::WSDL::Factory::Deserializer.
USAGE
Usually you don't need to do anything to use this package - it's the default deserializer for SOAP::WSDL::Client and interface classes
generated by SOAP::WSDL.
If you want to use the XSD serializer from SOAP::WSDL, set the outputtree() property and provide a class_resolver.
OPTIONS
o strict
Enables/disables strict XML processing. Strict processing is enabled by default. To disable strict XML processing pass the following to
the constructor or use the "set_strict" method:
strict => 0
METHODS
deserialize
Deserializes the message.
generate_fault
Generates a SOAP::WSDL::SOAP::Typelib::Fault11 object and returns it.
set_strict
Enable/disable strict XML parsing. Default is enabled.
LICENSE AND COPYRIGHT
Copyright 2004-2007 Martin Kutter.
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself.
AUTHOR
Martin Kutter <martin.kutter fen-net.de>
REPOSITORY INFORMATION
$Rev: 851 $
$LastChangedBy: kutterma $
$Id: XSD.pm 851 2009-05-15 22:45:18Z kutterma $
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Deserializer/XSD.pm $
perl v5.10.1 2010-12-21 SOAP::WSDL::Deserializer::XSD(3pm)
Hi guys,
Is it possible to make SOAP calls from within Unix shell scripts?
I need to access a web service from within UNIX in order to lookup something while I am doing some parsing on a file.
Regards,
Laud (2 Replies)
I Have Two Files, A And B. How Can I Rewrite Them Into A New File With The Following Pattern?
File A
123
456
789
File B
235
478
987
Become
123 235
456 478
987 789
Thanks In Advance!! (8 Replies)
I am trying to write a program in a script .sh
I have a list of coordinates ie
e1=123 n1=123
e2=456 n2=456
e3=789 n3=789
I have a counter starting at 1
for (( i=1; i<=2; i++))
i need coordinate=123,123
then on the second loop
coordinate=456,456 etc...
I tried doing:
#e=0 n=0 <... (3 Replies)
how can i marge two files depend som key
for example:
the first file include many records of information for X person
and the second file have one record of information for each X person
shortly i want to mak first :match between the two files then insert data from the second to the first... (2 Replies)
Hi
i have the below lines from a file
7538
PRGRP450800PERSONAL SOAP AND BATH ADDITIV 7036
PRGRP450800PERSONAL SOAP AND BATH ADDITIV 7036
PRGRP450800PERSONAL SOAP AND BATH ADDITIV 7036... (3 Replies)
I have a log file that is around 300 MB of data having continours soap responses as shown below( I have attached only one sample SOAP). I would require to have the following extracted and written onto a new file.
timestamp
WebPartId
bus:block
bus:unblock
endpt:operation
Please help me.
... (3 Replies)
hi,
I have a input file like
a,123,456,789,012,.......,b
I need to change the output file into
a,123,b
a,456,b
a,789,b
a,012,b
a,...,b
like that..
how to achieve that through UNIX................. (5 Replies)
I need help to extract a following SOAP-ENV:Header XML message from the log.
XML message need to be extracted:
***************************
<SOAP-ENV:Header>
<ServiceGatewayHeader>
<SourceApplicationId>OXL</SourceApplicationId>
<Version>1.0</Version>
<UserId>TEST</UserId>... (4 Replies)
I currently have publication lists for ~3 dozen faculty members. I need to find out how many publications are in common across all faculty members - person 1 with person 2, person 1 with person 3, person 2 with person 3, person 1 with both person 2 and person 3, etc.
One person may have
Last1,... (5 Replies)
I have a file that has information for a person....each person gets 3 or more lines to describe them.
I was hoping to match person 1, then person 2.....BUT I do not know how to tell grep I only want the first (2nd, 3rd or nth) match.
The alternative is doing line by line logic, which is fine... (8 Replies)
Hi there! Need help on some issue, I have data like this:
123
456
789
012
i need it to be like this:
123789
456012
Anyone has any idea how to do this? Thanks!
Regards,
Ken
How to use code tags (8 Replies)
Hi,
I have executed the below perl code to check whether SOAP module is working or not.
#!/usr/bin/perl
use SOAP::Transport::HTTP;
print "Hai";
But I got the below error message:
Can't locate SOAP/Transport/HTTP.pm in @INC (@INC contains:... (2 Replies)