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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

910 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now