Title: [axis2][0.95]problem with client

Hi, Ted
    Thank you so much. i 've found it:)
 
ouyang yang


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 2006年4月12日 22:00
To: [email protected]
Subject: RE: [axis2][0.95]problem with client

Hi,

just have a look at the directory with the samples (AXIS2_HOME/samples/userguide/src/userguide/clients. ClientUtil is a class implemented to create the OMElement to call the EchoService. Put the java-file into your project and the sample should work.

Ted

OUYANG Yang <[EMAIL PROTECTED]> schrieb:
Hello all:)
      I met a problem when tried to create a client for web service following the user guide.
      When create the EchoBlockingClient¡¤ the source code is as follows:
      try {
           
OMElement payload = ClientUtil.getEchoOMElement();
                       
            Options options = new Options();
            options.setTo(targetEPR);
            options.setListenerTransportProtocol(Constants.TRANSPORT_HTTP);
            options.setUseSeparateListener(false);

                         ¡Ä¡Ä
        }catch (AxisFault axisFault) {
        axisFault.printStackTrace();
        }
When I tried to compile this in IntelJ, there was a problem with the ClientUtil. The IntelJ said "cannot resolve symbol 'ClientUtil' ".
What is this ClientUtil?  Did I miss some jar file?
Thank you very much!
Regards
Ouyang yang
 


     


Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!

Reply via email to