Loading ...
Sorry, an error occurred while loading the content.

4248Question about complex types

Expand Messages
  • Brian Sedgley
    Dec 14, 2004
    • 0 Attachment
      I have went searched the mailer for the solution for this problem I have seen other people ask this question but have not seen the answer.
       The request I am makeing is of a complex type. When ever I get a soap fault it always complains about the 'SOAP-ENV:encodingStyle' being in the soap message.   Complex type messages should not enclude encoding style at least according to the schema I am working with.  is there an easy way to get rid of encoding style?
      use SOAP::Lite;
      use XML::Simple;
      use Data::Dumper;
      $result = SOAP::Lite ->new() -> outputxml(1)
         -> uri('http<servername>/PerlScripts/axl/axlsoap.xsd')
         -> proxy('https://XXXX:XXXXX@<servername>8443/axl/listener')
         -> getPhone(SOAP::Data->name('phoneName' => "SEP00070ef73adf"));
      my $config = XMLin($result,KeyAttr =>'');
      print Dumper($return{'SOAP-ENV:Body'}->{ 'axl:getPhoneResponse' }->{'return'});
    • Show all 8 messages in this topic