You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Senaka Fernando <se...@wso2.com> on 2008/03/07 11:53:12 UTC

Default WSDL path on Axis2/C

Hi all,

At present, we have the ability to specify the location of a static wsdl
file that can be attached to a service. However, there is no such
implementation where we could simply lookup for a default file and serve
it if the static wsdl path is not specified.

This requires just little bit of effort in storing the folder path of the
service during deployment, and searching for a wsdl, "service_name.wsdl".
Where "service_name" is the name of the service.

Axis2/Java has a similar mechanism in locating the static wsdl file for
the service.

Thoughts?

Regards,
Senaka

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Default WSDL path on Axis2/C

Posted by Senaka Fernando <se...@wso2.com>.
> Senaka Fernando wrote:
>>> Senaka Fernando wrote:
>>>
>>>> Hi all,
>>>>
>>>> At present, we have the ability to specify the location of a static
>>>> wsdl
>>>> file that can be attached to a service. However, there is no such
>>>> implementation where we could simply lookup for a default file and
>>>> serve
>>>> it if the static wsdl path is not specified.
>>>>
>>>> This requires just little bit of effort in storing the folder path of
>>>> the
>>>> service during deployment, and searching for a wsdl,
>>>> "service_name.wsdl".
>>>> Where "service_name" is the name of the service.
>>>>
>>>>
>>> What happens if the WSDL is not there?
>>>
>>
>> Nothing at all, you will basically not see anything. This is what
>> happens
>> when you don't set the wsdl_path as of now.
>>
>
> Ok sounds good. I am +1 for the idea.
>
> So the default wsdl_path will be service_name.wsdl. If one sets it in
> service.xml then that will override the default value.

Exactly.

Regards,
Senaka

>
> Thanks,
> Samisa...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Default WSDL path on Axis2/C

Posted by Samisa Abeysinghe <sa...@wso2.com>.
Senaka Fernando wrote:
>> Senaka Fernando wrote:
>>     
>>> Hi all,
>>>
>>> At present, we have the ability to specify the location of a static wsdl
>>> file that can be attached to a service. However, there is no such
>>> implementation where we could simply lookup for a default file and serve
>>> it if the static wsdl path is not specified.
>>>
>>> This requires just little bit of effort in storing the folder path of
>>> the
>>> service during deployment, and searching for a wsdl,
>>> "service_name.wsdl".
>>> Where "service_name" is the name of the service.
>>>
>>>       
>> What happens if the WSDL is not there?
>>     
>
> Nothing at all, you will basically not see anything. This is what happens
> when you don't set the wsdl_path as of now.
>   

Ok sounds good. I am +1 for the idea.

So the default wsdl_path will be service_name.wsdl. If one sets it in 
service.xml then that will override the default value.

Thanks,
Samisa...


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Default WSDL path on Axis2/C

Posted by Senaka Fernando <se...@wso2.com>.
> Senaka Fernando wrote:
>> Hi all,
>>
>> At present, we have the ability to specify the location of a static wsdl
>> file that can be attached to a service. However, there is no such
>> implementation where we could simply lookup for a default file and serve
>> it if the static wsdl path is not specified.
>>
>> This requires just little bit of effort in storing the folder path of
>> the
>> service during deployment, and searching for a wsdl,
>> "service_name.wsdl".
>> Where "service_name" is the name of the service.
>>
>
> What happens if the WSDL is not there?

Nothing at all, you will basically not see anything. This is what happens
when you don't set the wsdl_path as of now.

Regards,
Senaka

>
> Samisa...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Default WSDL path on Axis2/C

Posted by Samisa Abeysinghe <sa...@wso2.com>.
Senaka Fernando wrote:
> Hi all,
>
> At present, we have the ability to specify the location of a static wsdl
> file that can be attached to a service. However, there is no such
> implementation where we could simply lookup for a default file and serve
> it if the static wsdl path is not specified.
>
> This requires just little bit of effort in storing the folder path of the
> service during deployment, and searching for a wsdl, "service_name.wsdl".
> Where "service_name" is the name of the service.
>   

What happens if the WSDL is not there?

Samisa...

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org