| SOAP :: DATA :: Builder. SOAP :: µ¥ÀÌÅÍ ¹× SOAP :: Serialiser¸¦ °£¼ÒÈÇÏ´Â ·¡ÆÛ |
Áö±Ý ´Ù¿î·Îµå |
SOAP :: DATA :: Builder. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Aaron James Trevena
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~teejay/
SOAP :: DATA :: Builder. ű×
SOAP :: DATA :: Builder. ¼³¸í
SOAP :: Data :: Builder´Â SOAP :: Lite.It¿¡ »ç¿ëÇϱâÀ§ÇÑ º¹ÀâÇÑ SOAP µ¥ÀÌÅÍ ¹× Çì´õ ±¸Á¶¸¦ ºü¸£°í ½±°Ô ±¸ÃàÇÏ´Â ½±°í ºü¸¥ ¹æ¹ýÀ» Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. SOAP :: Serializer ¹× SOAP :: Data ( ¶Ç´Â SOAP :: header) SOAP ¿äû ¶Ç´Â response.Synopsis¿¡¼ º¹ÀâÇÑ XMLÀ» »ý¼º ÇÒ ¼öÀÖ°Ô ÇØÁÝ´Ï´Ù. SOAP :: Lite (+ trace => 'ALL', maptype => {})¸¦ »ç¿ëÇÕ´Ï´Ù. SOAP :: Data :: Builder; # »õ ºô´õ °³Ã¼ ¸¸µé±â My $ soap_data_builder = SOAP :: Data :: Builder-> new (); # $ soap_data_builder-> add_elem (name => 'eb : messageHeader', header => 1, attributes => { "eb : ¹öÀü"=> "2.0", "soap :: mustunderstand"=> "1"}); # # URI : example.com # http://rosettanet.org/roles/buyer # ³» $ from = $ soap_data_builder-> add_elem (name => 'eb :', parent => $ soap_data_builder-> get_elem ( 'eb : messageheader')); $ soap_data_builder-> add_elem (name => 'eb : partyId', parent => $ from, value => 'uri : example.com'); $> add_elem (name => 'eb : ¿ªÇÒ', °ª => 'http://path.to/roles/foo'); # $ soap_data_builder-> add_elem (name => 'eb : duplicateelimination', parent => $ soap_data_builder-> get_elem ( 'eb : messageheader')); # $ data = soap :: data-> name (soap : env '=> \ soap :: data-> °ª ($ soap_data_builder-> to_soap_data)) # SOAP :: SERIALIZER MY $ SERIALIZED_XML = SOAP :: SERIALIZER-> AUTOTYPE (0) -> Á÷·ÄÈ ($ µ¥ÀÌÅÍ); # Serialise µ¥ÀÌÅÍ ·¡ÆÛ ³» $ wrapper_serialised_xml = $ soap_data_builder-> serialise (); # µ¥ÀÌÅÍ·Î SOAP ¿äûÀ»ÇϽʽÿÀ. ³» $ foo = soap :: lite -> URI ( 'http://www.liverez.com/soapdemo') -> ÇÁ·Ï½Ã ( 'http://www.liveerez.com/soap.pl ') -> getTest ($ soap_data_builder-> to_soap_data) -> °á°ú; Á¦Ç°ÀÇ È¨ÆäÀÌÁö
SOAP :: DATA :: Builder. °ü·Ã ¼ÒÇÁÆ®¿þ¾î