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
Vend::SOAP::Transport(3pm) User Contributed Perl Documentation Vend::SOAP::Transport(3pm)NAME
SOAP::Transport::IO - Server side IO support for SOAP::Lite
SYNOPSIS
use SOAP::Transport::IO;
SOAP::Transport::IO::Server
# you may specify as parameters for new():
# -> new( in => 'in_file_name' [, out => 'out_file_name'] )
# -> new( in => IN_HANDLE [, out => OUT_HANDLE] )
# -> new( in => *IN_HANDLE [, out => *OUT_HANDLE] )
# -> new( in => *IN_HANDLE [, out => *OUT_HANDLE] )
# -- OR --
# any combinations
# -> new( in => *STDIN, out => 'out_file_name' )
# -> new( in => 'in_file_name', => *OUT_HANDLE )
# -- OR --
# use in() and/or out() methods
# -> in( *STDIN ) -> out( *STDOUT )
# -- OR --
# use default (when nothing specified):
# in => *STDIN, out => *STDOUT
# don't forget, if you want to accept parameters from command line
# *HANDLER will be understood literally, so this syntax won't work
# and server will complain
-> new(@ARGV)
# specify path to My/Examples.pm here
-> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method')
-> handle
;
DESCRIPTION COPYRIGHT
Copyright (C) 2000-2001 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.
AUTHOR
Paul Kulchenko (paulclinger@yahoo.com)
perl v5.14.2 2010-03-25 Vend::SOAP::Transport(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)