Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: SOAP::Lite server - changing method name in response

by Anonymous Monk
on Aug 24, 2011 at 15:26 UTC ( #922135=note: print w/ replies, xml ) Need Help??


in reply to Re^2: SOAP::Lite server - changing method name in response
in thread SOAP::Lite server - changing method name in response

in the end of MyModule, but it doesn't seem to do anything. Maybe because I'm not using the Daemon approach, but rather the "cgi-server" approach? My client code:

Um, I alrady went through the trouble of posting a complete, runnable, self contained, working example

Copy and paste all the appropriate bits into your program


Comment on Re^3: SOAP::Lite server - changing method name in response
Re^4: SOAP::Lite server - changing method name in response
by DreamT (Pilgrim) on Aug 24, 2011 at 15:47 UTC
    I appreciate your effort.:) I ran it (in two instances of course, one server and one client) and got the following result:<bt>
    <soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/enc +oding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns: +soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http:/ +/www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSche +ma-instance"> <soap:Header> <prod_no xsi:type="xsd:string">two</prod_no> </soap:Header> <soap:Body> <product_info_requestResponse xmlns="http://127.0.0.1/MyModule" xs +i:nil="true"/> </soap:Body> </soap:Envelope>

    Also, it may be a problem for me using Proc::Background, since the environment that this is going to be used in is quite hard to install new perl modules. But that's a minor.
      (And now when I understood what you were using Proc::Background for, I don't see it as a problem anymore :-) )
      #~ ->serializer( MySerializer->new ) # WORKS
        Thanks...:-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922135]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-07-05 02:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls