You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Fabrice <fa...@gmail.com> on 2006/10/03 11:57:54 UTC

can't manage to proxy a web service

Hi, 

I'm trying to proxy a web service with this simple configuration :

<beans xmlns:http="http://servicemix.apache.org/http/1.0"
	xmlns:pe="http://sample.org">

	<http:endpoint service="pe:PersonService" endpoint="myTarget"
		role="provider" 
locationURI="http://localhost:8080/Workshop-WS-JSE-RPC/service/pm"
		wsdlResource="http://localhost:8080/Workshop-WS-JSE-RPC/service/pm?wsdl"
soap="true" soapVersion="1.1"/>

	<http:endpoint service="pe:PersonServiceProxy" endpoint="proxy"
		role="consumer" locationURI="http://0.0.0.0:8192/person/"
targetService="pe:PersonService" targetEndpoint="myTarget"
		defaultMep="http://www.w3.org/2004/08/wsdl/in-out" soap="true" soapVersion="1.1"/>

</beans>

I'm using SoapUI as a test client.
Message is correctly : 
- handled by my proxy,
- routed to NMR,
- handled by my target endpoint, 
- routed to 'remote' web service and answer is posted back to NMR. 

And then... nothing ! 

Message exchange doesn't come back to my proxy and thus to SoapUI which hangs
until the Continuation times out...

Is there something I'm doing wrong ?

Fabrice


Re: can't manage to proxy a web service

Posted by Fabrice Dewasmes <fa...@gmail.com>.
I'm using 3.0M2.

I'm going to give a try to 3.0 incubating.

Thanks

Fabrice

gnodet wrote:
> 
> Do you use the 3.0 release ?
> A bug has been fixed post M2, so maybe you hit it.
> 
> On 10/3/06, Fabrice <fa...@gmail.com> wrote:
>> Hi,
>>
>> I'm trying to proxy a web service with this simple configuration :
>>
>> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>>         xmlns:pe="http://sample.org">
>>
>>         <http:endpoint service="pe:PersonService" endpoint="myTarget"
>>                 role="provider"
>> locationURI="http://localhost:8080/Workshop-WS-JSE-RPC/service/pm"
>>                
>> wsdlResource="http://localhost:8080/Workshop-WS-JSE-RPC/service/pm?wsdl"
>> soap="true" soapVersion="1.1"/>
>>
>>         <http:endpoint service="pe:PersonServiceProxy" endpoint="proxy"
>>                 role="consumer" locationURI="http://0.0.0.0:8192/person/"
>> targetService="pe:PersonService" targetEndpoint="myTarget"
>>                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>> soap="true" soapVersion="1.1"/>
>>
>> </beans>
>>
>> I'm using SoapUI as a test client.
>> Message is correctly :
>> - handled by my proxy,
>> - routed to NMR,
>> - handled by my target endpoint,
>> - routed to 'remote' web service and answer is posted back to NMR.
>>
>> And then... nothing !
>>
>> Message exchange doesn't come back to my proxy and thus to SoapUI which
>> hangs
>> until the Continuation times out...
>>
>> Is there something I'm doing wrong ?
>>
>> Fabrice
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 

-- 
View this message in context: http://www.nabble.com/can%27t-manage-to-proxy-a-web-service-tf2375209.html#a6621345
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: can't manage to proxy a web service

Posted by Guillaume Nodet <gn...@gmail.com>.
Do you use the 3.0 release ?
A bug has been fixed post M2, so maybe you hit it.

On 10/3/06, Fabrice <fa...@gmail.com> wrote:
> Hi,
>
> I'm trying to proxy a web service with this simple configuration :
>
> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>         xmlns:pe="http://sample.org">
>
>         <http:endpoint service="pe:PersonService" endpoint="myTarget"
>                 role="provider"
> locationURI="http://localhost:8080/Workshop-WS-JSE-RPC/service/pm"
>                 wsdlResource="http://localhost:8080/Workshop-WS-JSE-RPC/service/pm?wsdl"
> soap="true" soapVersion="1.1"/>
>
>         <http:endpoint service="pe:PersonServiceProxy" endpoint="proxy"
>                 role="consumer" locationURI="http://0.0.0.0:8192/person/"
> targetService="pe:PersonService" targetEndpoint="myTarget"
>                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out" soap="true" soapVersion="1.1"/>
>
> </beans>
>
> I'm using SoapUI as a test client.
> Message is correctly :
> - handled by my proxy,
> - routed to NMR,
> - handled by my target endpoint,
> - routed to 'remote' web service and answer is posted back to NMR.
>
> And then... nothing !
>
> Message exchange doesn't come back to my proxy and thus to SoapUI which hangs
> until the Continuation times out...
>
> Is there something I'm doing wrong ?
>
> Fabrice
>
>


-- 
Cheers,
Guillaume Nodet