in reply to Re^2: Using SOAP::Lite, is it possible to get rid of SOAPStruct from request header XML
in thread Using SOAP::Lite, is it possible to get rid of SOAPStruct from request header XML

You might want to spell out the header explicitly like:

$service->autotype(0); my $header = SOAP::Header->name(AuthHeader => \SOAP::Header->value( SOAP::Header->name(Username => $username)- +>prefix('mypref'), SOAP::Header->name(Password => $password)- +>prefix('mypref'), ) )->uri('www.ABSnet.net')->prefix('mypref');
THis appears to create the ehader in the correct form for you.

/J\

  • Comment on Re^3: Using SOAP::Lite, is it possible to get rid of SOAPStruct from request header XML
  • Download Code