Re: Document/Literal - Handwritten wsdl? Method signature OMELement?

2009-02-25 Thread Guo Tianchong
edit wsdl manually, how do I do it? | | Thanks, | Asmita | ____ | From: Guo Tianchong [gu...@nec-as.nec.com.cn] | Sent: Tuesday, February 24, 2009 10:50 PM | To: axis-user@ws.apache.org | Subject: Re: Document/Literal - Handwritten wsdl? Method signature OMELeme

Re: Document/Literal - Handwritten wsdl? Method signature OMELement?

2009-02-24 Thread Guo Tianchong
hi Asmita, Your senario seems : 1. write java code 2. java2wsdl 3. publish your wsdl generated by step2. Is it right? I met the same confusion ago. I also created my service by axiom databinding ago. The generated wsdl in the URL (?wsdl) is xs:anytype and return type is also xs:anytype. It see

Re: AXIS2 |SOAP XML at Server Side

2009-02-19 Thread Guo Tianchong
hi Appasamy, Please use SOAPMonitor. ref: http://ws.apache.org/axis2/1_4_1/soapmonitor-module.html Guo - Original Message - From: Appasamy Thirugnana To: axis-user@ws.apache.org Sent: Thursday, February 19, 2009 5:48 PM Subject: AXIS2 |SOAP XML at Server Side I need to prin

Re: how to make classes for by wsdl2java

2009-02-18 Thread Guo Tianchong
47 PM Subject: Re: how to make classes for by wsdl2java Are you using axis1.x? with axis2.x this happens automatically. thanks, Amila. On Wed, Feb 18, 2009 at 3:38 PM, Guo Tianchong wrote: hi all, I am using wsdl2java command to create java class. Now, I can create classe

Re: how to make classes for by wsdl2java

2009-02-18 Thread Guo Tianchong
tractFactory.getOMFactory(); |OMElement omElement = omFactory.createOMElement( elementName, null ); |omElement.setText( "YOUR_VALUE" ); |this._YOUR_STUB._getServiceClient().addHeader( omElement ); | | | Yves-Marie | | | | | | -----Message d'origine

how to make classes for by wsdl2java

2009-02-18 Thread Guo Tianchong
hi all, I am using wsdl2java command to create java class. Now, I can create classes for my 's child elements. but, how to make classes for 's child elements? My resquest/response soap message is the following: > request message 1 01234567ABC ... ..

Re: Fw: WSDL2java : Duplicate global type error

2009-02-05 Thread Guo Tianchong
soap-encoding Thanks, Keith. On Fri, Feb 6, 2009 at 7:15 AM, Guo Tianchong wrote: Can someone give some insight on this Guo - Original Message - From: "Guo Tianchong" To: "axis-user" Sent: Tuesday, February 03, 2009 6:14

Fw: WSDL2java : Duplicate global type error

2009-02-05 Thread Guo Tianchong
Can someone give some insight on this Guo - Original Message - From: "Guo Tianchong" To: "axis-user" Sent: Tuesday, February 03, 2009 6:14 PM Subject: WSDL2java : Duplicate global type error | Hi, all | | When I run WSDL2java in xmlbeans databinding. it

Re: Error establishing end to end conectivity in axis and jboss

2009-02-05 Thread Guo Tianchong
o connect to M/C-3 at all. | Also the exception is seen on M/C-2 console. | | -Salman | | -Original Message----- | From: Guo Tianchong [mailto:gu...@nec-as.nec.com.cn] | Sent: Thursday, February 05, 2009 1:59 PM | To: axis-user@ws.apache.org | Subject: Re: Error establishing end to end conectivity

Re: Error establishing end to end conectivity in axis and jboss

2009-02-05 Thread Guo Tianchong
hi Salman, It seems that you didn't speify the action of M/C-3's WebService. | http://192.168.1.28:9000/axis2/services/ and the WSA | Action = null please check your code in M/C-1 calling the M/C-3's WebService Guo - Original Message - From: "Salman A. Kagzi" To: ; Sent: Thursd

Re: HTTP status

2009-02-04 Thread Guo Tianchong
hi, Sriram: I think I met the same problem as yours. My application asks the webservice to return the http 204 status. My solution is to put the following code snippet in my ServiceClass's method. HttpServletResponse resp = (HttpServletResponse)MessageContext.getCurrentMessageContext().getProp

WSDL2java : Duplicate global type error

2009-02-03 Thread Guo Tianchong
Hi, all When I run WSDL2java in xmlbeans databinding. it's always report the following exception. Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: project://local/soapenc.xsd:95:3: error: sch-props-correct.2: Duplicate global type: ar...@http://schemas.xmlsoap.org/soap

Re: How to Return XML data from a webservice and how is it consumed?

2009-01-22 Thread Guo Tianchong
Please try AXIOM as your operation's return type. Guo. - Original Message - From: Shravan Mahankali To: axis-user@ws.apache.org Sent: Thursday, January 22, 2009 8:46 PM Subject: How to Return XML data from a webservice and how is it consumed? Hi, Can anyone advise

Re: How to generate customer Java Class

2009-01-20 Thread Guo Tianchong
your service? Amila. On Wed, Jan 21, 2009 at 7:33 AM, Guo Tianchong wrote: hi, all I know the request/response SOAP message ex: ==>request SOAP body is: ABC ABC 0 B

How to generate customer Java Class

2009-01-20 Thread Guo Tianchong
hi, all I know the request/response SOAP message ex: ==>request SOAP body is: ABC ABC 0 BOOTSTRAP 0 1 BOOTSTRAP 1 ==>response SOAP body is 1

Re: Call AXIOM Web Service Using Microsoft Office 2003 Web Services Toolkit 2.01

2008-12-31 Thread Guo Tianchong
30, 2008 10:44 AM Subject: Re: Call AXIOM Web Service Using Microsoft Office 2003 Web Services Toolkit 2.01 First try to access the service with a Axis2 client. Anyway sending the full stack trace(see the server console) may be useful. thanks, Amila. On Mon, Dec 2

Re: Call AXIOM Web Service Using Microsoft Office 2003 Web Services Toolkit 2.01

2008-12-29 Thread Guo Tianchong
ace(see the server console) may be useful. thanks, Amila. On Mon, Dec 29, 2008 at 1:59 PM, Guo Tianchong wrote: Hi all, I create a very simple Web Service in AXIOM for my project. Now, I need to test it using Microsoft Office 2003 Web Services Toolkit 2.01. But when I

Call AXIOM Web Service Using Microsoft Office 2003 Web Services Toolkit 2.01

2008-12-29 Thread Guo Tianchong
Hi all, I create a very simple Web Service in AXIOM for my project. Now, I need to test it using Microsoft Office 2003 Web Services Toolkit 2.01. But when I call the proxy of my Service in EXCEL, it always alert run time error 2147221504(8004) java.lang.NullPointerException Does anyone kno

Re: Axis 1.3 - Problem with Handler

2008-12-15 Thread Guo Tianchong
ich we can catch Fault and process the fault message and send back normal response to client? JAX-RPC is having methods with return type true for handleRequest method, how to use JAXRPC handlers in axis? Any idea? Thanks in advance... -Hari On Tue, Dec 16, 2008 at 6:56 AM, Guo Tiancho

Re: Axis 1.3 - Problem with Handler

2008-12-15 Thread Guo Tianchong
Hi, you can do something in the Handler's invoke() method and encapsulate a new SOAP body in the MessageContext object. Using AXIOM, that looks like : public InvocationResponse invoke(MessageContext msgContext) throws AxisFault { SOAPFactory fac = OMAbstractFactory.getSOAP12Factory();

Re: [Axis2] How to resolve the "...Must Understand check.." exception for Response SOAP message

2008-12-07 Thread Guo Tianchong
()); ac.setInPhasesUptoAndIncludingPostDispatch(al); ... In the MustUnderstandHandler class, mustUnderstand headblock is set processed = true. Then the mustUnderstand exception didn't come out! Thanks. Guo - Original Message - From: "Guo Tianchong" <[EMAIL PROTECTED]>

[Axis2] How to resolve the "...Must Understand check.." exception for Response SOAP message

2008-12-03 Thread Guo Tianchong
Client API or other method? Could you have any ideas? Thank you ======== Guo Tianchong 1rd Development Department Network Software Research and Development Division NEC Advanced Software Technology Co., Ltd. 20F, SHINING TOWER, No.35, XueYua