PHP issue with SOAP?

Posted on 2008-06-21
Last Modified: 2013-11-18
I'm having a bit of difficulty working with a web service I'm trying to create in PHP.  Here's some output:

root@catalyst:/www/ll-prod-api/api# php soap.php

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: No address associated with <port> in /www/ll-prod-api/api/soap.php:3
Stack trace:
#0 /www/ll-prod-api/api/soap.php(3): SoapClient->SoapClient('foo.wsdl', Array)
#1 {main}
  thrown in /www/ll-prod-api/api/soap.php on line 3

And here is the WSDL:

<?xml version="1.0" encoding="UTF-8" ?>
<definitions name="limelock"
	<message name="DemoRequest">
		<part name="param1" type="xsd:string" />
	<message name="DemoResponse">
		<part name="Result" type="xsd:string" />
	<portType name="DemoPortType">
		<operation name="demo2">
			<input message="tns:DemoRequest" />
			<output message="tns:DemoResponse" />
	<binding name="DemoBinding" type="tns:DemoPortType">
		<soap:binding style="rpc" transport="" />
		<operation name="demo2">
			<soap:operation soapAction="" />
				<soap:body use="encoded" namespace="" encodingStyle="" />
				<soap:body use="encoded" namespace="" encodingStyle="" />
	<service name="DemoService">
		<port name="DemoPort" binding="DemoBinding">
			<soap:address location="" />

Open in new window

Question by:imaginative
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 23

Accepted Solution

Siva Prasanna Kumar earned 500 total points
ID: 21841488
This seems to be a bug in PHP, WSDL is proper.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question