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

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

by Chris Twiner :: Rate this Message:

Reply to Author | View in Thread

Hi Sara,

The default routerfile persistence doesn't seem to do this unfortunately.

org.apache.muse.core.routing.RouterFilePersistence

protected Resource reloadResource(String contextPath, Element resourceXML)

can be overridden to add the reference parameters correctly.  I will
try to add this behaviour as default for 2.2.1.

cheers,
Chris

On 3/2/09, SARA1232007 <cyl_axis@...> wrote:

>
>  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
>
> --
>  View this message in context: http://www.nabble.com/Question-about-resource-instance-N.xml-in-example-simple-tp22288066p22288066.html
>  Sent from the Muse - Dev mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: muse-dev-unsubscribe@...
>  For additional commands, e-mail: muse-dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@...
For additional commands, e-mail: muse-dev-help@...

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