CDSObjectManagementServiceLocator s = new CDSObjectManagementServiceLocator();

URL servicePort = new URL("http", "10.106.124.239", 7047, 
"/dev-app/services/objectManagement");

CDSObjectManagement c = s.getobjectManagement(servicePort);

c.findByKey("ss", "sdfsdf", new String [] {"ddddd"});

 


________________________________

From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 07, 2007 11:12 PM
To: [email protected]
Subject: Re: Extracting operation name from a request


post your client code

M-
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.

        ----- Original Message ----- 
        From: Sherman Uri <mailto:[EMAIL PROTECTED]>  
        To: [email protected] 
        Sent: Sunday, January 07, 2007 11:08 AM
        Subject: RE: Extracting operation name from a request

        U mean from the client side?
        I'm not using a Call object, I'm using the stub generated by axis. 
Anyway, if I were to use a call, I would be the one setting the operation name, 
so the get
        method would just be returning what I set. I don't really see what this 
has to do with my problem, or did I miss undestand u?
        Uri.
         
        
        
________________________________

        From: Martin Gainty [mailto:[EMAIL PROTECTED] 
        Sent: Sunday, January 07, 2007 5:40 PM
        To: [email protected]
        Subject: Re: Extracting operation name from a request
        
        
        Hi Sherman
         
        what happens when you request the LocalPart of the QName from your 
client call object e.g.
         
        String operationName = call.getOperationName().getLocalPart();
         
        Anyone else?
        M-
        
--------------------------------------------------------------------------- 
        This e-mail message (including attachments, if any) is intended for the 
use of the individual or entity to which it is addressed and may contain 
information that is privileged, proprietary , confidential and exempt from 
disclosure. If you are not the intended recipient, you are notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited.
        
--------------------------------------------------------------------------- 
        Le présent message électronique (y compris les pièces qui y sont 
annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir 
des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.

                ----- Original Message ----- 
                From: Sherman Uri <mailto:[EMAIL PROTECTED]>  
                To: [email protected] 
                Sent: Sunday, January 07, 2007 6:33 AM
                Subject: Extracting operation name from a request


                Hi,

                I wrote a handler (axis 1.4) that needs to obtain the operation 
name from every incomming request. For some of my services, the 
msgCtx.getOperation() method returns null. 

                After a little investigation debugging axis cocde I found out 
that for operations that are "overloaded", that is, 

                more than one operation with the same name (but different 
arguments), the OperationDesc is set only at a later stage, after my handler is 
invoked, after the style is determind and arguments are investigated. 

                When the operation name itself in a request has just one match 
in the service interface, the OperationDesc is set right away, since the 
arguments don't need to be investigated.

                So that's just fine by me, question is how do I get my handler 
to be invoked only after the OperationDesc is set, or alternatively, how can I 
obtain just the operation name in the request, I don't care about the whole 
OperationDesc object, all I want is the name of the operation.

                Thanks,

                Uri.

Reply via email to