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

  • Home
  • SEARCH
  • 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 3497054
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:19:26+00:00 2026-05-18T12:19:26+00:00

I am posting to a SOAP-based Web Service via PHP SOAP Client and I’m

  • 0

I am posting to a SOAP-based Web Service via PHP SOAP Client and I’m expecting a return via XML, however I’m not getting one. The information is being handled by the Web Service as expected (writing to a database in this instance) but then I just see a blank page in my web browser.

Other methods in this API where I am just posting information to the Web Service in order to get a return value back does give me the XML, but it seems when I am posting information to be written to a database is not able to return a value.

$url='wsdl.xml';

$client = new SoapClient($url,array('trace'      => 1,
         'exceptions' => 1));

$client = new SoapClient($url,array('soap_version' => SOAP_1_1));

$params = array('IntValue'=>$int,
    'StringValue'=>$string);

try {
 $client->Test_Parameters_Add($params);
} catch (SoapFault $exception) {
    echo 'soap fault occured: '.$exception->getMessage().'<br/>';
}

The WSDL file:

<s:element name="Test_Parameters_Add">
−
<s:complexType>
−
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="IntValue" type="s:int"/>
<s:element minOccurs="0" maxOccurs="1" name="StringValue" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
−
<s:element name="Test_Parameters_AddResponse">
−
<s:complexType>
−
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Test_Parameters_AddResult" type="s:int"/>
</s:sequence>
</s:complexType>
</s:element>
  • 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-18T12:19:27+00:00Added an answer on May 18, 2026 at 12:19 pm

    I managed to narrow down the problem to the Web Service not handling the passing through of an Object from my PHP code. Whether that’s because my code is incorrect, I’m not sure but noone has pointed that out so far. I have resorted to getting the Web Service provider to develop a new API method which allows me to use REST which has been much easier and is now working.

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

Sidebar

Related Questions

before posting the whole code, i wanted to make sure I am not missing
Posting a stack overflow question on stackoverflow.com, how amusing :-) I'm running some recursive
For posting AJAX forms in a form with many parameters, I am using a
After posting this question and reading that one I realized that it is very
I'll soon be posting an article on my blog , but I'd like to
I'm posting this in the spirit of answering your own questions. The question I
I found a posting on the MySQL forums from 2005 , but nothing more
In another posting: Does Linq-To-Sql support composable queries there was discussion on how to
If I am posting a question about a query against an Oracle database, what
Note: I've tried posting on the coderush/devexpress forums and as is usual for that

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.