Hi all,

The following information is expected on the SOAP server. ( I don't have access to this server to modify anything). My question is how to construct a Java class that sends off the request as shown below: i.e how to work out what's the service, the method, parameters to pass it to the server. And how to construct the header from those parameters? At the moment, I am connecting to this SOAP service by Socket then use the POST method to send the request to. Could any of you please help me in getting this thing done in Java-SOAP?

Thanks & Regards,

Tony

 

<SOAP-ENV:Envelope
        xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
        xmlns:company='http://mws_company...'>
  <SOAP-ENV:Header>
        <company:Header.V001 SOAP-ENV:mustUnderstand='1'
                xmlns='http://mws_company...'>
           <Transaction>RetrieveDetails</Transaction>
           <Mission>Action</Mission>
           <Version>V001</Version>
           <SubTransaction>Subtransaction</SubTransaction>
           <Origin>company-Project:Origin</Origin>
           <Target>company-Project:target</Target>
           <SentAt>200102223164457000000</SentAt>
           <UserId>user</UserId>
        </company:Header.V001>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body xmlns='urn:company-Project:target'>
        <RetrieveDetails.Action.V001>
             <Number>0407351302</Number>
        </RetrieveDetails.Action.V001>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Reply via email to