Re: [Axis 1.4] java.lang.reflect.InvocationTargetException

2006-07-21 Thread CEC
hi xucai, plz check the classpath, the error is Caused by: java.lang.NoClassDefFoundError at com.sswitch.oam.pcsp.impl.BTSPcspAdapter.get(BTSPcspAdapter.java:54) -sukie - Original Message - From: xu cai To: axis-user@ws.apache.org ; axis-dev@ws.apache.org Sent: Friday, July 21,

Re: please recommend a good wsdl validation tool

2006-07-21 Thread CEC
 hi xucai, http://wiki.apache.org/ws/FrontPage/Axis/IDEIntegration may be helpful. BTW; i donot use it - sukie - Original Message - From: xu cai To: axis-user@ws.apache.org Sent: Friday, July 21, 2006 3:33 PM Subject: please recommend a good wsdl

Re: [Axis 1.4] how to setup log4j.properties at Axis client side

2006-07-21 Thread CEC
hi xucai, try 1. create log4j.properties: 2. copy to webapps/$your-application/WEB_INF/classes 3. restart Tomcat maybe it works ... - sukie - Original Message - From: xu cai To: axis-user@ws.apache.org Sent: Friday, July 21, 2006 3:23 PM Subject: [Axis 1.4] how to setup

Re: [Axis 1.4] how to setup log4j.properties at Axis client side

2006-07-21 Thread CEC
PM Subject: Re: [Axis 1.4] how to setup log4j.properties at Axis client side sorry, you may not understand me. I want to see the client side log. currently the soap request can't be generated well, I need to know what happens on client side. On 7/21/06, 蘇 軼(CEC

Why I could not get MessageContext in error routine method processAxisFault()?

2006-07-20 Thread CEC
hi all, Using Axis1.4 I extended the AxisServlet class and overwrote the processAxisFault(AxisFault fault) method to do some error handlering things, like logging the service name and method name, but when I use MessageContext.getCurrentContext() in that method to get the message context, it is

Why could not find deserializer ???? I already registed !!!

2006-06-30 Thread CEC
hi all, I want to use Javabean as parameter, so I used java2wsdl and wsdl2java to create a service like blow: public TestJavaBean testBean(String p1, TestJavaBean bean, TestJavaBean[] beans); it works fine when I use the stub class to call it, but when I use Call object to make a call, it

Could .Net client access a service which has a DataHandler parameter ?

2006-06-27 Thread CEC
hi all, I tried create a service that its method has a DataHandler parameter, like below: public void save(DataHandler dh) throws AxisFault ; It works fine with java client (using Axis1.4), but I wonder it can not work when use .Net (or sap or anyother client) to access it. Since I know

Could I handler the exception in an common error handling class ?

2006-06-23 Thread CEC
hi all, I want to handle the exceptions throwed by the services in one common class, and tried to extend the AxisServlet class overwriting doGet() and doPost() method, and catch error with code like below : try { super.doGet(request, response); } catch (Exception e) { //

Re: Could I get the client IP address in service or Handler class ?

2006-06-22 Thread CEC
hi XingShan and Davanum, Thank you very much for your help ! Now I can get the client IP, thanks again ! Regards, - sukie - Original Message - From: 蘇 軼(CEC) [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, June 22, 2006 11:24 AM Subject: Could I get the client IP address

Could I get the client IP address in service or Handler class ?

2006-06-21 Thread CEC
hi all, Could I get the client IP address in service class? or Handler's invoke() method ? Any help or web resources would be greatly appreciated ! Regards, - sukie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [Axis2]How to process SOAP header in service class? or handler class?

2006-06-21 Thread CEC
Sukie; Sorry for late reply; From the operationContext you can get the corresponding AxisOperation and name of the axis operation will be the method name that the client is trying to invoke. 蘇 軼(CEC) wrote: hi deepal, Thank you very much for your help and sorry for late reply. I have

Is there any reason I must invoke Call.addParameter() method?

2006-06-13 Thread CEC
hi all, I'm using Axis1.4 and found that Call.invoke() always succeeds whatever I invoke Call.addParameter() method or not, also the Call.setReturnType() method. Is there any reason I must use the both methods ? Any help or web resources would be greatly appreciated ! - sukie

Re: Is there any reason I must invoke Call.addParameter() method?

2006-06-13 Thread CEC
. Cheers, Simon. On 6/13/06, 蘇 軼(CEC) [EMAIL PROTECTED] wrote: hi all, I'm using Axis1.4 and found that Call.invoke() always succeeds whatever I invoke Call.addParameter() method or not, also the Call.setReturnType() method. Is there any reason I must use the both methods

How to get the service URL and method in handler?

2006-06-08 Thread CEC
hi all, I want to use handler to log which service the client is accessing, for example the service URL, name and method, but in the handler invoke() method, there is only the MessageContext that can be used. (I tried most the mc.getXXX() method but no one is helpful to get information above.)

Re: How to get the service URL and method in handler?

2006-06-08 Thread CEC
into the transport/dispatch phase. Michele 蘇 軼(CEC) wrote: hi all, I want to use handler to log which service the client is accessing, for example the service URL, name and method, but in the handler invoke() method, there is only the MessageContext that can be used. (I tried most

Could I make a one-way call in Axis1.4?

2006-06-08 Thread CEC
hi all, Sorry for so many questions. I saw there is a ONE_WAY property in the Call object but it is protected, the javadoc is Internal property to indicate a one way call. That will disable processing of response handlers.. It just disable the handlers. Is that meaning I cann't make a one-way

Could I use the stub class generated by wsdl2java to access a .Net service?

2006-06-07 Thread CEC
hi all, I am a java PGer and not clearly know the .Net platform, Could anybody tell me if the stub class can be used to access a web service built on .Net platform? I think it is rmi-like, so the Skeleton and Stub class must be used together. Any help or web resources would be greatly

Re: Could I use the stub class generated by wsdl2java to access a .Net service?

2006-06-07 Thread CEC
encoding - which only works with WCF on both sides. Regards, Bob -Original Message- From: 蘇 軼(CEC) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 3:58 AM To: axis-user@ws.apache.org Subject: Could I use the stub class generated by wsdl2java to access a .Net service? hi all

Re: -- Why there is No DataHandler definition in wsdl?

2006-06-06 Thread CEC
hi Stepan, Thank you VERY much for your help ! The problem was solved by changing the namespace 'tns1' to 'apachesoap'. I think it is a bug of this sample, because the 'tns1' is written in the deploy.wsdd file. BTW: the namespace 'apachesoap' references to 'http://xml.apache.org/xml-soap', by

[Axis1.4] ??!! Why there is no type definition in wsdl generated by the Attachments sample??

2006-05-30 Thread CEC
hi all, I want to parse the wsdl of the 'attachments' sample by accessing the URL: http://localhost:8080/axis/services/urn:EchoAttachmentsService?wsdl but in the wsdl, there is no type definition of "tns1:DataHandler", so when I use org.apache.axis.wsdl.gen.Parser.run(wsdlURL) to parse it,

Re: [Axis2]How to process SOAP header in service class? or handler class?

2006-05-28 Thread CEC
hi deepal, Thank you very much for your help and sorry for late reply. I have understood the usage of the setOperationContext() method, but I means how to know which method (echo() or add()) the client is invoking in setOperationContext() method? For example, process the WSSE header when

Re: [Axis 1.4] Unexpected return type of Attachment when add wsse header to SOAPEnvelope, bug?

2006-05-28 Thread CEC
More information: The attachment is the WsseClientHandler class, it just adds a wsse header to the SOAPEnvelope object. Anyone can help? or I should add a jira? - sukie - Original Message - From: 蘇 軼(CEC) To: axis-user@ws.apache.org Sent: Friday, May 26, 2006 11

[Axis 1.4] Unexpected return type of Attachment when add wsse header to SOAPEnvelope, bug?

2006-05-25 Thread CEC
hi all, I have got a problem when I tried to run the attachment sample of Axis1.4. All works fine when I don't change anything, but when I tried to use WsseClientHandler, just adding below : call.setProperty(WsseClientHandler.PASSWORD_OPTION, WsseClientHandler.PASSWORD_CLEARTEXT);

[Axis2]How to process SOAP header in service class? or handler class?

2006-05-23 Thread CEC
hi, all: I want toget the value of SOAP header in handler class (maybe service class?), how can I do that? Anyhelp or web resources are great appreciated ! Thanks again. - sukie

Re: [Axis2]How to process SOAP header in service class? or handler class?

2006-05-23 Thread CEC
hi Eran, Thanks for your help! But In a service class, for example the sample MyService class, the parameter is an OMElement object(I think it is the body element of SOAP message, isn't it?), how can I get the header? I'm a newbie and THANKS again ! - sukie - Original Message -

[Axis2] Does axis2 support RPC-style Interactions and How?

2006-05-23 Thread CEC
Hi all, I think it is a little matter when create a OMElementwith message-style, Does axis2 support RPC-style interactions like axis1.x? and How? Anyhelp or web resources are greatly appreciated ! - sukie.y