title: How can I create a SOAP server in Perl?
body: <p>I'm working with a third-party vendor who unfortunately requires that we set up a SOAP server to handle requests from them.  I'm having some trouble finding the best way to go about this.  One limitation I'm imposing is that it runs as a mod_perl2 handler.  After some searching I've found that the best way may be to use XML::Compile and its SOAP classes but I'm having a tough time wrapping my head around it.  Part of the problem is my limited understanding of SOAP and the documentation for most modules seems a bit cryptic to me.</p>
  
  <p>So, can anyone give me some pointers, sample code, anything?</p>
  
  <p>EDIT: we were also given a WSDL file to use, and this was not compatible with SOAP::WSDL ("unsupported global type  found in ...
  Looks like a rpc/literal WSDL, which is not supported by SOAP::WSDL)</p>
  
  <p>EDIT: XML::Compile::SOAP complains "RPC encoded not supported by this version" when using the WSDL with XML::Compile::WSDL11.  Can/should I not worry about the WSDL file?</p>