Description of Perl WSDL Interfaces

I learned how to add Perl-based SOAP server to our systems. Every time I look at @ SOAP tools in Perl, I am disappointed at how much more developer overhead is required than people in the VS.net world. (And I searched for a long time)

From looking at other issues here it looks like XML :: Compile :: SOAP seems to be a popular tool lately. I developed a way to get my code to serve as a service through it, but I also had to manually massage the .WSDL file, which I started with Pod :: WSDL .

Is there a more direct approach that I do not find in CPAN or elsewhere? Pod :: WSDL throws rpc / encoded by default, which I understand is not the best option. The docs say the document / literal is not yet supported, and while reading the source code, you can see the parts of the code that execute document / literal, but it does not work directly with XML :: Compile :: SOAP . Ideally, I add a few annotations to our code in the POD or perl5 attributes and press a button and get a WSDL that I can feed into the XML :: Compile package.

Thanks in advance.

+3
source share
1 answer

As far as I know, there is no better approach. At least for simple services.

, - RPC-, SOAP:: Lite .

  • perl
  • OO, params perl-.
  • , .
  • . .
  • SOAP:: Lite ( ).
  • SOAP:: Lite perl (). .

, RPC/ SOAP, . , POD, WSDL, ( ).Net ( , Mono MS #)

, Pod:: WSDL , , .

, XML, SOAP, , SOAP:: Lite Pod:: WSDL .

, Perl, , Java, . .

+1

Source: https://habr.com/ru/post/1759450/


All Articles