Hi ,
Here is the soap request xml for the remote access of the webservice.
<ns:MyOfferRequest>
<ns:credentials>
<ns:merchantId>11111111111</ns:merchantId>
<ns:timeStamp>2010-11-23T06:44:07</ns:timeStamp>
<ns:operation>InquireOffer</ns:operation>
</ns:credentials>
<ns:retailerCardSet>
<!--1 or more repetitions:-->
<ns:retailerCardDetails>
<ns:cardRetailerId>1233</ns:cardRetailerId>
<ns:cardSeqNumber>12</ns:cardSeqNumber>
<ns:cardNumber>7712320886298555</ns:cardNumber>
<ns:pin>111</ns:pin>
<ns:userCardValue>3000</ns:userCardValue>
</ns:retailerCardDetails>
</ns:retailerCardSet>
<ns:MyOfferRequest>
The above request will be created by the Ofbiz SOAP client engine.
Here is the soap service definition which wraps the remote webservice
<service name="inquireOfferabc" engine="soap" export="true"
location="http://<ip address>:8080/axis2/services/MyService" invoke="myOffer">
<description>inquire offer SOAP request</description>
<namespace>InquireOfferRequest</namespace>
<attribute name="merchantId" type="String" mode="IN"/>
<attribute name="cardNumber" type="String" mode="IN"/>
<attribute name="pin" type="String" mode="IN"/>
<attribute name="cardRetailerId" type="String" mode="IN"/>
<attribute name="result" type="String" mode="OUT"/>
</service>
I am confused as to how do I create the hierarchy of the namespaces reqd. for the request xml using the service definition.
I would like to know how can create the namespace "InquireOfferRequest" as a parent tag to the namespace "credentials" and "retailerCardSet"?
Regards
Prashant
________________________________
http://www.mindtree.com/email/disclaimer.html