IzzyMenu.com

Programming(Script,ASSM,Unix-C)

 ·Î±×ÀÎ  È¸¿ø°¡ÀÔ

SOAP Code ¿¹Á¦
ANTON  2009-06-28 05:28:03, Á¶È¸ : 167, Ãßõ : 51

//==========================================================================||
//-- SOAP - Authenticate ()                                                 ||
//==========================================================================||
//                                                                          ||
//-- ¾ÆÀ̵ð / ºñ¹Ð¹øÈ£ / ¹öÁ¯Á¤º¸ º¸³¿..                                    ||
//                                                                          ||
//--------------------------------------------------------------------------||
POST /FTPService HTTP/1.1
Host:folder.soribada.comContent-Type:
text/xml;
charset=utf-8Content-Length:702
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:ns1=http://kerberos.embian.gnu/FTPService/ns1.xsd
xmlns:ns2="http://kerberos.embian.gnu/FTPService">
<SOAP-ENV:Body id="_0">
<ns2:Authenticate>
<strUserName xsi:type="xsd:string">nsx1</strUserName>  
<strPassword xsi:type="xsd:string">123456</strPassword>
<strAppVersion xsi:type="xsd:string">4.0</strAppVersion>
</ns2:Authenticate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>









//==========================================================================||
//-- SOAP - Authenticate ()                                                 ||
//==========================================================================||
//                                                                          ||
//-- ¾ÆÀ̵ð / ºñ¹Ð¹øÈ£ / ¹öÁ¯Á¤º¸ º¸³»°í ¼¼¼Ç ¾ÆÀ̵ð ¹ÞÀ½..                 ||
//                                                                          ||
//--------------------------------------------------------------------------||

HTTP/1.1 200 OK
Date: Wed, 10 Nov 2004 13:02:06 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2 mod_perl/1.26
Content-Length: 625
Content-Type: text/xml;
charset=utf-8SOAPServer:
SOAP::Lite/Perl/0.55Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:namesp5="http://namespaces.soaplite.com/perl"
SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<namesp27:AuthenticateResponse xmlns:namesp27="http://kerberos.embian.gnu/FTPService">
<s-gensym140 xsi:type="xsd:string">U4164181173889</s-gensym140>
</namesp27:AuthenticateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>







//==========================================================================||
//-- SOAP - ListDirectory ()                                                ||
//==========================================================================||
//                                                                          ||
//-- º¸³½ µ¥ÀÌŸ..                                                          ||
//                                                                          ||
//--------------------------------------------------------------------------||

[1] "뷁뷁" ÆÄÀÏÀÌ ÀÖ´Â Æú´õ - nsx1:\SOAP_TEST_0\

POST /FTPService HTTP/1.1
Host:folder.soribada.com
Content-Type: text/xml;
charset=utf-8
Content-Length: 670
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:ns1=http://kerberos.embian.gnu/FTPService/ns1.xsd
xmlns:ns2="http://kerberos.embian.gnu/FTPService">
<SOAP-ENV:Body id="_0">
<ns2:ListDirectory>
<strDirectory xsi:type="xsd:string">nsx1:\SOAP_TEST_0\</strDirectory>
<strSessionId xsi:type="xsd:string">U4164181173889</strSessionId>    
</ns2:ListDirectory>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>






//==========================================================================||
//-- SOAP - ListDirectory ()                                                ||
//==========================================================================||
//                                                                          ||
//-- º¸³½ µ¥ÀÌŸ..                                                          ||
//                                                                          ||
//--------------------------------------------------------------------------||

[2] "Å×½ºÆ®ÆÄÀÏ" ÆÄÀÏÀÌ ÀÖ´Â Æú´õ - nsx1:\SOAP_TEST_1\

POST /FTPService HTTP/1.1
Host:folder.soribada.com
Content-Type: text/xml;
charset=utf-8
Content-Length: 670
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:ns1=http://kerberos.embian.gnu/FTPService/ns1.xsd
xmlns:ns2="http://kerberos.embian.gnu/FTPService">
<SOAP-ENV:Body id="_0">
<ns2:ListDirectory>
<strDirectory xsi:type="xsd:string">nsx1:\SOAP_TEST_1\</strDirectory>
<strSessionId xsi:type="xsd:string">U4164181173889</strSessionId>          
</ns2:ListDirectory>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>






//==========================================================================||
//-- SOAP - ListDirectory ()                                                ||
//==========================================================================||
//-- ¹ÞÀº µ¥ÀÌŸ..                                                          ||
//-- [1] "뷁뷁" ÆÄÀÏÀÌ ÀÖ´Â Æú´õ - nsx1:\SOAP_TEST_0\                       ||
//--------------------------------------------------------------------------||
HTTP/1.1 200 OK
Date: Wed, 10 Nov 2004 13:10:42 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2 mod_perl/1.26
Content-Length: 955
Content-Type: text/xml;
charset=utf-8
SOAPServer:SOAP::Lite/Perl/0.55Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:namesp2=http://namespaces.soaplite.com/perl
SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<namesp68:ListDirectoryResponse xmlns:namesp68="http://kerberos.embian.gnu/FTPService">
<SOAP-ENC:Array SOAP-ENC:arrayType="namesp2:_RemoteFile[1]" xsi:type="namesp2:Array">
<_RemoteFile xsi:type="namesp2:_RemoteFile">
<FileSize xsi:type="xsd:int">5672</FileSize>                    
<CreateTime xsi:type="xsd:string">2004-11-10 18:8:29</CreateTime>
<FileType xsi:type="xsd:string">File</FileType>                  
<FileName xsi:type="xsd:string"/>                                
<DaysLeft xsi:type="xsd:int">30</DaysLeft>                        
</_RemoteFile>
</SOAP-ENC:Array>
</namesp68:ListDirectoryResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
//==========================================================================||
//-- SOAP - ListDirectory ()                                                ||
//==========================================================================||
//-- ¹ÞÀº µ¥ÀÌŸ..                                                          ||
//-- [2] "Å×½ºÆ®ÆÄÀÏ" ÆÄÀÏÀÌ ÀÖ´Â Æú´õ - nsx1:\SOAP_TEST_1\                 ||
//--------------------------------------------------------------------------||
HTTP/1.1 200 OK
Date: Wed, 10 Nov 2004 13:11:16 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2 mod_perl/1.26
Content-Length: 982
Content-Type: text/xml;
charset=utf-8
SOAPServer: SOAP::Lite/Perl/0.55
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:namesp2=http://namespaces.soaplite.com/perl
SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<namesp12:ListDirectoryResponse xmlns:namesp12="http://kerberos.embian.gnu/FTPService">
<SOAP-ENC:Array SOAP-ENC:arrayType="namesp2:_RemoteFile[1]" xsi:type="namesp2:Array">
<_RemoteFile xsi:type="namesp2:_RemoteFile">
<FileSize xsi:type="xsd:int">30208</FileSize>                    
<CreateTime xsi:type="xsd:string">2004-11-10 18:22:11</CreateTime>
<FileType xsi:type="xsd:string">File</FileType>                  
<FileName xsi:type="xsd:string">Å×½ºÆ®ÆÄÀÏ</FileName>            
<DaysLeft xsi:type="xsd:int">30</DaysLeft>                        
</_RemoteFile>
</SOAP-ENC:Array>
</namesp12:ListDirectoryResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


  ÃßõÇÏ±â   ¸ñ·Ïº¸±â

Copyright 1999-2024 Zeroboard / skin by zero