[SOAP] SoapClient/WSDL Port Problem

[email protected] ("brent.ertz")
Newsgroups php.soap
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.