Respected Sir, Answers : I have methods with exact name. When I enable debug flag i get following error: [EMAIL PROTECTED] bookchapter]$ wsrf-query -s http://10.100.84.17:8080/wsrf/services/sws/examples/MarketService "//*[local-name()='Entry'][./*/*/*[local-name()='SellerMarket']/text()='Bhopal' and '2000']" -debug AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.globus.wsrf.security.SecurityException: [SEC]Operation name could not be determined faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.globus.wsrf.security.SecurityException: [SEC]Operation name could not be determined at org.globus.wsrf.impl.security.util.AuthUtil.getOperationName(AuthUtil.java:259) at org.globus.wsrf.impl.security.authentication.AuthHandler.handle(AuthHandler.java:58) at org.globus.wsrf.impl.security.authentication.SecurityPolicyHandler.handle(SecurityPolicyHandler.java:110) at org.globus.wsrf.impl.security.authentication.DescriptorHandler.invoke(DescriptorHandler.java:91) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:248) at org.globus.wsrf.container.ServiceThread.doPost(ServiceThread.java:676) at org.globus.wsrf.container.ServiceThread.process(ServiceThread.java:397) at org.globus.wsrf.container.ServiceThread.run(ServiceThread.java:302) {http://xml.apache.org/axis/}hostname:dslabsrv17.da-iict.ac.in org.globus.wsrf.security.SecurityException: [SEC]Operation name could not be determined at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645) at org.apache.axis.Message.getSOAPEnvelope(Message.java:424) at org.apache.axis.message.addressing.handler.AddressingHandler.processClientResponse(AddressingHandler.java:305) at org.apache.axis.message.addressing.handler.AddressingHandler.invoke(AddressingHandler.java:110) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190) at org.apache.axis.client.Call.invokeEngine(Call.java:2727) at org.apache.axis.client.Call.invoke(Call.java:2710) at org.apache.axis.client.Call.invoke(Call.java:2386) at org.apache.axis.client.Call.invoke(Call.java:2309) at org.apache.axis.client.Call.invoke(Call.java:1766) at org.oasis.wsrf.properties.QueryResourcePropertiesSOAPBindingStub.queryResourceProperties(QueryResourcePropertiesSOAPBindingStub.java:415) at org.globus.wsrf.client.Query.main(Query.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95) at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37) [EMAIL PROTECTED] bookchapter]$ Is it security related problem? Kindly please give guidelines if possible. Thanking you very much. With Regards, Amee Desai
Zeeshan Ali Shah <[EMAIL PROTECTED]> wrote: Hi Desai, I looked into the code and xml files. the supplied service code is seems fine for me just a small check . as in wsdl [input] [input] Question: did you have the methods with the exact name ? also please check your org.sws.examples.services.market.impl.MarketResource class because as far as i understood the wsrf-query could not find the appropriate name . you should also enable the debug flag to view the cause and detail info. regards Zeeshan Ami Desai wrote: > > > Note: forwarded message attached. > > ------------------------------------------------------------------------ > Now you can chat without downloading messenger. Click here > > to know how. > ------------------------------------------------------------------------ > > Subject: > Re: [gt-user] Error: org.globus.wsrf.security.SecurityException: > [SEC]Operation name could not be determined > From: > Ami Desai > Date: > Thu, 3 Jan 2008 05:26:23 +0000 (GMT) > To: > Zeeshan Ali Shah > > To: > Zeeshan Ali Shah > > > Respected Sir, > I am sending marketservice wsdl file and marketservice java file in > attachment. I also sending jndi-config file and namspace to package > file in attachment. > > This error occured when I execute command -line client that is wsrf-query. > > > Thanking you very much. > > With Regards, > Amee Desai > > > > > > > */Zeeshan Ali Shah /* wrote: > > Hi Desai, > It seems that you are not implemented the exact method on the GT > service side as it is in the WSDL . Please check the exact name. > If you can provide code snippet from wsdl-port type and java > service , that would be very easy to figure out the problem : > Send also Jndi config file and if any NStoPackage file if you used > > BTW: you get this error on client side right ? > > Zeeshan > > Ami Desai wrote: >> Respected Sir, >> >> When I try to run below mentioned query >> [EMAIL PROTECTED] bookchapter]$ wsrf-query -s >> http://10.100.84.17:8080/wsrf/services/sws/examples/MarketService >> "//*[local-name()='Entry'][./ >> */*/*[local-name()='SellerMarket']/text()='Bhopal' and '2000']" >> I will get following error: >> Error: org.globus.wsrf.security.SecurityException: [SEC]Operation >> name could not be determined >> Please solve this problem. >> >> Thanking you very much. >> >> With Regards, >> Amee Desai >> ------------------------------------------------------------------------ >> Save all your chat conversations. Find them online. >> > > > > ------------------------------------------------------------------------ > Bollywood, fun, friendship, sports and more. You name it, we have it. > --------------------------------- Why delete messages? Unlimited storage is just a click away.
