Forums › Forums › OroCRM › OroCRM – Installation/Technical Issues or Problems › Parameters are not valid!
This topic contains 10 replies, has 5 voices, and was last updated by Kelvin Kyaw 7 years, 5 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- November 12, 2015 at 6:52 am #26769
Hi I am trying to setup integration with magento but i keep gettin an error Parameters are not valid! even though the url http://www.mydomain.com/index.php/api/v2_soap/index/?wsdl=1 the username and password are correct…. Even tried to get the url from both servers its fetching the xml data?
I tried appending the username and password to the url http://username:password@domain.com/index.php/api/v2_soap/index/?wsdl=1 still no luck… also disable wdsl cache in php….
Any idea what is happening?
Please advise
Thank you - CreatorTopic
- AuthorReplies
- November 12, 2015 at 10:46 am #26770
Could you please provide information from your app/logs/prod.log file and try to access API with some other client (SOAP UI or anything else)?
August 5, 2016 at 2:24 am #26771Hi Dima, I got the same problem.
This is the log in my /app/logs/dev.log
PHP12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364[2016-08-05 09:19:17] request.INFO: Matched route "orocrm_magento_soap_check". {"route_parameters":{"_controller":"OroCRM\\Bundle\\MagentoBundle\\Controller\\SoapController::checkAction","_route":"orocrm_magento_soap_check"},"request_uri":"http://demo.magestore.com/crm/canifa/web/app_dev.php/magento/check?type=magento"} [][2016-08-05 09:19:17] security.DEBUG: Read existing security token from the session. {"key":"_security_main"} [][2016-08-05 09:19:17] doctrine.DEBUG: SELECT t0.phone AS phone_1, t0.title AS title_2, t0.googleId AS googleId_3, t0.id AS id_4, t0.username AS username_5, t0.email AS email_6, t0.name_prefix AS name_prefix_7, t0.first_name AS first_name_8, t0.middle_name AS middle_name_9, t0.last_name AS last_name_10, t0.name_suffix AS name_suffix_11, t0.birthday AS birthday_12, t0.enabled AS enabled_13, t0.last_login AS last_login_14, t0.createdAt AS createdAt_15, t0.updatedAt AS updatedAt_16, t0.password AS password_17, t0.salt AS salt_18, t0.login_count AS login_count_19, t0.confirmation_token AS confirmation_token_20, t0.password_requested AS password_requested_21, t0.password_changed AS password_changed_22, t0.business_unit_owner_id AS business_unit_owner_id_23, t0.status_id AS status_id_24, t0.organization_id AS organization_id_25, t0.avatar_id AS avatar_id_26 FROM oro_user t0 WHERE t0.username = ? LIMIT 1 ["admin"] [][2016-08-05 09:19:17] security.DEBUG: User was reloaded from a user provider. {"username":"admin","provider":"Symfony\\Component\\Security\\Core\\User\\ChainUserProvider"} [][2016-08-05 09:19:17] doctrine.DEBUG: SELECT o0_.id AS id_0, o0_.name AS name_1, o0_.description AS description_2, o0_.created_at AS created_at_3, o0_.updated_at AS updated_at_4, o0_.enabled AS enabled_5 FROM oro_organization o0_ WHERE o0_.id = ? [1] [][2016-08-05 09:19:17] doctrine.DEBUG: SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.enabled AS enabled_6 FROM oro_organization t0 INNER JOIN oro_user_organization ON t0.id = oro_user_organization.organization_id WHERE oro_user_organization.user_id = ? [1] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\FormatListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\InstallerBundle\EventListener\RequestListener::onRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\LocaleBundle\EventListener\LocaleListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Knp\Bundle\MenuBundle\EventListener\VoterInitializerListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Nelmio\ApiDocBundle\EventListener\RequestListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "BeSimple\SoapBundle\EventListener\RequestFormatListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Lexik\Bundle\MaintenanceBundle\Listener\MaintenanceListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\UIBundle\EventListener\ContentProviderListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\SecurityBundle\Http\Firewall\ContextListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\DataAuditBundle\EventListener\KernelListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\SidebarBundle\EventListener\RequestHandler::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\NavigationBundle\Event\AddMasterRequestRouteListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\NavigationBundle\Twig\HashNavExtension::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LocaleListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\SoapBundle\EventListener\LocaleListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\LayoutBundle\EventListener\ThemeListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\NavigationBundle\Event\RequestTitleListener::onKernelRequest". [] [][2016-08-05 09:19:17] security.DEBUG: Invoked controller "OroCRM\Bundle\MagentoBundle\Controller\SoapController::checkAction". (MASTER_REQUEST) [] [][2016-08-05 09:19:17] security.DEBUG: Check an access using "oro_integration_update" ACL annotation. [] [][2016-08-05 09:19:17] security.DEBUG: ACL found, permission granted. Voting to grant access. [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "A2lix\TranslationFormBundle\EventListener\ControllerListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Oro\Bundle\EmailBundle\EventListener\MailboxAuthorizationListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Oro\Bundle\SecurityBundle\EventListener\ControllerListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Oro\Bundle\HelpBundle\EventListener\HelpLinkRequestListener::onKernelController". [] [][2016-08-05 09:19:17] doctrine.DEBUG: SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' [] [][2016-08-05 09:19:17] doctrine.DEBUG: SELECT o0_.id AS id_0, o0_.wsdl_url AS wsdl_url_1, o0_.api_user AS api_user_2, o0_.api_key AS api_key_3, o0_.sync_start_date AS sync_start_date_4, o0_.initial_sync_start_date AS initial_sync_start_date_5, o0_.sync_range AS sync_range_6, o0_.website_id AS website_id_7, o0_.websites AS websites_8, o0_.is_extension_installed AS is_extension_installed_9, o0_.extension_version AS extension_version_10, o0_.magento_version AS magento_version_11, o0_.is_wsi_mode AS is_wsi_mode_12, o0_.guest_customer_sync AS guest_customer_sync_13, o0_.admin_url AS admin_url_14, o0_.mage_newsl_subscr_synced_to_id AS mage_newsl_subscr_synced_to_id_15, o0_.type AS type_16 FROM oro_integration_transport o0_ WHERE (o0_.wsdl_url = ?) AND o0_.type IN ('magentosoaptransport') ["http://dev.appcommerce.biz [...]"] [][2016-08-05 09:19:58] app.CRITICAL: MageCheck error: 0: [message] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://dev.appcommerce.biz/index.php/api/v2_soap/index/?wsdl=1' : Start tag expected, '<' not found [request] <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Magento" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:login><username xsi:type="xsd:string">orocrm</username><apiKey xsi:type="xsd:string">orocrm</apiKey></ns1:login></SOAP-ENV:Body></SOAP-ENV:Envelope> [response] <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>WSDL</faultcode><faultstring>SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://dev.appcommerce.biz/index.php/api/v2_soap/index/?wsdl=1' : Start tag expected, '<' not found </faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope> [code] 500 [] [][2016-08-05 09:19:58] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bridge\Monolog\Handler\FirePHPHandler::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Oro\Bundle\NavigationBundle\Event\ResponseHistoryListener::onResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Oro\Bundle\NavigationBundle\Event\ResponseHashnavListener::onResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SaveSessionListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelFinishRequest". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\Security\Http\Firewall::onKernelFinishRequest". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.terminate" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelTerminate". [] []August 9, 2016 at 2:36 am #26772Hi @piavgh,
Probably you have some warnings or notices on your magento site which corrupted xml. Try to set
PHP1ini_set('display_errors', 0);and tests again.
August 9, 2016 at 9:38 pm #26773Hi Mike,
I’ve already search google and tried that solution but it doesn’t work.
Still can’t find the problem with our server but because of project deadline, we have to move to another server and now problem is gone.
October 31, 2016 at 8:58 pm #26774Hi @piavgh
I also faced same problem today. The point is I need to install soap extension on my server. So, I used this command. Hope this help!
Shell1apt-get install php5.6-soapfor Ubuntu or
Shell1yum install php5.6-soapfor CentOS
November 1, 2016 at 3:50 am #26775Hi
Did you try set to php.ini?
INI1ini_set('display_errors', 0);Try to use this tips to resolve problem:
http://stackoverflow.com/questions/11082889/soap-error-parsing-wsdl-couldnt-load-from
November 1, 2016 at 7:14 pm #26776Hi @Mike,
Yes, my problem was solved after I check on log file. I think that ORO need to show more specific message while test connection with magento store.
November 2, 2016 at 6:09 am #26777Hi
Can you tell me how you solve the problem ?
November 2, 2016 at 7:18 am #26778Hi Mike,
When I check on prod.log file, it was shown SOAP extension missing (I’m not remember details right now. When I arrive to office in tomorrow, I will login again to server and post it again for detail message). So, I did
Shell1apt-get install php5.6-soapin my live server and
Shell1service nginx restartThis log file save me a lot of time to find out this error.
November 3, 2016 at 2:17 am #26779Hi Mike,
Here error message detail from prod.log
Apache1<faultstring>SOAP extension is not loaded.</faultstring> - AuthorReplies
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.