Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WSDL - Only a default namespace..empty URI

Status
Not open for further replies.

Robertio

Programmer
Oct 9, 2000
87
GB
Long shot this one, but:

Trying to connect to a web service via the WSDL and it isn't working. Keep on getting the following error:

Only a default namespace can have an empty URI.

Line:4
<nw1:nullResponse xmlns:ns1=&quot;&quot; SOAP-ENV:.

Have not a clue what is wrong so any suggestions appreciated.

The WSDL has been created by Sonic MQ, and works fine from C# so is unlikely to be the problem. All I'm doing in Delphi is starting a new project, putting a button and THTTPRIO on the form, File-New-Other-WSDL Importer selecting the WSDL. Then on the button click attaching one line of code:

(HTTPRIO1 as Service1Soap).AddString('1');

The namespace is assigned in the WSDL:

targetNamespace=&quot;

Any hints / ideas / clues would be good as I seem to have run into a brick wall.

Robertio
Alias: Robbie Calder
Software Developer
urc@walkermartyn.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top