RE: [axis2][0.95]problem with client

2006-04-12 Thread OUYANG Yang
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:00To: axis-user@ws.apache.orgSubject: 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.TedOUYANG 
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!


Re: [axis2][0.95]problem with client

2006-04-12 Thread Ali Sadik Kumlali
Hi Ouyang,

You can find ClientUtil.java under samples/userguide/clients folder of
0.95 distribution (axis2-std-0.95-bin.zip).

Regards,

Ali Sadik Kumlali

--- OUYANG Yang <[EMAIL PROTECTED]> wrote:

> 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
>   
> 
> 
> 
> 
>   
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


RE: [axis2][0.95]problem with client

2006-04-12 Thread donnerdrummel2000-mailing
Title: [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.TedOUYANG 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!

[axis2][0.95]problem with client

2006-04-12 Thread OUYANG Yang
Title: [axis2][0.95]problem with client






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