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

need to cut off some default namespaces in my SOAP envelope

Expand Messages
  • nanoterabeta
    my script is following: my $soap = SOAP::Lite - on_action( sub { join / , http://somewebsite } ) - proxy( http://thatwebsite/bla.asmx ); it produces the
    Message 1 of 1 , Dec 24, 2007
    View Source
    • 0 Attachment
      my script is following:
      my $soap = SOAP::Lite
      -> on_action( sub { join '/', 'http://somewebsite' } )
      -> proxy('http://thatwebsite/bla.asmx');

      it produces the following xml message:

      <SOAP-ENV:Envelope
      xmlns:namesp1="http://namespaces.soaplite.com/perl"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

      but i need to cut it down to the following:

      <soapenv:Envelope
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

      which means i need to cut off some default namespaces in the envelope
      (not in body nor header)
      how can i do that?
    Your message has been successfully submitted and would be delivered to recipients shortly.