Hi Friends,

I am able to POST message from normal stand alone application using HttpClient.
But when I integrate sample code with my project; it is failing to send POST 
request. It is not creating "PostMethod" object.

code is here -->
String url = "http://localhost:8080/solr/update";;

HttpClient client = new HttpClient();
PostMethod post = new PostMethod(url);

It is not creating object of PostMethod class, it is NOT throwing any error 
message also, but when I debug with Eclipse 3.2.2, it is loosing it's control, 
and on axis 1 client side it is thowing exception 

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.reflect.InvocationTargetException
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}hostname:Rajgad

java.lang.reflect.InvocationTargetException



With best regards

From
Vikas R. Khengare

Reply via email to