Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Describing hashes in WSDL?

by rob_au (Abbot)
on Apr 26, 2005 at 00:02 UTC ( #451391=note: print w/ replies, xml ) Need Help??


in reply to Re: Describing hashes in WSDL?
in thread Describing hashes in WSDL?

This is pretty much spot-on - In the WSDL, you can define complex argument types which may be composed by any number of sub-elements. For example, from a Perl web service that I wrote which employed WSDL:

<xsd:complexType name="queryElement"> <xsd:sequence> <xsd:element maxOccurs="1" minOccurs="1" name="address" type="xsd: +string"/> <xsd:element maxOccurs="1" minOccurs="1" name="category" type="xsd +:integer"/> <xsd:element maxOccurs="1" minOccurs="1" name="id" type="xsd:strin +g"/> <xsd:element maxOccurs="1" minOccurs="1" name="request" type="xsd: +string"/> <xsd:element maxOccurs="1" minOccurs="1" name="time" type="xsd:int +eger"/> </xsd:sequence> </xsd:complexType>

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"


Comment on Re^2: Describing hashes in WSDL?
Download Code
Re^3: Describing hashes in WSDL?
by suaveant (Parson) on Apr 26, 2005 at 14:30 UTC
    Ok.. this is looking better... I was looking at Programming Web Services with SOAP, however, and it said something about a structure type and being able to describe basically the top level and not have to define all the elements inside. Basically allowing you to adjust the hash as needed (this may not be the best for mass consumption, but would work well in my current project). Basically this supposedly would work because SOAP embeds the types in the data. Know how to do that? Until then, I will play with this and see if I can make it work. Thanks!

                    - Ant
                    - Some of my best work - (1 2 3)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://451391]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-07-23 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls