|
From: Marcelo de B. L. <le...@pa...> - 2012-04-11 23:12:56
|
Hi Robert, i'm using the jar of pre-generated SOAP stubs from this link: http://search.maven.org/remotecontent?filepath=biz/futureware/mantis/mantis-axis-soap-client/1.2.9/mantis-axis-soap-client-1.2.9.jar And yes, my Axis version is 1.4, that i caught from this link: http://www.apache.org/dyn/closer.cgi/ws/axis/1_4 The "mc_issue_add" works fline, but "mc_project_get_users" no. Is accces level 90 correct? Should i use Axis 2? Thanks. Em 11/04/2012 05:41, Robert Munteanu escreveu: > On Wed, Apr 11, 2012 at 6:00 AM, Marcelo de Barros Leiras > <le...@pa...> wrote: >> Hi, >> >> i'm trying to retrieve the users from a project, but i got the atached error >> messages. >> I'm using java, and this is my test method: >> >> public static void main(String[] args) throws Exception { >> String user = "leiras"; >> String pwd = "leiras"; >> URL url = new >> URL("http://localhost/mantis/api/soap/mantisconnect.php"); >> >> Service service = new Service(); >> Call call = (Call) service.createCall(); >> >> call.setTargetEndpointAddress(url); >> Object ret = call.invoke("mc_project_get_users", new Object[] {user, >> pwd, 29, 90}); >> System.out.println(ret); >> } >> >> My mantis version is 1.2.9. >> Am i doing something wrong? >> Thanks. >> > Hi, > > It looks like you're using Axis 1. Have you tried using the > pre-generated SOAP stubs from [1] ? > > They should work out of the box. > > Robert > > [1]: http://search.maven.org/#search|gav|1|g%3A%22biz.futureware.mantis%22%20AND%20a%3A%22mantis-axis-soap-client%22 >> Leiras >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Mantisbt-soap-dev mailing list >> Man...@li... >> https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev >> > > -- ------------------------------------------------------------------------ *Marcelo de Barros Leiras* le...@pa... <mailto:em...@pa...> http://www.paripassu.com.br Rua Coronel Luis Caldeira, nº 67, Bloco 1, Sala 3A 88034-110 • Florianópolis • SC Tel. (48) 3207-5755 ------------------------------------------------------------------------ |