ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wsdl
wsdl
Re: [wsdl] Help: WS-I doc/lit with anyType SOAPBody
by Anne Thomas Manes other posts by this author
Mar 8 2005 5:12AM messages near this date
[wsdl] Get paid 10 USD to 90 USD an hour | RE: [wsdl] Digest Number 628
SERVICES 
Try this:

<wsdl:message name="DataServiceRequest"> 
    <wsdl:part element="xsd:any" name="DataServiceRequest"/> 
</wsdl:message> 

Anne


On Tue, 8 Mar 2005 11:24:25 +0800 (CST), Question Simple
<question_simple@[...].hk>  wrote:
>   
>   
>  Hi All, 
>    
>    I am writing a doc/lit web services, in which the elements under SOAPBody
>  is unknown. That is, these two message are acceptable. 
>    
>  1. <SOAP-ENV:Body><Tag1>It is ok</Tag1></SOAP-ENV:Body> 
>   
>  2. <SOAP-ENV:Body><Tag2><Tag3>It is also ok</Tag3></Tag2></SOAP-ENV:Body> 
>    
>    The question is, if I write the wsdl as follows (pls refer to the attached
>  file) 
>    
>  <wsdl:message name="DataServiceRequest"/> 
>      <wsdl:message name="DataServiceResponse">
>          <wsdl:part element="tns:DataServiceResponse"
>  name="DataServiceResponse"/>
>      </wsdl:message> 
>  ... 
>    
>      <wsdl:portType name="DataServicePortType">
>          <wsdl:operation name="DataService">
>              <wsdl:input message="tns:DataServiceRequest"/>
>              <wsdl:output message="tns:DataServiceResponse"/>
>          </wsdl:operation>
>      </wsdl:portType> 
>    
>    it will assume that the request message is empty, instead of anyType.
>  However, I cannot create an element with type=xsd:anyType since the element
>  name will be appear under SOAPBody. Therefore, what should I do? 
>    
>    I would also like the wsdl to be ws-i complaince, is it possible to do so?
>    
>  Cheers, 
>  Sonna Nach
>  
>  
>  ________________________________
>  Yahoo! 工具列 - 內置防止彈出視窗工能!
>   
>  
>   -----------------------------------------------------------------
>   This group is a forum for the discussion of the WSDL specification and its
>  implementation.  Please stay on-topic. 
>  
>   
>   
>   Yahoo! Groups Sponsor 
>   
>   ADVERTISEMENT
>   
>   
>   ________________________________
>   Yahoo! Groups Links
>   
>   
>  To visit your group on the web, go to:
>  http://groups.yahoo.com/group/wsdl/
>    
>  To unsubscribe from this group, send an email to:
>  wsdl-unsubscribe@[...].com
>    
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
>  
>  
> 


-----------------------------------------------------------------
This group is a forum for the discussion of the WSDL specification and its implementation.  
Please stay on-topic. 
Yahoo! Groups Links

<*>  To visit your group on the web, go to:
    http://groups.yahoo.com/group/wsdl/

<*>  To unsubscribe from this group, send an email to:
    wsdl-unsubscribe@[...].com

<*>  Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved