[SOAP] SoapClient/WSDL Port Problem
| From: | brent.ertz | Date: | Thu, 13 Aug 2009 14:25:25 +0000 |
| Subject: | [SOAP] SoapClient/WSDL Port Problem | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2977@lists.php.net to get a copy of this message | ||
Hello All,
I am trying to use PHP5 SoapClient to integrate a web-service that is
running on a specific port.
http://crash:8090/FlightHazardsService?wsdl
The wsdl contains several xs:include/import statements, an example is shown
below.
<xs:include
schemaLocation="http://crash:8090/FlightHazardsService?xsd=../schemas/flightHazardsService/request_flight_hazards.xsd"/>
Whenever I try to create a SoapClient, I get the following error. I see
that the port (8090) is not included in the url below and assume that it why
things are not working.
[WSDL] SOAP-ERROR: Parsing Schema: can't import schema from
'http://crash/FlightHazardsService?xsd=../schemas/owsExceptionReport.xsd'
Here is the code that I am using to create the SoapClient.
$soapClient = new SoapClient("http://crash:8090/FlightHazardsService?wsdl",
array('soap_version' => SOAP_1_2,
'trace' => 1));
Can anyone offer advice on how to resolve this issue?
Regards,
Brent
--
View this message in context: http://www.nabble.com/SoapClient-WSDL-Port-Problem-tp24954806p24954806.html
Sent from the Php - Soap mailing list archive at Nabble.com.