Re: [Dev] How to create a websocket implementation of an end point

2017-08-03 Thread Sagar Kapadia
Hi Arshardh,
Thanks for your reply
Sagar



On Thu, Aug 3, 2017 at 2:28 PM, Arshardh Ifthikar <
arshardhifthi...@gmail.com> wrote:

> Hi Sagar,
> Currently (WSO2 API manager 2.1) it isn't possible to add a websocket
> endpoint to a REST api. This is because currently synapse support
> websockets through inbound endpoints. A websocket endpoint can only be
> added to a Websocket API.
>
> Thank You.
>
> On Thu, Aug 3, 2017 at 12:57 PM, Sagar Kapadia  wrote:
>
>> Hi Abimaran,
>> I got that , thanks. My specific need is a front end REST API with a back
>> end [implementation endpoint] being a web socket.
>> i see options for REST and SOAP and Dynamic Endpoints, but none for a
>> websocket endpoint. Is this possible?
>> If I want to set the production or sandbox url to
>> ws://localhost:1880/api, I cant figure out a way to do this. I entered the
>> url for the websocket in the text field, but then in the store, the api
>> console tab is missing.
>> Sagar
>>
>>
>> On Wed, Aug 2, 2017 at 6:27 PM, Abimaran Kugathasan 
>> wrote:
>>
>>> Hi Sagar,
>>>
>>> WebSocket APIs are introduced in 2.1, it's in 'Design' tab as below.
>>>
>>>
>>>
>>> ​
>>>
>>> On Wed, Aug 2, 2017 at 4:20 PM, Sagar Kapadia 
>>> wrote:
>>>
 Hi,
 I cant see a way to create a web socket endpoint implementation .Please
 let me know how to do this
 Sagar

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>> Senior Software Engineer - API Technologies
>>>
>>> Email : abima...@wso2.com
>>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>>
>>> 
>>> 
>>>   
>>> 
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to create a websocket implementation of an end point

2017-08-03 Thread Arshardh Ifthikar
Hi Sagar,
Currently (WSO2 API manager 2.1) it isn't possible to add a websocket
endpoint to a REST api. This is because currently synapse support
websockets through inbound endpoints. A websocket endpoint can only be
added to a Websocket API.

Thank You.

On Thu, Aug 3, 2017 at 12:57 PM, Sagar Kapadia  wrote:

> Hi Abimaran,
> I got that , thanks. My specific need is a front end REST API with a back
> end [implementation endpoint] being a web socket.
> i see options for REST and SOAP and Dynamic Endpoints, but none for a
> websocket endpoint. Is this possible?
> If I want to set the production or sandbox url to ws://localhost:1880/api,
> I cant figure out a way to do this. I entered the url for the websocket in
> the text field, but then in the store, the api console tab is missing.
> Sagar
>
>
> On Wed, Aug 2, 2017 at 6:27 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi Sagar,
>>
>> WebSocket APIs are introduced in 2.1, it's in 'Design' tab as below.
>>
>>
>>
>> ​
>>
>> On Wed, Aug 2, 2017 at 4:20 PM, Sagar Kapadia  wrote:
>>
>>> Hi,
>>> I cant see a way to create a web socket endpoint implementation .Please
>>> let me know how to do this
>>> Sagar
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>
>> 
>> 
>>   
>> 
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to create a websocket implementation of an end point

2017-08-03 Thread Sagar Kapadia
Hi Abimaran,
I got that , thanks. My specific need is a front end REST API with a back
end [implementation endpoint] being a web socket.
i see options for REST and SOAP and Dynamic Endpoints, but none for a
websocket endpoint. Is this possible?
If I want to set the production or sandbox url to ws://localhost:1880/api,
I cant figure out a way to do this. I entered the url for the websocket in
the text field, but then in the store, the api console tab is missing.
Sagar


On Wed, Aug 2, 2017 at 6:27 PM, Abimaran Kugathasan 
wrote:

> Hi Sagar,
>
> WebSocket APIs are introduced in 2.1, it's in 'Design' tab as below.
>
>
>
> ​
>
> On Wed, Aug 2, 2017 at 4:20 PM, Sagar Kapadia  wrote:
>
>> Hi,
>> I cant see a way to create a web socket endpoint implementation .Please
>> let me know how to do this
>> Sagar
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to create a websocket implementation of an end point

2017-08-02 Thread Ashvin Savani
Abimaran,

Can we have separate named endpoint to the socket? i.e. say
api.myProduct.com for REST endpoint and ws.myProduct.com for Socket? Both
of them are served by a same host / WSO2 API server.


Regards,

Ashvin Savani | *CEO*
*Avinashi Group of Companies* | *Excellence Everywhere!*

*Direct:* +91 9825056565
*Web:* avinashi.com | meracrm.com | smsbrain.in | scrubly.com

On Wed, Aug 2, 2017 at 6:27 PM, Abimaran Kugathasan 
wrote:

> Hi Sagar,
>
> WebSocket APIs are introduced in 2.1, it's in 'Design' tab as below.
>
>
>
> ​
>
> On Wed, Aug 2, 2017 at 4:20 PM, Sagar Kapadia  wrote:
>
>> Hi,
>> I cant see a way to create a web socket endpoint implementation .Please
>> let me know how to do this
>> Sagar
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to create a websocket implementation of an end point

2017-08-02 Thread Sagar Kapadia
Thanks a lot abimaran


On Wed, Aug 2, 2017 at 6:27 PM, Abimaran Kugathasan 
wrote:

> Hi Sagar,
>
> WebSocket APIs are introduced in 2.1, it's in 'Design' tab as below.
>
>
>
> ​
>
> On Wed, Aug 2, 2017 at 4:20 PM, Sagar Kapadia  wrote:
>
>> Hi,
>> I cant see a way to create a web socket endpoint implementation .Please
>> let me know how to do this
>> Sagar
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to create a websocket implementation of an end point

2017-08-02 Thread Abimaran Kugathasan
Hi Sagar,

WebSocket APIs are introduced in 2.1, it's in 'Design' tab as below.



​

On Wed, Aug 2, 2017 at 4:20 PM, Sagar Kapadia  wrote:

> Hi,
> I cant see a way to create a web socket endpoint implementation .Please
> let me know how to do this
> Sagar
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820


  
  
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev