Re: Wsf-php-user Digest, Vol 29, Issue 1

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

Re: Wsf-php-user Digest, Vol 29, Issue 1

Thomas Kelder-2
Thanks for the examples, but these are rest only. I'm trying to make
my soap service support rest-style mappings as well. Something like
this: http://labs.wso2.org/wsf/php/solutions/samples/echo_service_with_rest.php

The main difference between my code and this example seems to be that
I use "MIXED" in the opParams option, because I use wsdl mode with doc
comments. I suspect something goes wrong with parsing the message into
the function argument as specified in the doc comments. Could you
point me to the code in the wso2-wsf-php library that is responsible
for this part, then I can try to isolate the problem.

Thanks,
Thomas

> Date: Wed, 7 Oct 2009 14:59:20 +0530
> From: Nandika Jayawardana <[hidden email]>
> Subject: Re: [wsf-php-user] rest mappings with multiple parameters on
>        soap    service
> To: [hidden email]
> Message-ID:
>        <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You can find rest samples here.
> http://labs.wso2.org/wsf/php/demo.php?name=RESTfulSchool&demo=RESTFulSchool/demo_client.php&src=RESTFulSchool
>
> <http://labs.wso2.org/wsf/php/demo.php?name=RESTfulSchool&demo=RESTFulSchool/demo_client.php&src=RESTFulSchool>
> Regards
> Nandika

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

Re: Wsf-php-user Digest, Vol 29, Issue 1

Nandika Jayawardana
Actually most of the logic processing happens through axis2/c. You can find the where rest settings are handled in wsf_worker.c
and wsf_util.c files. Check function calls wsf_util_generate_svc_name_from_uri_and_set_loc_str
and wsf_worker_find_op_and_params_with_location_and_method.


Regards
Nandika

On Fri, Oct 9, 2009 at 1:34 PM, Thomas Kelder <[hidden email]> wrote:
Thanks for the examples, but these are rest only. I'm trying to make
my soap service support rest-style mappings as well. Something like
this: http://labs.wso2.org/wsf/php/solutions/samples/echo_service_with_rest.php

The main difference between my code and this example seems to be that
I use "MIXED" in the opParams option, because I use wsdl mode with doc
comments. I suspect something goes wrong with parsing the message into
the function argument as specified in the doc comments. Could you
point me to the code in the wso2-wsf-php library that is responsible
for this part, then I can try to isolate the problem.

Thanks,
Thomas

> Date: Wed, 7 Oct 2009 14:59:20 +0530
> From: Nandika Jayawardana <[hidden email]>
> Subject: Re: [wsf-php-user] rest mappings with multiple parameters on
>        soap    service
> To: [hidden email]
> Message-ID:
>        <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You can find rest samples here.
> http://labs.wso2.org/wsf/php/demo.php?name=RESTfulSchool&demo=RESTFulSchool/demo_client.php&src=RESTFulSchool
>
> <http://labs.wso2.org/wsf/php/demo.php?name=RESTfulSchool&demo=RESTFulSchool/demo_client.php&src=RESTFulSchool>
> Regards
> Nandika

_______________________________________________
Wsf-php-user mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/wsf-php-user



--
Nandika Jayawardana
Technical Lead and Project Manager, WSO2 Inc
www.wso2.com "Open Source SOA Company"


_______________________________________________
Wsf-php-user mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/wsf-php-user
Loading...