Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: SOAP::Serializer::envelope: Client Application failed during request deserialization

by david2008 (Scribe)
on Jun 22, 2010 at 12:26 UTC ( #845883=note: print w/replies, xml ) Need Help??


in reply to Re^3: SOAP::Serializer::envelope: Client Application failed during request deserialization
in thread SOAP::Serializer::envelope: Client Application failed during request deserialization

I made the tests and the test results were ok
t/01-core.t .................................. ok t/010-serializer.t ........................... ok t/012-cloneable.t ............................ ok t/013-array-deserialization.t ................ ok t/014_UNIVERSAL_use.t ........................ ok t/015_UNIVERSAL_can.t ........................ ok t/02-payload.t ............................... ok t/03-server.t ................................ ok t/04-attach.t ................................ skipped: Could not find + MIME::Parser - is MIME::Tools installed? Aborting. t/05-customxml.t ............................. ok t/06-modules.t ............................... ok t/07-xmlrpc_payload.t ........................ ok t/08-schema.t ................................ ok t/096_characters.t ........................... skipped: (no reason giv +en) t/097_kwalitee.t ............................. skipped: (no reason giv +en) t/098_pod.t .................................. skipped: (no reason giv +en) t/099_pod_coverage.t ......................... skipped: (no reason giv +en) t/IO/SessionData.t ........................... ok t/IO/SessionSet.t ............................ ok t/SOAP/Data.t ................................ ok t/SOAP/Lite/Deserializer/XMLSchema1999.t ..... ok t/SOAP/Lite/Deserializer/XMLSchema2001.t ..... ok t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.t .. ok t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.t .. ok t/SOAP/Lite/Packager.t ....................... ok t/SOAP/Schema/WSDL.t ......................... ok t/SOAP/Serializer.t .......................... ok t/SOAP/Transport/HTTP.t ...................... ok t/SOAP/Transport/HTTP/CGI.t .................. ok t/SOAP/Transport/IO.t ........................ ok t/SOAP/Transport/LOCAL.t ..................... ok t/SOAP/Transport/MAILTO.t .................... skipped: Cannot test wi +thout Test::MockObject t/SOAP/Transport/POP3.t ...................... ok t/XML/Parser/Lite.t .......................... ok t/XMLRPC/Lite.t .............................. ok All tests successful. Files=35, Tests=868, 13 wallclock secs ( 0.49 usr 0.23 sys + 7.04 cu +sr 1.44 csys = 9.20 CPU) Result: PASS
  • Comment on Re^4: SOAP::Serializer::envelope: Client Application failed during request deserialization
  • Download Code

Replies are listed 'Best First'.
Re^5: SOAP::Serializer::envelope: Client Application failed during request deserialization
by ww (Bishop) on Jun 22, 2010 at 12:59 UTC
    Could the note at line 17 direct you to your problem?
    Could not find MIME::Parser - is MIME::Tools installed?

    I know zip about S::S::E and acknowledge that success-by-downgrading could argue against the missing M::P as a root of the problem, but it might be worthwhile chasing down the call, anyway.

      I installed the MIME::Parser module but still have the defect
      soap:Client,Application failed during request deserialization: no element found at line 1, column 0, byte -1 at XML/Parser.pm line 18 +7
Re^5: SOAP::Serializer::envelope: Client Application failed during request deserialization
by Anonymous Monk on Jun 22, 2010 at 23:46 UTC
    I made the tests and the test results were ok

    Then you need to post a short self contained program that shows the problem.

      i write the flow at the client side
      my $soap = SOAP::Lite->uri( 'Menu/SOAP')->proxy('<url>/a.cgi', timeout => $timeout) ; my $response; $response = $soap->find_services($obj, $instance);
      at the server side a.cgi
      use SOAP::Transport::HTTP; use Menu::SOAP; SOAP::Transport::HTTP::CGI -> dispatch_to('Menu::SOAP') -> handle;
      at Menu/SOAP.pm
      sub find_services { }
      I don't write the code of find_services as the program dies in the parsing beforehand.
      I would be happy to give more information when needed

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://845883]
help
Chatterbox?
[Corion]: Hi choroba, Discipulus!
[Corion]: Yesterday I've been mulling over how to best generate HTTP requests from permutations of values but I haven't found a nice API for passing in the "template" of the HTTP request yet. I guess I'll have to do a SoPW for that
[Corion]: The API itself will basically be my $iter = generate_http_requ ests(method => 'GET', url => '/settings/:name', headers => ???, get_params => ['foo','bar']), but I'm not sure how to parametrize values in the headers and how to specify lists of ...
[choroba]: On the other hand, lots of options to receive the requests :-)
[Corion]: ... values to be used. For example, I think for headers, one would want to have various kinds of Content-Encoding headers, but for the get_parameters one would have various kinds of Bobby Tables
[choroba]: What about [metadoc:// Algorithm::Loops]?
[Corion]: choroba: Yeah, but handing off the request to Dancer,Plack, Mojolicious,LWP is easy once I have the data filled into some structure ;))
[choroba]: Algorithm::Loops
[Corion]: choroba: I'm using that to generate the permutations, but I don't know how the user can pass the intended values to my function in a sane way
[Corion]: I have a prototype that permutes the get_parameters, but the values used for the get parameters should be different from the values used for the headers and potentially for parts of the URL

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-01-17 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (152 votes). Check out past polls.