Sorry to send the question again. I forgot putting the example code in the
previous email. The code is as follows. It works fine. However, my code does
not.
public class AddressBookService {
private HashMap entries = new HashMap();
private MyAddress myaddr = new MyAddress();
/**
Dear Martin,
I appreciate so much for your help!
However, I am still confused about the problem. I tried one example as
follows. In this example, a String is sent as a parameter. And then a local
method, getAddr(String keyword), of an object, MyAddress, is invoked. I
noticed that it worked fine.
it seems that you changed your original input or output message to send array
of string to single string or vice versa
if you see the operation SelectCategoriedHubByKey make sure your input and
output messages reference the ArrayOfString typed element here is an example
http://www.test.org/sa
Dear Andreas,
Thanks so much for your reply!
Could you please tell me how to solve the problem?
Thanks,
LB
On Mon, Mar 14, 2011 at 3:41 AM, Andreas Veithen
wrote:
> No, "Ljava/lang/String;" is the type descriptor used by the JVM to
> represent java.lang.String. The type descriptor for String[]
Jose,
I changed the parameter from String to String[]. However it got the same
exception. The only different thing is that Ljava/lang/String to
[Ljava/lang/String. I really don't understand what's going on! Could you
tell me how to solve it?
Thanks,
LB
On Mon, Mar 14, 2011 at 3:51 AM, Bing Li w
Jose
I appreciate so much for your help!
You mean I should change the parameter of the local method from String to
String[]? I will take a try.
Thanks,
LB
On Mon, Mar 14, 2011 at 3:31 AM, JOSE L MARTINEZ-AVIAL wrote:
> I think it is trying to invoke a method with a String[] attribute, not
> si
No, "Ljava/lang/String;" is the type descriptor used by the JVM to
represent java.lang.String. The type descriptor for String[] would be
"[Ljava/lang/String;".
Andreas
On Sun, Mar 13, 2011 at 20:31, JOSE L MARTINEZ-AVIAL wrote:
> I think it is trying to invoke a method with a String[] attribute,
I think it is trying to invoke a method with a String[] attribute, not
simply a String.
2011/3/13 Bing Li
> Dear all,
>
> I am a new Axis2 user. Today I got a weird exception when calling a Web
> service.
>
> This Web service is deployed on Tomcat/Axis2. I need to transmit an object
> (parameter
Dear all,
I am a new Axis2 user. Today I got a weird exception when calling a Web
service.
This Web service is deployed on Tomcat/Axis2. I need to transmit an object
(parameter) to it. The object contains a String attribute. The object is
received correctly. However, when calling a local method o