« Return to Thread: Question about resource-instance-N.xml in example simple

Question about resource-instance-N.xml in example simple

by SARA1232007 :: Rate this Message:

Reply to Author | View in Thread

Hi,
I get resource-instance-1.xml file generated by running wsdl2java.bat on SimpleResource.wsdl in simple example. In resource-instance-1.xml, the content is following:
<wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing"/>

But in the simple example, the resource-instance-1.xml is modified as following:
<wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
<muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressing">MuseResource-1</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
How does muse-wsa:ResourceId  bind with resource instance at server side? Can I provide other xml elements other than muse-wsa:ResourceId and how will be this integrated into server application?

Also, I find that resource-instance-*.xml that wsa:ReferenceParameters is configured with NO child xml element. Then, how useful is this kind of wsa:ReferenceParameters deployment?

Any advice is appreciated.

Thanks.

SARA

 « Return to Thread: Question about resource-instance-N.xml in example simple