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 almost the same question a 
few days ago, but get no answer. I try to reply the posted message with further 
presentation, but failed. Sorry for the duplicated message.
 
But i really hope that i could get your kindly help.

Now i present my question more clearly through the demo of the 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, 


Reply via email to