본문 바로가기

gSOAP

gsoap (2) 참고로 제가 여기 적는 gsoap의 글들은 대부분 http://www.cs.fsu.edu/~engelen/soap.html 의 Document의 User Guide를 참고하고 있습니다.어떻게 보면 간단히 예제들을 한번 돌려보고 이해한 만큼 적는 것입니다. 오늘은 간단히 gsoap를 이용하여 웹서버의 CGI 를 구현해 보고자 합니다. 물론 gsoap의 기본 예제 그대로... ^^ 1. 먼저 다음과 같은 헤더 파일을 만듭니다.// File: currentTime.h //gsoap ns service name: currentTime //gsoap ns service namespace: urn:currentTime //gsoap ns service location: http://www.yourdomain.com.. 더보기
gsoap (1) gsoap 에 대해서 기본적인 것 부터 시작해보자 http://www.cs.fsu.edu/~engelen/soap.html 본 글에서부터는 오로지 C++에 대해서만 언급한다. 물론 gsoap 은 C 로도 프로그래밍이 가능하지만, C++로 하는것이 왠지..그리고 soap에 대해서는 다루지 않는다. gsoap을 하기위해서는 기본적으로 wsdl2h와 soapcpp2를 이용하여 wsdl, schema로부터 데이터를 바인딩하고(헤더파일 생성) soapcpp2로 stub, skeleton 코드(서버, 클라이언트 베이스) 를 생성한다는 것... ^^The wsdl2h WSDL/schema importer and data binding mapper tool.The soapcpp2 stub/skeleton compile.. 더보기
stub & skeleton 이해하기 간단히....stub은 클라이언트에 위치skeleton 은 서버에 위치한다고 보면 된다. JAVA의 RMI를 기준으로 아래 원문을 참조해 보자 원문:The rmic compiler generates two files: a stub and a skeleton. The stub resides on the client machine and the skeleton resides on the server machine. The stub and skeleton are comprised of Java code that provides the necessary link between the two objects.When a client invokes a server method, the JVM looks at the .. 더보기