Exception when Publishing API in API Manager 2.1.0

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception when Publishing API in API Manager 2.1.0

Piriya Sivalingam
Hi,

I am working on a task where I have followed the below steps:

  • There is a SOAP backend which is hosted on Application Server and secured UT over Transport.
  • I have created a proxy service in ESB 5.0.0 having the SOAP backend as the endpoint of the proxy.
  • Then I followed this [1] blog to create an API in API Manager 2.1.0 having the created ESB as the endpoint of the API.
  • According to the blog when I create the API, I couldn't publish this API. I could notice some exception in the Publisher UI.
I am attaching a screenshot of the Publisher when it gives the exception.
Could you please suggest me the reason for this exception and whether I have done something wrong here and how can I solve this issue?


Highly appreciate your suggestion on this.

Thanks.
--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : +94 77 8462039

http://wso2.com/signature

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Screenshot1.png (306K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Exception when Publishing API in API Manager 2.1.0

Mushthaq Rumy
Hi Piriya,

Was there any error logged in the console. If so could you please attach the error log?

Thanks & Regards,
Mushthaq

On Fri, Nov 10, 2017 at 5:27 PM, Piriya Sivalingam <[hidden email]> wrote:
Hi,

I am working on a task where I have followed the below steps:

  • There is a SOAP backend which is hosted on Application Server and secured UT over Transport.
  • I have created a proxy service in ESB 5.0.0 having the SOAP backend as the endpoint of the proxy.
  • Then I followed this [1] blog to create an API in API Manager 2.1.0 having the created ESB as the endpoint of the API.
  • According to the blog when I create the API, I couldn't publish this API. I could notice some exception in the Publisher UI.
I am attaching a screenshot of the Publisher when it gives the exception.
Could you please suggest me the reason for this exception and whether I have done something wrong here and how can I solve this issue?


Highly appreciate your suggestion on this.

Thanks.
--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : <a href="tel:+94%2077%20846%202039" value="+94778462039" target="_blank">+94 77 8462039

http://wso2.com/signature

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Mushthaq Rumy
Software Engineer
Mobile : <a href="tel:%2B94%20%280%29%20773%20451194" value="+94773451194" target="_blank">+94 (0) 779 492140
Email : [hidden email]
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Exception when Publishing API in API Manager 2.1.0

Piriya Sivalingam
Thank you Mushthaq for your prompt response.

But I couldn't find any errors logged in the console. I am attaching the wso2carbon.log file. 

On Fri, Nov 10, 2017 at 7:23 PM, Mushthaq Rumy <[hidden email]> wrote:
Hi Piriya,

Was there any error logged in the console. If so could you please attach the error log?

Thanks & Regards,
Mushthaq

On Fri, Nov 10, 2017 at 5:27 PM, Piriya Sivalingam <[hidden email]> wrote:
Hi,

I am working on a task where I have followed the below steps:

  • There is a SOAP backend which is hosted on Application Server and secured UT over Transport.
  • I have created a proxy service in ESB 5.0.0 having the SOAP backend as the endpoint of the proxy.
  • Then I followed this [1] blog to create an API in API Manager 2.1.0 having the created ESB as the endpoint of the API.
  • According to the blog when I create the API, I couldn't publish this API. I could notice some exception in the Publisher UI.
I am attaching a screenshot of the Publisher when it gives the exception.
Could you please suggest me the reason for this exception and whether I have done something wrong here and how can I solve this issue?


Highly appreciate your suggestion on this.

Thanks.
--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : <a href="tel:+94%2077%20846%202039" value="+94778462039" target="_blank">+94 77 8462039

http://wso2.com/signature

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Mushthaq Rumy
Software Engineer
Mobile : <a href="tel:%2B94%20%280%29%20773%20451194" value="+94773451194" target="_blank">+94 (0) 779 492140
Email : [hidden email]
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.




--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : +94 77 8462039

http://wso2.com/signature


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev

wso2carbon.log (413K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Exception when Publishing API in API Manager 2.1.0

Rukshan Premathunga
Hi Priya,

In the screenshot you have attached, it says to select a GW environment to be publish. Can you expand the gateway environment section and select a option first.

Thanks and Regards

On Sat, Nov 11, 2017 at 11:47 AM, Piriya Sivalingam <[hidden email]> wrote:
Thank you Mushthaq for your prompt response.

But I couldn't find any errors logged in the console. I am attaching the wso2carbon.log file. 

On Fri, Nov 10, 2017 at 7:23 PM, Mushthaq Rumy <[hidden email]> wrote:
Hi Piriya,

Was there any error logged in the console. If so could you please attach the error log?

Thanks & Regards,
Mushthaq

On Fri, Nov 10, 2017 at 5:27 PM, Piriya Sivalingam <[hidden email]> wrote:
Hi,

I am working on a task where I have followed the below steps:

  • There is a SOAP backend which is hosted on Application Server and secured UT over Transport.
  • I have created a proxy service in ESB 5.0.0 having the SOAP backend as the endpoint of the proxy.
  • Then I followed this [1] blog to create an API in API Manager 2.1.0 having the created ESB as the endpoint of the API.
  • According to the blog when I create the API, I couldn't publish this API. I could notice some exception in the Publisher UI.
I am attaching a screenshot of the Publisher when it gives the exception.
Could you please suggest me the reason for this exception and whether I have done something wrong here and how can I solve this issue?


Highly appreciate your suggestion on this.

Thanks.
--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : <a href="tel:+94%2077%20846%202039" value="+94778462039" target="_blank">+94 77 8462039

http://wso2.com/signature

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Mushthaq Rumy
Software Engineer
Mobile : <a href="tel:%2B94%20%280%29%20773%20451194" value="+94773451194" target="_blank">+94 (0) 779 492140
Email : [hidden email]
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.




--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : <a href="tel:+94%2077%20846%202039" value="+94778462039" target="_blank">+94 77 8462039

http://wso2.com/signature


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
+94711822074

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Exception when Publishing API in API Manager 2.1.0

Piriya Sivalingam
Hi,

Since I have some mediation to be done inside the sequences, I think it is better to create the API in ESB than in API Manager. And now I managed to create the API in ESB 5.0.0 and it works fine. 
However, I will try it and let you know.

Thanks,
Piriya

On Sat, Nov 11, 2017 at 7:48 PM, Rukshan Premathunga <[hidden email]> wrote:
Hi Priya,

In the screenshot you have attached, it says to select a GW environment to be publish. Can you expand the gateway environment section and select a option first.

Thanks and Regards

On Sat, Nov 11, 2017 at 11:47 AM, Piriya Sivalingam <[hidden email]> wrote:
Thank you Mushthaq for your prompt response.

But I couldn't find any errors logged in the console. I am attaching the wso2carbon.log file. 

On Fri, Nov 10, 2017 at 7:23 PM, Mushthaq Rumy <[hidden email]> wrote:
Hi Piriya,

Was there any error logged in the console. If so could you please attach the error log?

Thanks & Regards,
Mushthaq

On Fri, Nov 10, 2017 at 5:27 PM, Piriya Sivalingam <[hidden email]> wrote:
Hi,

I am working on a task where I have followed the below steps:

  • There is a SOAP backend which is hosted on Application Server and secured UT over Transport.
  • I have created a proxy service in ESB 5.0.0 having the SOAP backend as the endpoint of the proxy.
  • Then I followed this [1] blog to create an API in API Manager 2.1.0 having the created ESB as the endpoint of the API.
  • According to the blog when I create the API, I couldn't publish this API. I could notice some exception in the Publisher UI.
I am attaching a screenshot of the Publisher when it gives the exception.
Could you please suggest me the reason for this exception and whether I have done something wrong here and how can I solve this issue?


Highly appreciate your suggestion on this.

Thanks.
--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : <a href="tel:+94%2077%20846%202039" value="+94778462039" target="_blank">+94 77 8462039

http://wso2.com/signature

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Mushthaq Rumy
Software Engineer
Mobile : <a href="tel:%2B94%20%280%29%20773%20451194" value="+94773451194" target="_blank">+94 (0) 779 492140
Email : [hidden email]
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.




--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : <a href="tel:+94%2077%20846%202039" value="+94778462039" target="_blank">+94 77 8462039

http://wso2.com/signature


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
<a href="tel:+94%2071%20182%202074" value="+94711822074" target="_blank">+94711822074



--
Regards,
Piriya Sivalingam
Software Engineer - Support Team
WSO2
Mobile : +94 77 8462039

http://wso2.com/signature


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev