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">
<isdrovider type="java" scope="Application"
methods="Test2 Test Test3 Test4 Test5">
<isd:java class="Mypackage.Myclass" static="false"/>
</isdrovider>
</isd:service>
on the server side everyhing compiles and deploys correctly.
Could anybody help ?
Thanx
Michal
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">
<isdrovider type="java" scope="Application"
methods="Test2 Test Test3 Test4 Test5">
<isd:java class="Mypackage.Myclass" static="false"/>
</isdrovider>
</isd:service>
on the server side everyhing compiles and deploys correctly.
Could anybody help ?
Thanx
Michal