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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:22:53+00:00 2026-06-13T13:22:53+00:00

I have a strange problem. In PHP I want to communicate to a Web

  • 0

I have a strange problem. In PHP I want to communicate to a Web Service with SOAP.

$soapURL = "http://www.somedomain.com/xyz.asmx?WSDL";
$soapParameters = Array('login' => "123", 'password' => "pwd", 'soap_version' => SOAP_1_2, 'exceptions' => True) ;
$client = new SoapClient($soapURL, $soapParameters);

With XAMPP it works locally without problems.

When I try it on my web server, I get the following error message:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.somedomain.com/xyz.asmx?WSDL' : Input is not proper UTF-8, indicate encoding ! Bytes: 0xFC 0x6C 0x74 0x69 in ...

The error raises at the last line of my code example.

Any Ideas?

  • mb_detect_encoding($soapURL); says the String is of format ASCII
  • I tried to convert every string to UTF-8 with utf8_encode, iconv and mb_convert_encoding…
  • first line of php file is: header('Content-type: text/html; charset=utf-8');
  • 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-13T13:22:54+00:00Added an answer on June 13, 2026 at 1:22 pm

    I finally solved it. The problem was the communication from Windows server and Linux client. I don’t know why it works on some Linux machines, but never mind.

    I added a local wsdl file at the source and use that for the SOAPClient. For the server I used the __setLocation function.

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

Sidebar

Related Questions

I have strange problem. For a project we are using following cloud hosting. http://www.rackspace.com
I have quite a strange problem with PHP and Apache on my local testing
i have this strange problem with the PHP function CTYPE_ALNUM if i do: PHP:
I'm having a strange problem in that I have php inserting text into a
I'm having a strange problem. I have a HTML page with PHP code which
I have a strange problem. I've downloaded the latest php sdk. In there are
I have a strange problem with php scripts - mysql_affected_rows() sometimes returns 0 for
I'm having a strange problem with php PDO and mysql. I have the following
I'm currently facing a strange problem in PHP. I have two scripts, index.php which
I have a strange problem with PHP and cURL using windows. If have a

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.