curl -v [EMAIL PROTECTED] http://your_host:1235/web_service

so you can have the xml request document in a file and send it to the
given url and if all works correctly you will ge the right answer.



cnicolai wrote:
> ok... i get...
> 
> but..can you give a simple sample to simulate a calling to a webservice
> using curl?
> 
> 
> 
> tterm wrote:
>> Oh sorry. curl is a tool to transfer data from or to a server. You can
>> send a http request to a given url. You could do the same with a
>> Commons-HttpClient or whatever. You would see then if the consumer
>> endpoint works correctly.
>>
>> Cheers
>>
>> cnicolai wrote:
>>> sorry..but i don`t know what is curl client....can you give some example?
>>>
>>>
>>> tterm wrote:
>>>> Would you get a response from the consumer endpoint if you use a curl
>>>> client and send a request directly to the consumer endpoint?
>>>>
>>>>
>>>>
>>>> cnicolai wrote:
>>>>> yes...
>>>>>
>>>>> my first idea about this configuration is that the consumer should be
>>>>> configured with 0.0.0.0 and the provider should use localhost...but
>>>>> even
>>>>> with this scenario i still got the same error....
>>>>>
>>>>> and this error doesn`t happened when i was using the stable build of
>>>>> servicemix (not in jboss) with the same configuration.....
>>>>>
>>>>>
>>>>>
>>>>> tterm wrote:
>>>>>> you shouln't have localhost for the consumer endpoint that's what I
>>>>>> guess.
>>>>>>
>>>>>> cnicolai wrote:
>>>>>>> Yes, i tried using localhost for both.....consumer and provider
>>>>>>> to...and
>>>>>>> i
>>>>>>> got the same error....
>>>>>>>
>>>>>>> maybe can be a problem with jetty??
>>>>>>>
>>>>>>> the last important message that i see on the log is this:
>>>>>>>
>>>>>>> 2006-12-18 19:48:44,609 DEBUG
>>>>>>> [org.apache.servicemix.http.processors.ConsumerProcessor] Receiving
>>>>>>> HTTP
>>>>>>> request: POST /Recepcao/ HTTP/1.1
>>>>>>> Content-Type: text/xml
>>>>>>> Content-Length: 5325
>>>>>>> SOAPAction: ""
>>>>>>> User-Agent: Jakarta Commons-HttpClient/3.0.1
>>>>>>> Host: 0.0.0.0:8192
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> gnodet wrote:
>>>>>>>> I think the 0.0.0.0 address should only be used for consumers.
>>>>>>>> It seems you are also using it for providers, but I'm not sure
>>>>>>>> what the behavior is in such a case.  Could you try with localhost
>>>>>>>> for the http provider endpoint instead ?
>>>>>>>>
>>>>>>>> On 12/19/06, cnicolai <[EMAIL PROTECTED]> wrote:
>>>>>>>>> I`m using servicemix (trunk version) with jboss(4.0.5) and
>>>>>>>>> servicemix
>>>>>>>>> deployer and when i try to send a exchange using an http:endpoint
>>>>>>>>> provider
>>>>>>>>> and consumer pointing to a jsr181:endpoint (a spring pojo) in some
>>>>>>>>> exchanges
>>>>>>>>> a get this error:
>>>>>>>>>
>>>>>>>>> I/O exception
>>>>>>>>> (org.apache.commons.httpclient.NoHttpResponseException)
>>>>>>>>> caught
>>>>>>>>> when processing request: The server 0.0.0.0 failed to respond
>>>>>>>>>
>>>>>>>>> To use the trunk version, i needed to change the commons-httpclient
>>>>>>>>> version
>>>>>>>>> to 3.0.1... i don`t know if this can be problem....
>>>>>>>>>
>>>>>>>>> Someone had this or a similar problem??
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>> http://www.nabble.com/NoHttpResponseException-while-sending-exchange-over-a-webservice-tf2845443s12049.html#a7945726
>>>>>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Cheers,
>>>>>>>> Guillaume Nodet
>>>>>>>>
>>>>>>>>
>>>>
>>
>>
> 

Reply via email to