202 Accepted Status from Proxy Service

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

202 Accepted Status from Proxy Service

Andrew Manson
Hello, 

I'm currently using ESB to proxy some axis2 services that are on different machines but I'm having problems with my set-up. Every time I make a request to the ESB proxy service I get a "202 Accepted" response back. 

I have been looking into this and it seems like it has something to do with sample 155: "Dual channel invocation on both client side and serverside of synapse with Proxy Services". 

I have not set-up any addressing on my proxy and have tried many different permutation of proxy configuration but it doesn't seem to be working. I just want to disable the 202 Accepted response and have the client wait for a 200 OK with the response body available. 

Can someone please let me know how to achieve this. 

Regards, 
- Andrew Manson 

_______________________________________________
Esb-java-user mailing list
[hidden email]
https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 202 Accepted Status from Proxy Service

Supun Kamburugamuva-2
Can you please attach your ESB configuration?

Thanks,
Supun..

On Fri, Mar 18, 2011 at 5:10 PM, Andrew Manson <[hidden email]> wrote:

> Hello,
> I'm currently using ESB to proxy some axis2 services that are on different
> machines but I'm having problems with my set-up. Every time I make a request
> to the ESB proxy service I get a "202 Accepted" response back.
> I have been looking into this and it seems like it has something to do with
> sample 155: "Dual channel invocation on both client side and serverside of
> synapse with Proxy Services".
> I have not set-up any addressing on my proxy and have tried many
> different permutation of proxy configuration but it doesn't seem to be
> working. I just want to disable the 202 Accepted response and have the
> client wait for a 200 OK with the response body available.
> Can someone please let me know how to achieve this.
> Regards,
> - Andrew Manson
> _______________________________________________
> Esb-java-user mailing list
> [hidden email]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>



--
Supun Kamburugamuva
Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: [hidden email];  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
_______________________________________________
Esb-java-user mailing list
[hidden email]
https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 202 Accepted Status from Proxy Service

Andrew Manson
Hi Supun, 

I have actually just figured it out but I'm still a bit confused as to *why* it worked out like this. 

The client server was using the URL: http://localhost:9763/services/jobqueue   to connect to the "jobqueue" service but I noticed at the ESB webinar (or somewhere else I can't quite remember) that the "default" port to use is 8280. So I altered my Soap Client to use the following URL: http://localhost:8280/services/jobqueue and it works! 

Can You ( or anyone) explain why this is the case?

Regards, 
- Andrew

On 29 March 2011 11:29, Supun Kamburugamuva <[hidden email]> wrote:
Can you please attach your ESB configuration?

Thanks,
Supun..

On Fri, Mar 18, 2011 at 5:10 PM, Andrew Manson <[hidden email]> wrote:
> Hello,
> I'm currently using ESB to proxy some axis2 services that are on different
> machines but I'm having problems with my set-up. Every time I make a request
> to the ESB proxy service I get a "202 Accepted" response back.
> I have been looking into this and it seems like it has something to do with
> sample 155: "Dual channel invocation on both client side and serverside of
> synapse with Proxy Services".
> I have not set-up any addressing on my proxy and have tried many
> different permutation of proxy configuration but it doesn't seem to be
> working. I just want to disable the 202 Accepted response and have the
> client wait for a 200 OK with the response body available.
> Can someone please let me know how to achieve this.
> Regards,
> - Andrew Manson
> _______________________________________________
> Esb-java-user mailing list
> [hidden email]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>



--
Supun Kamburugamuva
Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: [hidden email];  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com


_______________________________________________
Esb-java-user mailing list
[hidden email]
https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 202 Accepted Status from Proxy Service

Jorge Infante Osorio
Can you review the WSDL you use to generate the client code? If the port
element have the http://localhost:9763/services/jobqueue address this is the
root cause.
Maybe you use the WSDL generate by axis2 in the backend service not the WSDL
generated by ESB.

Jorge.

De: [hidden email] [mailto:[hidden email]]
En nombre de Andrew Manson
Enviado el: martes, 29 de marzo de 2011 6:52
Para: Supun Kamburugamuva
CC: [hidden email]
Asunto: Re: [esb-java-user] 202 Accepted Status from Proxy Service

Hi Supun, 

I have actually just figured it out but I'm still a bit confused as to *why*
it worked out like this. 

The client server was using the URL: http://localhost:9763/services/jobqueue
  to connect to the "jobqueue" service but I noticed at the ESB webinar (or
somewhere else I can't quite remember) that the "default" port to use is
8280. So I altered my Soap Client to use the following
URL: http://localhost:8280/services/jobqueue and it works! 

Can You ( or anyone) explain why this is the case?

Regards, 
- Andrew
On 29 March 2011 11:29, Supun Kamburugamuva <[hidden email]> wrote:
Can you please attach your ESB configuration?

Thanks,
Supun..

On Fri, Mar 18, 2011 at 5:10 PM, Andrew Manson <[hidden email]>
wrote:
> Hello,
> I'm currently using ESB to proxy some axis2 services that are on different
> machines but I'm having problems with my set-up. Every time I make a
request
> to the ESB proxy service I get a "202 Accepted" response back.
> I have been looking into this and it seems like it has something to do
with

> sample 155: "Dual channel invocation on both client side and serverside of
> synapse with Proxy Services".
> I have not set-up any addressing on my proxy and have tried many
> different permutation of proxy configuration but it doesn't seem to be
> working. I just want to disable the 202 Accepted response and have the
> client wait for a 200 OK with the response body available.
> Can someone please let me know how to achieve this.
> Regards,
> - Andrew Manson
> _______________________________________________
> Esb-java-user mailing list
> [hidden email]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>



--
Supun Kamburugamuva
Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: [hidden email];  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com


_______________________________________________
Esb-java-user mailing list
[hidden email]
https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
Loading...