Thank you, Tom it saved me at all:) 2008/12/3, Tom Howe <[EMAIL PROTECTED]>: > > > > WRT your first question. When you define your SimpleResourcePropertySet in > your resource, you should setOpenContent(true). This should allow you to > insert arbitrary resource properties. > > There is no way to delete only one of more than one resource properties > with the same QName using the operation provider. The operation provider > automatically clears all of the RP's. > > -Tom > > On Thu, Nov 27, 2008 at 9:29 AM, Sergei Smolov <[EMAIL PROTECTED]> wrote: > >> Hello, List! >> I've tried to use "wsrf-insert-property" and "wsrf-delete-properties" >> command line tools. As far as I understand, it is possible know to insert >> only those properties, which QNames are described in WSDL document of the >> corresponding service. So I can insert more than one property with the same >> QName, but when I try to delete only one of them by using >> "wsrf-delete-properties", I failes, because it removes all properties with >> this QName. >> Does anybody know how to insert new resource properties with QName that is >> not described in WSDL (or, maybe with new "localPart" of the QName only) >> programmatically, by using Java WS Core, or it is just impossible? >> Is is possible to remove only one of more than one resource properties >> with the same QName? >> >> Thanks in advance >> >> 2008/11/26, Sergei Smolov <[EMAIL PROTECTED]>: >>> >>> Thank you, Rachana >>> >>> Nevertheless, this "insert-resource-property" tool seems rather strange. >>> What resource properties can I add to the service's resource property >>> document by using "insert-resource-property" tool? Is it correct, that >>> I only can insert properties with QName, fixed in WSDL document? >>> >>> 2008/11/26, Rachana Ananthakrishnan <[EMAIL PROTECTED]>: >>>> >>>> Resource properties of a service are defined in the WSDL document, you >>>> cannot have arbitrary resource properties. >>>> >>>> Rachana >>>> >>>> ------------------------------ >>>> *From:* [EMAIL PROTECTED] [mailto: >>>> [EMAIL PROTECTED] *On Behalf Of *Sergei Smolov >>>> *Sent:* Wednesday, November 26, 2008 8:44 AM >>>> *To:* [EMAIL PROTECTED] >>>> *Subject:* [gt-user] Java WS Core: wsrf-insert-property problem >>>> >>>> I think, the problem with the "insert-resource-property" has not been >>>> solved yet. The thing is that there is no possibility, as I"ve understood, >>>> to insert property with the QName that is not equal to "Foo". >>>> For example, here is my file "in.xml": >>>> >>>> <doc> <ns1:Av xmlns:ns1="http://widgets.com"> Value1 >>>> </ns1:Av> <ns1:Foo xmlns:ns1="http://widgets.com"> Value2 >>>> </ns1:Foo> </doc> >>>> >>>> When I've tried to use it, I had this error: >>>> >>>> Error: org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType: >>>> {http://widgets.com}Av >>>> >>>> So, is there a possibility to insert resource properties with arbitrary >>>> QName? If not, what are restrictions on QNames? >>>> >>>> Thanks in advance >>>> >>>> >>>> >>>> 2008/11/11, Sergei Smolov <[EMAIL PROTECTED]>: >>>>> >>>>> Rachana, >>>>> >>>>> Sorry for late response too, now everything works correctly, thank you >>>>> very much. >>>>> >>>>> 2008/11/4, Rachana Ananthakrishnan <[EMAIL PROTECTED]>: >>>>>> >>>>>> Sergei, >>>>>> >>>>>> Sorry about late response. >>>>>> >>>>>> I tested this and the example in.xml file shows "foo" as the element, >>>>>> while the QName is case sensitive. Change it to "Foo" and you should see >>>>>> the >>>>>> command go through. >>>>>> >>>>>> I'll fix the documentation. >>>>>> >>>>>> Rachana >>>>>> >>>>>> ------------------------------ >>>>>> *From:* [EMAIL PROTECTED] [mailto: >>>>>> [EMAIL PROTECTED] *On Behalf Of *Sergei Smolov >>>>>> *Sent:* Thursday, October 30, 2008 8:46 AM >>>>>> *To:* [EMAIL PROTECTED] >>>>>> *Subject:* [gt-user] Java WS Core: wsrf-insert-property >>>>>> >>>>>> Hello, List! >>>>>> I've tried to insert a property into the resource property document of >>>>>> the WidgetService ( Java WS Core) and i've used the example on: >>>>>> >>>>>> >>>>>> http://www.globus.org/toolkit/docs/4.2/4.2.1/common/javawscore/user/#wsrf-insert-property >>>>>> >>>>>> Before using the command "wsrf-insert-property" I've created an XML >>>>>> file WidgetEPR.xml that contains the WS-Addressing endpoint reference. >>>>>> >>>>>> But the result of "./wsrf-insert-property -e WidgetEPR.xml in.xml" >>>>>> command execution was: >>>>>> >>>>>> Error: >>>>>> org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType: { >>>>>> http://widgets.com}foo >>>>>> >>>>>> So, where is an error in my actions? >>>>>> >>>>>> Thanks in advance, >>>>>> -- >>>>>> Sergey Smolov >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Sergey Smolov >>>> >>>> >>>> >>>> >>>> -- >>>> Sergey Smolov >>>> >>>> >>> >>> >>> -- >>> Sergey Smolov >> >> >> >> >> -- >> Sergey Smolov > > > >
-- Sergey Smolov
