webservices and int mapping

V

vertigo

Hello
I have apache soap, as webservices serwer.
Everyhing works fine, except methods which have int type
as parameter or return value. When i try to run such
method either from .NET client (thru WSDL) or
java client (directly) i receive:

Mypackage.Myclass.Test5(int) -- no signature match.

Why ? What do i miss ?
Here is my webservice server code:

package Mypackage;

public class Myclass {

public String Test(String s)
{
return "Test successful";
}
public int Test2(String s)
{
return 0;
}
public String Test3(short i)
{
return "Test successful";
}
public void Test4()
{
return;
}
public String Test5(int i)
{
return "dsads";
}
public String Test6(long i)
{
return "dsads";
}

}
Only method String Test(String) is working.

and here is my descriptor:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="UrnMyclass">
<isd:provider type="java" scope="Application"
methods="Test2 Test Test3 Test4 Test5">
<isd:java class="Mypackage.Myclass" static="false"/>
</isd:provider>
</isd:service>

on the server side everyhing compiles and deploys correctly.

Could anybody help ?

Thanx
Michal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top