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 7077231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:23:47+00:00 2026-05-28T06:23:47+00:00

so I have a WSDL I’ve been giving as documentation for a soap service.

  • 0

so I have a WSDL I’ve been giving as documentation for a soap service. I need to implement this service exactly as defined and I don’t want to rewrite the wsdl using nusoap. Is there a way to tell the object nusoap_server = new soap_server(); to use an existing wsdl and then implement the functions from the existing wsdl?

thanks

  • 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-05-28T06:23:48+00:00Added an answer on May 28, 2026 at 6:23 am

    $WSDL = ‘/path/to/wsdl/file’;
    $nusoap_server = new soap_server($WSDL);

    The only problem with this is that nusoap may not create the response correctly, but it will host the wsdl file.

    I had to customize my xml responses.

    Which you can tell nusoap to do but you will need to modify the library.

    <?PHP     
    
    function serialize_return() {
                        //$this->fuze_debug(array('test',$this->fuze_print_s($this->methodreturn)),'soap_server_debug.log');
                        $this->debug('Entering serialize_return methodname: ' . $this->methodname . ' methodURI: ' . $this->methodURI);
                        // if fault
                        if (isset($this->methodreturn) && is_object($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {
                                $this->debug('got a fault object from method');
                                $this->fault = $this->methodreturn;
                                return;
                                // for some reason with code ignitor this doesnot get set correctly
                        } elseif ($this->methodreturnisliteralxml) {
                                //$this->fuze_debug(array('literal xml is : ',$this->fuze_print_s($this->methodreturnisliteralxml)),'soap_server_debug.log');
                                $return_val = $this->methodreturn;
                        // returned value(s)
                        } else {
    

    This above code is in the nusoap library as you can see $this->methodreturnisliteralxml

    If you set that to true then you can customize the xml you return from the function you define for nusoap to handle the soap request.

    To me nusoap seams to be out of date.

    I do not think I would use nusoap again for new projects.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been studying SOAP and WSDL in preparation for implementing a web service.
I have WSDL and XSD files and want implement a webservice based on this
I have an WSDL / Web Service and I need to generate an set
I have a WSDL file defining a service that I have to implement in
I have a WSDL 1.1 file which describes my Web Service. Now I need
I have been given a WSDL file and I need to consume a web
I have a .wsdl file defining a web service, and I want to generate
I have some WSDL from which I need to generate a web service implementation.
I'm implementing SOAP client to existing service of which i have WSDL file. I
I have a WSDL web service http://portal.strongtech.com/i/services/ivos?wsdl and I want to send request to

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.