Re: Removing sequence tag from SOAP WSDL Schema -- help please





"Marvin Smit" wrote:

> Hi,
>
> Can i rephrase this question and post if back to you?
>
> "Can you guys change the XSD spec so I can write a webservice which is
> used by a perl implementation, which uses hashes and therefore cannot
> maintain a sequence?"
>
> The "sequence" is a composer. One of three possible;
> - sequence
> - choice
> - all
>
> It makes no sense removing the composer. If you do, the only thing
> that might happen is that 'a default' is used. Which again would be
> one of the three mentioned above.
>
> My advise would be;
>
> Get the "Perl" implementation to adhere to standards, not the other
> way around.
>
> Hope this helps,
>
> Marvin Smit.
>
>
> On Tue, 13 Sep 2005 06:56:03 -0700, "kevin"
> <kevin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >Is that even possible?
> >
> >I am creating a web service in .NET to expose some already created .NET
> >programs to other groups. One group is writing the client in PERL, and thus
> >wishes the wsdl schema to not be sequenced. (PERL hashes do not retain order
> >information) First, the w3 specs don't mention the sequence in any detail -
> >its just there in the examples, which makes me wonder if removing the
> >sequence tag is even supportable. Second, I can find nothing in the .NET
> >documentation that suggests how I would remove the sequence information, and
> >nothing in DefaultWsdlHelpGenerator.aspx that even mentions sequence.
> >
> >I suppose I could try generating the .asmx?WSDL, manually removing the
> >sequence tags, then having people point to it, but I am not sure that would
> >work.
> >
> >Anyone have any ideas?
>
>
Marvin

I am going to assume that my last line is the problem here. I suppose that
last line could be read as asking for a way to remove the entire tag and not
just change the sequence information. The problem is that the .NET API for
creating web services does not seem to allow me to change that information
from the default of "sequence" to "all".

Having said that, the implementation on the PERL side does adhere to the
service standard. Hashes are just data constructs -- the output can be
massaged however we see fit. Since it’s a hash, however, it doesn't retain
information about order or structure and thus allowing the web service to use
the "all" option would make the PERL implementation faster and cleaner.

If the .NET API doesn't provide for a means of changing the value of the
sequence tag, then I would have to say that it’s the .NET implementation with
the problem adhering to standards. I doubt that, though -- I am sure there
is a way to do this, I just haven't found it.

.



Relevant Pages

  • Re: Removing sequence tag from SOAP WSDL Schema -- help please
    ... The schema we had to adhere to demanded proper sequence, ... Whether this can be done from your perl client, I don't know, but it's worth ... > just change the sequence information. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: modify PVA.pl (z/OS and perl-5.8.6)
    ... This contains a sequence of property aliases ('ea' for EastAsianWidth, 'jt' for JoiningType and so on) and their corresponding values. ... I changed the order of propertynames in PVA_abbr_map, but perl -d still continues to follow the original sequence of property names and exits before 'ea' is used. ... I tried to modify PVA.pl manually on the linux box to to see if perl ran with this new sequence, so that the 'ea' case would be picked up before perl -d had a chance to exit. ...
    (perl.beginners)
  • Re: FAQ 5.2 (Was: inserting lines)
    ... I recently complained about the lack of alternate approaches to the FAQ ... "How do I change one line in a file/delete a line in a file/insert a ... Perl is not a text editor. ... punch cards--computers usually see the text file as a sequence of bytes. ...
    (comp.lang.perl.misc)
  • Re: FAQ 4.47 How do I handle circular lists?
    ... modifying a variable twice in the same statement will lead to ... Perl will not guarantee what the result of the above statements is. ... this is a consequence of the concept of "sequence points". ... just against using the increment and decrement operators. ...
    (comp.lang.perl.misc)
  • Re: C language and bioinformatics
    ... Perl is the preffered language for basic bioinformatics programng, ... computational biologists looking in to the sequence data. ...
    (perl.beginners)