axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ysmanyam <ysman...@gmail.com>
Subject inserting multiple nodes using call.addParameter in AXIS CLIENT
Date Sat, 04 Jul 2009 21:09:41 GMT

Hi,

   I am new to Axis and webservices .we are using soap and axis and try to
do the following 

Sample SOAP

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com="http://www.xyz.com">

   <soapenv:Header/>

   <soapenv:Body>

      <com:SubscriberRetrieve>

         <com:input>

            <productVersion>ABC</productVersion>

            
          <userIdName>csmuser</userIdName>

            <subscriberId>

               <attribs>0</attribs>

               <subscriberId changed="false" set="true">

                  <value>59995150376</value>

               </subscriberId>

               <subscriberExternalIdType changed="false" set="true">

                  <value>1</value>

               </subscriberExternalIdType>

            </subscriberId>

         </com:input>

      </com:SubscriberRetrieve>

   </soapenv:Body>

</soapenv:Envelope>

 
 And i am trying to insert the values inside productVersion,userIdName and
able to suscced using Axis client like    

call.addParameter("productVersion", org.apache.axis.Constants.XSD_STRING,
              ParameterMode.IN);
call.addParameter("userIdName ", org.apache.axis.Constants.XSD_STRING,
              ParameterMode.IN);

Bujt how to insert the values into multiple nodes in the below subscriberId 
node 
<subscriberId>

               <attribs>0</attribs>

               <subscriberId changed="false" set="true">

                  <value>59995150376</value>

               </subscriberId>

 but how to construct subscriberId node and set the value using
addparameter() in  Axis  Client 


anyone Plz help 



-- 
View this message in context: http://www.nabble.com/inserting-multiple-nodes-using-call.addParameter-in-AXIS-CLIENT-tp24338045p24338045.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


Mime
View raw message