My service is working well via Axis2 client.

It seems that the MS Web Services Toolkit 2.01 do not support complex type XML 
input.

The real world is:

My service operation's parameter is a AXIOM OMElement.

I called this service operation in VBA, and passed a XML String to it.
At the service operation side, I sysout the operation's parameter value.
It's supprised that the input paramerter is encapsulated by 
<param0...> ... </param0> and the XML '<' character is also changed to '&lt;'

Do you know how to deal this problem?
Anybody else?

Thanks!
Guo
  ----- Original Message ----- 
  From: Amila Suriarachchi 
  To: [email protected] 
  Sent: Tuesday, December 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 29, 2008 at 1:59 PM, Guo Tianchong <[email protected]> 
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 the proxy of my Service in EXCEL, it always alert

    run time error 2147221504(80040000)
    java.lang.NullPointerException

    Does anyone know how to resolve this problem?

    Thanks!

    Guo






  -- 
  Amila Suriarachchi
  WSO2 Inc.
  blog: http://amilachinthaka.blogspot.com/

Reply via email to