|
From: Robert M. <rob...@gm...> - 2012-08-28 19:23:25
|
Hello Kreindl K,
On Tue, Aug 28, 2012 at 4:09 PM, Kreindl K. <kle...@gm...> wrote:
> hello!
>
> i've been trying to access our Mantis-Server for several hours
> up to now :(, util i decided to post a message here :P
>
Try
MantisConnectLocator locator = new MantisConnectLocator();
MantisConnectPortType mantisConnector =
locator.getMantisConnectPort(new URL(url));
String mantisVersion = mantisConnector.mc_version();
Robert
> now to my problem:
> i try to acces Mantis using java (via mantis-axis-soap-client-1.2.9),
> but all i get are connection timeouts.
> i have also tried a solution which was posted here, but i must be
> missing something.
>
> my code:
> URL url =
> new URL("http://www.feat.at/mantisbt/api/soap/mantisconnect.php");
> MantisConnectLocator mcl = new MantisConnectLocator();
>
> mcl.setMantisConnectPortEndpointAddress(
> "https://www.myserver.com/mantisbt/api/soap/mantisconnect.php");
>
> MantisConnectPortType mcpt = mcl.getMantisConnectPort();
>
> System.out.println(mcpt.mc_version());
>
> i hope you can give me a hint or some help how i get this thing
> working
>
>
> kreindl k
>
> ps: excuse my bad english :)
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Mantisbt-soap-dev mailing list
> Man...@li...
> https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev
--
Sent from my (old) computer
|