dear all, i have 2 case that realy need your help. but if you only answer 1 ofthose care really thanks fully to you.
First case:
i want to establish the connection with my customer using MM7 ( anybody know? ), the things that i know about
MM7 is Server Client communication with SOAP and HTTP as protocol.
since i new in Perl and SOAP, so i really need your help.

1. the customer send me SOAP XML whit attachment ( plain/text ) to me and this is the example of SOAP envelope :
=======================================================================
POST http://XXX.XXX.XXX.XXX:9999 HTTP/1.1 Host: XXX.XXX.XXX.XXX:9999 customer-id:ABC1234 x-fh-Connection-ID:3 Content-Type:multipart/related; boundary="fh-mms-multipart-boundary-0" +; type="text/xml"; start="<cid-999999000000@5>" <?xml version="1.0" encoding="UTF-8"?> <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/soapenvel +ope. xsd"> <soap-env:Header> <TransactionID soap-env:mustUnderstand="1" xmlns="http://www.firsthop.com/specs/MM7-extended/MM7-extended-1-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.firsthop.com/specs/MM7-extended/MM7- extended-1-3/MM7-extended-1-3.xsd"> fh-transaction-id-12345678909 </TransactionID> </soap-env:Header> <soap-env:Body> <DeliverReq xmlns="http://www.firsthop.com/specs/MM7-extended/MM7-extended-1-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.firsthop.com/specs/MM7-extended/MM7- extended-1-3/MM7-extended-1-3.xsd"> <MM7Version>5.5.0-extended</MM7Version> <LinkedID>routerSMSNode1@cs01nfhq:57999</LinkedID> <Sender><Number>+6283809000XXX</Number></Sender> <Recipients><To><ShortCode>9999</ShortCode></To></Recipients> <TimeStamp>2007-12-26T03:15:46-00:00</TimeStamp> <Content allowAdaptations="true" href="&lt;00005DC71A4C0019@firsthop.c +om>" type="SMS"/> </DeliverReq> </soap-env:Body> </soap-env:Envelope>
====================================================================
and the attachment is "Hello World"?
how can i get the value of "customer-id" "TransactionID" "MM7Version" "LinkedID" "Number" "ShortCode" "TimeStamp"
and the attachment "Hello World".

2. can you explain to me about allowAdaptations="true" and how to replay soap-env:mustUnderstand="1" ?

Second case

Please help me to create simple ( yes, just simple will help me a lot )Server script and client script.

and this is the situation :
1. i need a sample script to deliver SOAP envelop with the attachment a text string like " Hello World ".
2. i need a sample script to print out the envelope and catch the value in the envelope ( header and body ) and in the attachment, and give the response back.

once again i really thanks fully to you if you can answer my problem. right now i still learn the Perl and SOAP. Thx Regards

In reply to SOAP Client and Server by dreamclown

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.