> > When I deploy the assembly, all seems to be in order.
> > Yet when the process is activated by placing a file in
> > the poll location, an exception is thrown on the http
> > component:
> >     java.lang.Exception: Invalid status response: 302
>
> ServiceMix usually sends a redirect when the url used in
> an HTTP request does not end with a '/'.


Thank you, Guillaume. The 302 has gone, and it now manages
to transport the test file as intended.

cheers,
Rob


Snippet from: FileUnit-SU/.../xbean.xml

    <file:poller service="test:readFrom"
        endpoint="filebinding1"
        targetService="test:httpFrom"
        file="file:target/Simple/From/test.xml"
        autoCreateDirectory ="false"
        deleteFile="true"
        period="500" />
                
    <file:sender service="test:writeHttpReply"
        endpoint="filebinding2"
        directory="file:target/Simple/From/reply/" />           
                
    <file:sender service="test:writeTo"
        endpoint="filebinding3"
        directory="file:target/Simple/To/" />   


Snippet from: HttpUnit-SU/.../xbean.xml

    <http:endpoint service="test:httpFrom"
        endpoint="httpbinding1"
        role="provider"
        locationURI="http://localhost:9920/MockGeo/MockWriteJob/";
        soap="true"
        soapVersion="1.1"
        soapAction="http://www.egem.nl/StUF";
        wsdlResource="classpath:begeoqueue.wsdl" />
        
        
    <http:endpoint service="test:httpTo"
        endpoint="httpbinding2"
        targetService="test:writeTo"
        role="consumer" 
        locationURI="http://0.0.0.0:9920/MockGeo/MockWriteJob/";
        defaultMep="http://www.w3.org/2004/08/wsdl/in-only";
        soap="true"
        soapVersion="1.1"
        soapAction="http://www.egem.nl/StUF";
        wsdlResource="classpath:begeoqueue.wsdl" />

Reply via email to