Dear all,
Perhaps the question is such an easy one, but i really wanna find out the best
solution to my application scenario. I had posted the same topic, but there is
no feedback on it. So i am sorry for the duplicated topic.
Hope i can get your kindly help.
I would like to present my question further through my SOAP request and
response.
addRequest demo:
<AdminReq>
<ProductName>
<Req>
<addRequest>
<id>id1</id>
<value>value1</value>
</addRequest>
<addRequest>
<id>id2</id>
<value>value2</value>
</addRequest>
</Req>
</ProductName>
</AdminReq>
deleteRequest demo:
<AdminReq>
<ProductName>
<Req>
<deleteRequest>
<id>id1</id>
</deleteRequest>
</Req>
</ProductName>
</AdminReq>
addResponse demo:
<AdminRes>
<ProductName>
<Res>
<addResponse>
<id>id1</id>
<description>error</description>
</addResponse>
<addResponse>
<id>id2</id>
<description>ok</description>
</addResponse>
</Res>
</ProductName>
</AdminRes>
deleteRsponse demo:
<AdminRes>
<ProductName>
<Res>
<deleteResponse>
<id>id1</id>
<description></description>
</deleteResponse>
</Res>
</ProductName>
</AdminRes>
I think the WSDL should use the document/literal model. But i wanna what is the
best way to implement the web service.
Sincerely appreciated for your help.
Best regards,