On Thu, Oct 1, 2009 at 7:54 PM, <[email protected]> wrote:

>  Hi there,
>
>
>
> I have seen some information on the this new issue and it seems to be
> related to a bug. The httpcore jar solved my previous problem but now I am
> getting:
>

check the response message you get is valid according to the wsdl to which
you generated the code.
you may use tcpmon[1] to check the response.

thanks,
Amila.

[1] http://ws.apache.org/commons/tcpmon/download.cgi

>
>
> org.apache.axis2.AxisFault: *org.apache.axis2.databinding.ADBException*:
> Unexpected subelement Results
>
>       at org.apache.axis2.AxisFault.makeFault(*AxisFault.java:430*)
>
>
>
> --
>
> Kind Regards
>
> Schalk Neethling
>
>
>
> *From:* Amila Suriarachchi [mailto:[email protected]]
> *Sent:* 01 October 2009 04:02 PM
> *To:* [email protected]
> *Subject:* Re: java.lang.ClassNotFoundException:
> org.apache.http.HttpResponseFactory
>
>
>
>
>
> On Thu, Oct 1, 2009 at 7:06 PM, <[email protected]> wrote:
>
> Hi there everyone,
>
> After struggling through some strange errors in the generated stubs I have
> finally built my Axis2 project, however, when I try to make use of the Stub
> everything goes perfect until it seems to want to make a connection to the
> end point or reading the response. Here is the exception I get:
>
> java.lang.ClassNotFoundException: org.apache.http.HttpResponseFactory
>        at
>
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1387)
>        at
>
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1233)
>        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>        at
>
> org.apache.axis2.transport.http.SimpleHTTPServer.init(SimpleHTTPServer.java:
> 116)
>        at
> org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:74)
>        at
>
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.j
> ava:161)
>        at
> org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:139)
>        at
> za.co.afrigis.ws.stubs.SpatialSearchStub.<init>(SpatialSearchStub.java:100)
>
> Any ideas? All help much appreciated.
>
>
> Have you put your stub in your web app?
>
> you need to have httpcore-4.0.jar on the class path.
>
> thanks,
> Amila.
>
>
> --
> Kind Regards
> Schalk Neethling
>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to