5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
i am invoking webservice from shell script and it is getting hitting server but unable to get the param values.
here my script like this:
s is variable
s=test
curl --data "param=$s" url
now hittng server , but param is empty.
just i want param value as string even I want for... (0 Replies)
Discussion started by: kk123
0 Replies
2. Shell Programming and Scripting
A webservice running on multiple servers. A patch has been deployed to them and it got successful only in some set of servers. The change is in format of "logontime" from "dd.mm.yyyy hh24:mi:ss" to "dd/mm/yyyy hh24:mi:ss". A script has already generated the output from all servers with request and... (2 Replies)
Discussion started by: Chandan_Bose
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am trying to call a http soap webservice using curl command , I have tried the below option but I am getting a failure .
curl -H "Content-Type: text/xml; charset=utf-8" -H SOAPAction:" -d @Request.xml -X POST... (1 Reply)
Discussion started by: IshuGupta
1 Replies
4. Shell Programming and Scripting
How do i invoke a SOAP based web service from a shell script. (0 Replies)
Discussion started by: rponugoti
0 Replies
5. Shell Programming and Scripting
Hello,
I am new to UNIX and this is my first project with it.
I am trying to determine the best way to send information from a UNIX PHP website into a webservice.
I will have 4 variables to pass to it in an XML format.
I am not sure what exactly this would entail. If you could point me... (5 Replies)
Discussion started by: EddiRae
5 Replies
LEARN ABOUT DEBIAN
soap::wsdl::factory::serializer
SOAP::WSDL::Factory::Serializer(3pm) User Contributed Perl Documentation SOAP::WSDL::Factory::Serializer(3pm)
NAME
SOAP::WSDL::Factory::Serializer - Factory for retrieving serializer objects
SYNOPSIS
# from SOAP::WSDL::Client:
$serializer = SOAP::WSDL::Factory::Serializer->get_serializer({
soap_version => $soap_version,
});
# in serializer class:
package MyWickedSerializer;
use SOAP::WSDL::Factory::Serializer;
# register as serializer for SOAP1.2 messages
SOAP::WSDL::Factory::Serializer->register( '1.2' , __PACKAGE__ );
DESCRIPTION
SOAP::WSDL::Factory::Serializer serves as factory for retrieving serializer objects for SOAP::WSDL.
The actual work is done by specific serializer classes.
SOAP::WSDL::Serializer tries to load one of the following classes:
o the class registered for the scheme via register()
METHODS
register
SOAP::WSDL::Serializer->register('1.1', 'MyWickedSerializer');
Globally registers a class for use as serializer class.
get_serializer
Returns an object of the serializer class for this endpoint.
WRITING YOUR OWN SERIALIZER CLASS
Registering a deserializer
Serializer classes may register with SOAP::WSDL::Factory::Serializer.
Serializer objects may also be passed directly to SOAP::WSDL::Client by using the set_serializer method. Note that serializers objects set
via SOAP::WSDL::Client's set_serializer method are discarded when the SOAP version is changed via set_soap_version.
Registering a serializer class with SOAP::WSDL::Factory::Serializer is done by executing the following code where $version is the SOAP
version the class should be used for, and $class is the class name.
SOAP::WSDL::Factory::Serializer->register( $version, $class);
To auto-register your transport class on loading, execute register() in your tranport class (see "SYNOPSIS" above).
Serializer package layout
Serializer modules must be named equal to the serializer class they contain. There can only be one serializer class per serializer module.
Methods to implement
Serializer classes must implement the following methods:
o new
Constructor.
o serialize
Serializes data to XML. The following named parameters are passed to the serialize method in a anonymous hash ref:
{
method => $operation_name,
header => $header_data,
body => $body_data,
}
LICENSE AND COPYRIGHT
Copyright 2004-2007 Martin Kutter. All rights reserved.
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: Serializer.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/Factory/Serializer.pm $
perl v5.10.1 2010-12-21 SOAP::WSDL::Factory::Serializer(3pm)