Results 1 to 3 of 3

Thread: SOAP request gives fatal error, identical query w/different value does not

  1. #1
    MateoLeFou is offline Senior Member
    Join Date
    Nov 2008
    Posts
    35

    Default SOAP request gives fatal error, identical query w/different value does not

    I have two soap queries, one of which yields a "Looks like we got no XML" fatal error.

    Code for both is:

    pr("id ". $dealer_id);
    pr("session() ". $this->session);

    $response = $this->client->get_entry(
    $this->session, 'Accounts',$dealer_id,$select_fields
    );

    Output is
    id 2afa46fb-1fc1-a38c-667f-49be88fdd76f
    session() bn6mrspar3s40dql3vliao46g5\
    Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document

    For the other, it's
    id 14f1471e-c05d-a717-5418-49762bc354a9
    session() 0e39qajg9k6pmd4k67fpct9ie6

    ..and then the correct page and everything is fine

    It still happens with different session values, so what's wrong with that first id?

  2. #2
    MateoLeFou is offline Senior Member
    Join Date
    Nov 2008
    Posts
    35

    Default Re: SOAP request gives fatal error, identical query w/different value does not

    hm... some more ids that fail in the same way
    2afa46fb-1fc1-a38c-667f-49be88fdd76f
    88300a10-f3c9-271d-3818-49be887dadf8
    30b80df8-103e-6427-f7d7-49be886d69c0

    and another that works
    d0e00940-b713-f717-cdb6-49be88e5e1cc

    what's the pattern?

  3. #3
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: SOAP request gives fatal error, identical query w/different value does not

    Generally, the following error occurs due to the coding problem in the webservice/soap.

    Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 2009-02-06, 09:15 AM
  2. SugarCRM SOAP session for every request
    By bathi741 in forum Developer Help
    Replies: 2
    Last Post: 2008-12-12, 03:51 PM
  3. How do i do a simple SOAP request in PHP5?
    By ztolley in forum Developer Help
    Replies: 2
    Last Post: 2008-04-15, 12:22 PM
  4. Fatal error with Soap
    By totolac in forum Help
    Replies: 0
    Last Post: 2007-06-28, 08:12 AM
  5. Replies: 4
    Last Post: 2004-10-24, 12:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •