Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to Update Composer , not works the functions development #93

Open
cristianchaparroa opened this issue Sep 21, 2014 · 1 comment
Open

Comments

@cristianchaparroa
Copy link

Hello, I'm using this module around the six months then the first time that I installed the bundle on I used this setup: http://besim.pl/SoapBundle/installation_composer.html

"require": {
"besimple/soap-bundle": "dev-master",
"besimple/soap-common": "dev-master",
"besimple/soap-server": "dev-master"
"ass/xmlsecurity": "dev-master"
}

Now, I need to do some update and I get the following error

error-composer

Well then I find in the web the currently setup to install the bundle http://besim.pl/SoapBundle/installation.html

"require": {
"besimple/soap": "0.1.*@dev,
"ass/xmlsecurity": "dev-master"
}

The second way above works to install, but any service that I did with bundle, not works,
for example I try with this web service login action (https://github.com/wass91/controlid/blob/master/src/controlid/Bundle/SeguridadBundle/Controller/OperatorSecurityController.php) I get the following mistake

Uri contains invalid characters or is empty

Zend\Soap\Exception\InvalidArgumentException: Uri contains invalid characters or is empty at n/a

   in /var/www/html/controlid/vendor/zendframework/zend-soap/Zend/Soap/Wsdl.php line 251
at Zend\Soap\Wsdl->sanitizeUri(null)
    in /var/www/html/controlid/vendor/zendframework/zend-soap/Zend/Soap/Wsdl.php line 798

at Zend\Soap\Wsdl->sanitizeAttributeValueByName('location', null)
    in /var/www/html/controlid/vendor/zendframework/zend-soap/Zend/Soap/Wsdl.php line 834

at Zend\Soap\Wsdl->setAttributeWithSanitization(object(DOMElement), 'location', null)
    in /var/www/html/controlid/vendor/zendframework/zend-soap/Zend/Soap/Wsdl.php line 508

at Zend\Soap\Wsdl->addService('loginOperadorService', 'loginOperadorPort', 'tns:loginOperadorBinding', null)
    in /var/www/html/controlid/vendor/besimple/soap/src/BeSimple/SoapBundle/ServiceDefinition/Dumper/WsdlDumper.php line 50

at BeSimple\SoapBundle\ServiceDefinition\Dumper\WsdlDumper->dumpServiceDefinition(object(ServiceDefinition), null)
    in /var/www/html/controlid/vendor/besimple/soap/src/BeSimple/SoapBundle/WebServiceContext.php line 98

at BeSimple\SoapBundle\WebServiceContext->getWsdlFile()
    in /var/www/html/controlid/vendor/besimple/soap/src/BeSimple/SoapBundle/WebServiceContext.php line 125

at BeSimple\SoapBundle\WebServiceContext->getServerBuilder()
    in /var/www/html/controlid/vendor/besimple/soap/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php line 66

at BeSimple\SoapBundle\Controller\SoapWebServiceController->callAction('loginOperador')
    in  line 

at call_user_func_array(array(object(SoapWebServiceController), 'CallAction'), array('loginOperador'))
    in /var/www/html/controlid/app/bootstrap.php.cache line 2974

at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
    in /var/www/html/controlid/app/bootstrap.php.cache line 2936

at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
    in /var/www/html/controlid/app/bootstrap.php.cache line 3085

at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
    in /var/www/html/controlid/app/bootstrap.php.cache line 2335

at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
    in /var/www/html/controlid/web/app_dev.php line 31`

If you wanna test the web service with soap client on firefox you can use the following url:
http://controlid.co/controlid/web/app_dev.php/ws/loginOperador?wsdl

Well, I don't know what am I doing wrong?

you can say me how to fix it please?,
thanks.

@jmarquezt
Copy link

Hi,

I solved it by changing composer.json to:

"require":{
"besimple/soap-wsdl": "0.3.@dev",
"besimple/soap-bundle": "0.3.
@dev",
"besimple/soap-common": "0.3.@dev",
"ass/xmlsecurity": "dev-master",
"besimple/soap-server": "0.3.
@dev",
"besimple/soap-client": "0.3.*@dev"
}

It works that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants