파일방2011. 11. 9. 15:45
XML 파일은 soap을 분석하여 파싱을 하고
처리용으로 구분하여 c/c++ 파일을 생성해주는 프로그램이다.

$ wsdl
Web Services Description Language Utility
Mono Framework v2.0.50727.1433
wsdl [options] {path | URL} {path | URL} ...

   -d, -domain:domain           Domain of username for server authentication.
   -l, -language:language       Language of generated code. Allowed CS (default)
                                and VB. You can also specify the fully qualified
                                name of a class that implements the
                                System.CodeDom.Compiler.CodeDomProvider Class.
   -n, -namespace:ns            The namespace of the generated code, default
                                namespace if none.
   -nologo                      Surpress the startup logo.
   -o, -out:filename            The target file for generated code.
   -p, -password:pwd            Password used to contact the server.
   -protocol:protocol           Protocol to implement. Allowed: Soap (default),
                                HttpGet or HttpPost.
   -fields                      Generate fields instead of properties in data
                                classes.
   -server                      Generate server instead of client proxy code.
   -u, -username:username       Username used to contact the server.
   -proxy:url                   Address of the proxy.
   -pu, -proxyusername:username Username used to contact the proxy.
   -pp, -proxypassword:pwd      Password used to contact the proxy.
   -pd, -proxydomain:domain     Domain of username for proxy authentication.
   -urlkey, -appsettingurlkey:key Configuration key that contains the default
                                url for the generated WS proxy.
   -baseurl, -appsettingbaseurl:url Base url to use when constructing the
                                service url.
   -sample:[binding/]operation  Display a sample SOAP request and response.
   -?                           Display this message

Options can be of the forms  -option, --option or /option 

$ wsdl2h

**  The gSOAP WSDL parser for C and C++ 1.2.9l
**  Copyright (C) 2000-2007 Robert van Engelen, Genivia Inc.
**  All Rights Reserved. This product is provided "as is", without any warranty.
**  The gSOAP WSDL parser is released under one of the following two licenses:
**  GPL or the commercial license by Genivia Inc. Use option -l for more info.

Cannot open file 'typemap.dat'
Problem reading type map file typemap.dat.
Using internal type definitions for C++ instead. 


우분투에서는 굳이 소스로 설치할 필요 없이 gsoap 패키지를 설치하면 되며 실행명은 wsdl 이다.

[링크 : http://www.cs.fsu.edu/~engelen/soap.html]
    [링크 : http://www.cs.fsu.edu/~engelen/soapmain.html#howto]
[링크 : http://packages.ubuntu.com/lucid/gsoap]

'파일방' 카테고리의 다른 글

VPN 관련 오픈소스  (0) 2011.12.07
EDID Manager  (4) 2011.12.05
Intel VTune Amplifier XE / AMD CodeAnalyst Performance Analyzer / Nvidia Parallel Nsight  (0) 2011.11.09
MeshLab  (0) 2011.10.18
input director  (0) 2011.10.05
Posted by 구차니