Hi Keith,

I've used tptp and to start with had the same issues.  The first time
was due to no persistence option on the resource, and then (having set
the persistence) from there not being a persisted resource on the path.

<resource-type xmlns="http://ws.apache.org/muse/descriptor";
use-router-persistence="true">
and
     <router>
 
<java-router-class>org.apache.muse.core.routing.SimpleResourceRouter</ja
va-router-class>
        <logging>
            <log-file>log/muse.log</log-file>
            <log-level>FINE</log-level>
        </logging>
        <persistence>
 
<java-persistence-class>org.apache.muse.core.routing.RouterFilePersisten
ce</java-persistence-class>
            <persistence-location>router-entries</persistence-location>
        </persistence>
    </router>

then a file under router-entries/*name-of-resource-type*/ called
resource-instance-1.xml with the following:

<?xml version="1.0" encoding="UTF-8"?>
<wsa:ReferenceParameters
xmlns:wsa="http://www.w3.org/2005/08/addressing"/>

Then, when the wsdl was ok, it worked for me.  If you want I can send
you a small miniSoap project (minus the libs) that worked fine for me.
I should note that I also manually used the 2.2.0 libs not the libs from
the tptp project.

cheers,
Chris

-----Original Message-----
From: Keith Rochford [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 03, 2007 5:47 PM
To: [email protected]
Subject: Re: MissingResourceException

Hi All,
Does anyone know if this problem was ever resolved? I'm having the same
trouble now.

mabroukONnet, were you by anychance using the eclipse tooling for WSDM
to generate the capabilities?

I cant figure out what the poblem is at all.

Thanks
Keith

mabroukONnet wrote:

>No, i didn't!
>so, i'll contact those which wrote description files, and see with
them.
>thanks again.
>
>
>Bogdan Solomon wrote:
>  
>
>>I do not think it can. From the exception thrown by Muse it seems that

>>it does not find the property in the wsdl file. Muse creates a map of 
>>properties by looking at the port part of the wsdl, going from there 
>>to the listed properties, and finally parsing the specified properties

>>(it is looking at the ones with "ref:"). So, from what I know of Muse 
>>that error does not even reach your code.
>>
>>If you want to look at the Muse source there are two places that the 
>>exception is thrown:
>>
>>org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyColl
>>ection
>>in
>>method updateResourceProperty, and in
>>
>>org.apache.muse.ws.resource.properties.schema.impl.SimpleResourcePrope
>>rtiesSchema
>>in method getProperty.
>>
>>Are you trying to update the property by any chance or retrieve it?
>>
>>    
>>
>
>
>Bogdan Solomon wrote:
>  
>
>>Can you post your wsdl file so I can look at it. From what I know it 
>>should work.
>>
>>Also if you can, pass your wsdl file through an xml checker.
>>
>>
>>mabroukONnet wrote:
>>    
>>
>>>step achieved with success :,(
>>>port maps to the correct properties, and resource properties maps to 
>>>some property elements wich contains the four properties listed 
>>>before, and all is ok on description files.
>>>:-| what can i do? is there another check?
>>>
>>>      
>>>
>>    
>>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to