Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7922507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:58:52+00:00 2026-06-03T16:58:52+00:00

Here’s this pressing problem that haven’t worked out after working on it for days.

  • 0

Here’s this pressing problem that haven’t worked out after working on it for days.

http://www.tabernus.com/ws/soap/server.php?WSDL should give you the WSDL file.

Inside the server.php, I wanted to return an incremented serial Number when “GetAuditInformation” method is called.

So I wrote this simple function at top:

 <?php 
 function GetAuditInformation($serialNumber) {
 $serialNumber=$serialNumber +1;
 return $serialNumber;        
 }

 ini_set("soap.wsdl_cache_enabled", "0");
 $server = new SoapServer('wsMRMAudit.wsdl');
 $server->addFunction("GetAuditInformation"); 
 $server->handle();

?>

I tested using plumvoice SOAPtester and it was able to get methods through WSDL.

http://www.plumvoice.com/soaptester/

But enter a serial number say….1000 and it should return 1001 but it returns NULL. Why is that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:58:54+00:00Added an answer on June 3, 2026 at 4:58 pm

    The parameter that gets passed into your function is not a number, it’s an object. Your function definition should be this:

    function GetAuditInformation($x)
    {
        return array('GetAuditInformationResult' => $x->SerialNumber + 1);
    }
    

    For the complete example, let me post my test script as well, which works btw:

    $s = new SoapClient('http://www.tabernus.com/ws/soap/server.php?WSDL', array('trace'=>true));
    
    var_dump($s->GetAuditInformation(array('SerialNumber' => 1000)));
    
    $req = $s->__getLastRequest();
    
    function GetAuditInformation($x)
    {
    return array('GetAuditInformationResult' => $x->SerialNumber + 1);
    }
    
    $server = new SoapServer('http://www.tabernus.com/ws/soap/server.php?WSDL', array(
        'actor' => 'http://www.tabernus.com/ws/soap/',
        'soap_version' => SOAP_1_2
    ));
    $server->addFunction('GetAuditInformation');
    
    $server->handle($req);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a coding problem for those that like this kind of thing. Let's see
Here is my problem...I have a page that loads a list of clients and
Here is my persistence.xml : <?xml version=1.0 encoding=UTF-8?> <persistence xmlns=http://java.sun.com/xml/ns/persistence xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd version=1.0>
Here's what I'm trying to accomplish with this program: a recursive method that checks
Here is a screenshot of the problem (in IE): http://img401.imageshack.us/img401/7580/screenield.jpg The above effect -
Here is another spoj problem that asks how to find the number of distinct
Here is a working version http://jsfiddle.net/tH78C/ Here is a broken version (Zooming widget is
Here my code: $(document).ready(function() { $('#mid_select').live('click', function(e){ $('#middle').load( $(this).attr('href') + ' #middle'); var page
Here is my problem : I have a post controller with the action create.
Here is an example. foreach (var doc in documents) { var processor = this.factory.Create();

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.