login button

wsdl

Forums :

hello, I want to use Data Services with wso2 for Php, I've installed it on my computer and it run fine.

But I have to use WSDL with this program. How can I do ?

Also, I've test the command http://localhost/solutions/Dataservices/CustomersInBostonService.php?wsdl and I have a error ? Is it normally ?

 

Thanks

 

Best Regards

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

PHP Data Services doesn't support wsdl generation yet

Hi oodur,

Currently PHP data services doesn't support WSDL generation.

And we have plans to improve the PHP data services library to match with the  java implemenation in features wise, probably  just after the wsf/php 1.3 release. This will be one of the key issue we have to fix.

Thanks

Dimuthu

thanks you fo your

thanks you fo your response.

If php data services (with dsprocessor.php,....)does not support wsdl generation and  if I write manually the wsdl file,

can I force it on wsdl mode ? If it's possible , how can I do the modify dsprocessor.php to do new wsservice(....) ?

Thanks

Best regards

Not possible to use wsdl mode with data services

Hi,

You cannot write a data service starting from a WSDL, since unlike in wsdl mode you are not writing the buisness logic in the data service. So I think you can either

1. use wsdl mode and write the buisness logic to access the database manually.

or

2. provide web service 1 that uses wsdl mode. Inside the web service 1 logic you call another web service 2 which is a data service.

 

Thanks

Dimuthu

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.