|
From: Andrea V. <and...@gm...> - 2012-03-25 21:35:56
|
i get this: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns=" http://futureware.biz/mantisconnect"> <SOAP-ENV:Body> <ns1:mc_filter_getResponse xmlns:ns1=" http://futureware.biz/mantisconnect"> <return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:FilterData[0]"/> </ns1:mc_filter_getResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> what am i expecting to see? On Sun, Mar 25, 2012 at 11:17 PM, Robert Munteanu <rob...@gm... > wrote: > Thanks. > > Can you try invoking 'mc_filter_get' from SOAP UI and see if that works? > > On Mon, Mar 26, 2012 at 12:11 AM, Andrea Veronesi > <and...@gm...> wrote: > > this is the access log when i connect wit SOAP UI: > > 95.238.246.153 - - [25/Mar/2012:23:02:44 +0200] "GET > > /mantis/api/soap/mantisconnect.php?wsdl HTTP/1.1" 200 84738 "-" > > "Jakarta Commons-HttpClient/3.1" > > 95.238.246.153 - - [25/Mar/2012:23:03:09 +0200] "POST > > /mantis/api/soap/mantisconnect.php HTTP/1.1" 200 891 "-" "Jakarta > > Commons-HttpClient/3.1" > > > > then i try to verify the connection in the plugin: > > 95.238.246.153 - - [25/Mar/2012:23:05:36 +0200] "POST > > /mantis/api/soap/mantisconnect.php HTTP/1.1" 200 922 "-" "Mylyn/3.7.0 > > Mylyn-Mantis Connector/3.8.0 Apache Axis/1.4 Eclipse/3.7.2 > > (org.eclipse.sdk.ide) HttpClient/3.1 Java/1.6.0_29 (Apple) Mac OS > > X/10.7.3 (x86_64; en_US)" > > 95.238.246.153 - - [25/Mar/2012:23:05:36 +0200] "POST > > /mantis/api/soap/mantisconnect.php HTTP/1.1" 200 1772 "-" "Mylyn/3.7.0 > > Mylyn-Mantis Connector/3.8.0 Apache Axis/1.4 Eclipse/3.7.2 > > (org.eclipse.sdk.ide) HttpClient/3.1 Java/1.6.0_29 (Apple) Mac OS > > X/10.7.3 (x86_64; en_US)" > > > > > > and these are the logs of the plugin when i try to add a task or make a > query: > > access.log: > > 95.238.246.153 - - [25/Mar/2012:23:07:28 +0200] "POST > > /mantis/api/soap/mantisconnect.php HTTP/1.1" 403 1213 "-" "Mylyn/3.7.0 > > Mylyn-Mantis Connector/3.8.0 Apache Axis/1.4 Eclipse/3.7.2 > > (org.eclipse.sdk.ide) HttpClient/3.1 Java/1.6.0_29 (Apple) Mac OS > > X/10.7.3 (x86_64; en_US)" > > error.log: > > [Sun Mar 25 23:07:28 2012] [error] [client 95.238.246.153] client > > denied by server configuration: > > /var/www/vhosts/****/httpdocs/mantis/api/soap/mantisconnect.php > > > > in eclipse: > > > > Failed updating the repository attributes. > > java.lang.reflect.InvocationTargetException > > > > java.lang.reflect.InvocationTargetException > > > > at com.itsolut.mantis.ui.util.MantisUIUtil$1.run(MantisUIUtil.java:51) > > > > at > org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) > > > > Caused by: com.itsolut.mantis.core.exception.MantisRemoteException: > > (403)Forbidden > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient.wrap(MantisAxis1SoapClient.java:224) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient.callOnce(MantisAxis1SoapClient.java:187) > > > > at > org.eclipse.mylyn.internal.provisional.commons.soap.AbstractSoapClient.call(AbstractSoapClient.java:56) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient.call(MantisAxis1SoapClient.java:165) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient.getProjectFilters(MantisAxis1SoapClient.java:432) > > > > at > com.itsolut.mantis.core.soap.MantisSoapClient.refresh0(MantisSoapClient.java:391) > > > > at > com.itsolut.mantis.core.soap.MantisSoapClient.refresh(MantisSoapClient.java:316) > > > > at > com.itsolut.mantis.core.soap.MantisSoapClient.updateAttributes(MantisSoapClient.java:207) > > > > at com.itsolut.mantis.ui.util.MantisUIUtil$1.run(MantisUIUtil.java:49) > > > > ... 1 more > > > > Caused by: (403)Forbidden > > > > at > org.eclipse.mylyn.internal.provisional.commons.soap.AxisHttpFault.makeFault(AxisHttpFault.java:34) > > > > at > org.eclipse.mylyn.internal.provisional.commons.soap.CommonsHttpSender.invoke(CommonsHttpSender.java:223) > > > > at > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) > > > > at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) > > > > at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) > > > > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) > > > > at org.apache.axis.client.Call.invokeEngine(Call.java:2784) > > > > at org.apache.axis.client.Call.invoke(Call.java:2767) > > > > at org.apache.axis.client.Call.invoke(Call.java:2443) > > > > at org.apache.axis.client.Call.invoke(Call.java:2366) > > > > at org.apache.axis.client.Call.invoke(Call.java:1812) > > > > at > biz.futureware.mantis.rpc.soap.client.MantisConnectBindingStub.mc_filter_get(MantisConnectBindingStub.java:3110) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient$14.call(MantisAxis1SoapClient.java:436) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient$14.call(MantisAxis1SoapClient.java:1) > > > > at > org.eclipse.mylyn.internal.provisional.commons.soap.AbstractSoapClient$1.call(AbstractSoapClient.java:107) > > > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > > > > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > > > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > > > > at java.lang.Thread.run(Thread.java:680) > > > > Root exception: > > > > com.itsolut.mantis.core.exception.MantisRemoteException: (403)Forbidden > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient.wrap(MantisAxis1SoapClient.java:224) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient.callOnce(MantisAxis1SoapClient.java:187) > > > > at > org.eclipse.mylyn.internal.provisional.commons.soap.AbstractSoapClient.call(AbstractSoapClient.java:56) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient.call(MantisAxis1SoapClient.java:165) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient.getProjectFilters(MantisAxis1SoapClient.java:432) > > > > at > com.itsolut.mantis.core.soap.MantisSoapClient.refresh0(MantisSoapClient.java:391) > > > > at > com.itsolut.mantis.core.soap.MantisSoapClient.refresh(MantisSoapClient.java:316) > > > > at > com.itsolut.mantis.core.soap.MantisSoapClient.updateAttributes(MantisSoapClient.java:207) > > > > at com.itsolut.mantis.ui.util.MantisUIUtil$1.run(MantisUIUtil.java:49) > > > > at > org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) > > > > Caused by: (403)Forbidden > > > > at > org.eclipse.mylyn.internal.provisional.commons.soap.AxisHttpFault.makeFault(AxisHttpFault.java:34) > > > > at > org.eclipse.mylyn.internal.provisional.commons.soap.CommonsHttpSender.invoke(CommonsHttpSender.java:223) > > > > at > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) > > > > at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) > > > > at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) > > > > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) > > > > at org.apache.axis.client.Call.invokeEngine(Call.java:2784) > > > > at org.apache.axis.client.Call.invoke(Call.java:2767) > > > > at org.apache.axis.client.Call.invoke(Call.java:2443) > > > > at org.apache.axis.client.Call.invoke(Call.java:2366) > > > > at org.apache.axis.client.Call.invoke(Call.java:1812) > > > > at > biz.futureware.mantis.rpc.soap.client.MantisConnectBindingStub.mc_filter_get(MantisConnectBindingStub.java:3110) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient$14.call(MantisAxis1SoapClient.java:436) > > > > at > com.itsolut.mantis.core.soap.MantisAxis1SoapClient$14.call(MantisAxis1SoapClient.java:1) > > > > at > org.eclipse.mylyn.internal.provisional.commons.soap.AbstractSoapClient$1.call(AbstractSoapClient.java:107) > > > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > > > > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > > > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > > > > at java.lang.Thread.run(Thread.java:680) > > > > > > On Sun, Mar 25, 2012 at 10:58 PM, Robert Munteanu > > <rob...@gm...> wrote: > >> > >> I'm not sure why SOAP UI works but the plugin does not. Do you have > >> any errors in the error log which might indicate which method fails? > >> > >> On Sun, Mar 25, 2012 at 11:45 PM, Andrea Veronesi > >> <and...@gm...> wrote: > >> > it's on an hosting plan, i don't know what rules are applied.. > >> > do you think i can try to solve this problem by making an htaccess? > >> > > >> > > >> > > >> > > >> > On Sun, Mar 25, 2012 at 10:40 PM, Robert Munteanu > >> > <rob...@gm...> wrote: > >> >> > >> >> On Sun, Mar 25, 2012 at 11:37 PM, Andrea Veronesi > >> >> <and...@gm...> wrote: > >> >> > yes, i forgot to post it and there is a line that refer to the > problem: > >> >> > client denied by server configuration: > >> >> > /var/www/vhosts/****/httpdocs/mantis/api/soap/mantisconnect.php > >> >> > >> >> This looks like a Apache configuration issue. What 'deny' rules do > you > >> >> have active? > >> >> > >> >> Robert > >> >> > >> >> > > >> >> > but how can i solve this problem? > >> >> > > >> >> > > >> >> > > >> >> > On Sun, Mar 25, 2012 at 10:31 PM, Robert Munteanu > >> >> > <rob...@gm...> wrote: > >> >> >> > >> >> >> On Sun, Mar 25, 2012 at 11:29 PM, Andrea Veronesi > >> >> >> <and...@gm...> wrote: > >> >> >> > I got a 403 when i try to load the projects in the eclips mylyn > >> >> >> > plugin? > >> >> >> > i > >> >> >> > tried to use soapUI with the same credential and i receive all > the > >> >> >> > listed > >> >> >> > projects.. > >> >> >> > >> >> >> Hi Andrea, > >> >> >> > >> >> >> Do you have the server-side ( IIS,Apache) logs? > >> >> >> > >> >> >> Robert > >> >> >> > >> >> >> > eclips says: Unable to load projects : Failed getting projects : > >> >> >> > (403)Forbidden . > >> >> >> > with this details: Failed updating the repository attributes. > >> >> >> > java.lang.reflect.InvocationTargetException > >> >> >> > i don't understand if this error is a kind of htaccess problem > or a > >> >> >> > failed > >> >> >> > attempt to login > >> >> >> > > >> >> >> > this is an installation on a remote host with a full working > mantis > >> >> >> > web > >> >> >> > interface, i've tried to install mantis in localhost and > connect from > >> >> >> > eclipse and it works perfectly, i've also tried to connect to > the > >> >> >> > mantis > >> >> >> > bugReport http://www.mantisbt.org/bugs and it works too > >> >> >> > > >> >> >> > the strange thing is that when i configure the repository and i > >> >> >> > validate > >> >> >> > the > >> >> >> > setting it says: success! but i still can't list the projects.. > >> >> >> > > >> >> >> > > >> >> >> > > ------------------------------------------------------------------------------ > >> >> >> > This SF email is sponsosred by: > >> >> >> > Try Windows Azure free for 90 days Click Here > >> >> >> > http://p.sf.net/sfu/sfd2d-msazure > >> >> >> > _______________________________________________ > >> >> >> > Mantisbt-soap-dev mailing list > >> >> >> > Man...@li... > >> >> >> > https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Sent from my (old) computer > >> >> > > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Sent from my (old) computer > >> > > >> > > >> > >> > >> > >> -- > >> Sent from my (old) computer > > > > -- > Sent from my (old) computer > |