Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PHP - Initiate SoapClient inside a SoapServer class function?

  • 17-02-2010 7:03pm
    #1
    Closed Accounts Posts: 8,478 ✭✭✭


    So I have a SoapServer class that handles whatever functions is requested of it from the client. Within one of those functions I need to call a 3rd party soap service, so I set about getting what I need as a SoapClient and returning the result back to my SoapServer. Here's a copy of the stack trace:
    **** About to call ReadCategories (My SoapClient call, sitting inside my SoapServer function
    )
    **** ReadCategories Respsonse:SoapFault exception: [HTTP] Error Fetching http headers in class_Client.php:47
    
    Stack trace:
    
    #0 class_Client.php(47): SoapClient->__doRequest('<?xml version="...', 'https://<url>...', 'http://schemas....', 1)
    #1 [internal function]: ExtendedClient->__doRequest('<?xml version="...', 'https://<url>...', 'http://schemas....', 1, 0)
    #2 [internal function]: SoapClient->__call('ReadCategories', Array)
    #3 class_Server.php(77): ExtendedClient->ReadCategories(Object(stdClass))
    #4 class_Server.php(123): SoapServer->GetCategories('301e7b3f-db6c-4...')
    #5 class_Server.php(293): SoapServer->ManageProducts(Object(stdClass), 'CreateProducts')
    #6 [internal function]: SoapServer->CreateProducts(Object(stdClass))
    #7 index.php(35): SoapServer->handle()
    #8 {main}
    

    Note the Error Fetching http headers in class_Client.php error. Strangely, when I trace my httpd request log, I see (after a considerable timeout time) that it makes 3 requests within milliseconds of eachother - where it should only make one.

    Help?!


Advertisement