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

Re: Autogenerating WSDL

Expand Messages
  • paulclinger@yahoo.com
    Hi, Garrett! Looks interesting. I wish I knew it six month ago :). It seems like it doesn t provide any fallbacks on old Perls, but I ll try to use it
    Message 1 of 4 , May 4, 2001
    • 0 Attachment
      Hi, Garrett!

      Looks interesting. I wish I knew it six month ago :). It seems like
      it doesn't provide any fallbacks on "old" Perls, but I'll try to use
      it anyway. Thanks for the hint.

      Best wishes, Paul.

      --- In soaplite@y..., Garrett Goebel <garrett@s...> wrote:
      > From: paulclinger@y... [mailto:paulclinger@y...]
      > >
      > > That's interesting. What I'm thinking about is some internal
      > > representation of service description, so you can get it from
      WSDL,
      > > or generate WSDL from it on the fly if required and at the same
      time
      > > it'll allow you DO NOT name/type all parameters explicitly on
      client
      > > side. I see it as:
      >
      > Have you looked at Damian Conway's Attribute::Handlers module? You
      could use
      > attribute handlers to generate your internal representation...
      >
      > package main;
      > use SOAP::Transport::HTTP;
      > SOAP::Transport::HTTP::...->handle;
      >
      >
      > package MyClass;
      > use base SOAP::Lite::Attributes;
      >
      > $VERSION : NameSpace('http://my.namespace.here')
      > : Encoding('...') = '0.01';
      >
      > sub hi : Signature(string, void)
      > : Purpose("Example method call") { "hello world" }
      >
      >
      > package SOAP::Lite::Attributes;
      >
      > # Generate Handler routines...
      > sub NameSpace : ATTR(SCALAR) { ... }
      > sub Encoding : ATTR(SCALAR) { ... }
      > sub Signature : ATTR(CODE) { ... }
      > sub Purpose : ATTR { ... }
      >
      > 1;
      > __END__
    Your message has been successfully submitted and would be delivered to recipients shortly.