« Return to Thread: HTTP Proxy
Hi
I tried to use mule as simple http proxy
but I have the several problems
1. request cookies did not send to server
2. server set cookies, but mule response contains only cookie
3. server returned content type text/xml, mule response - text/plain
I attached configuration and test case.
Could you please help me?
the main part of configuration
<http:connector name="httpConnector" enableCookies="true"/>
<http:endpoint name="clientEndpoint" address="http://localhost:4019" synchronous="true"/>
<http:endpoint name="serverEndpoint" address="http://localhost:4020" synchronous="true"/>
<model name="main">
<service name="HttpProxyService">
<inbound>
<inbound-endpoint ref="clientEndpoint"/>
</inbound>
<outbound>
<pass-through-router>
<outbound-endpoint ref="serverEndpoint">
</outbound-endpoint>
</pass-through-router>
</outbound>
</service>
</model>
--
Best regards,
Anatoli Kuzmin
« Return to Thread: HTTP Proxy
| Free embeddable forum powered by Nabble | Forum Help |