cancel
Showing results for 
Search instead for 
Did you mean: 

Client complains wsdl is malformed

Former Member
0 Kudos

I created a simple webservice. I can use the built in test functionality in wsnavigator to test, but when I try to connect externally I get errors saying the wsdl file is invalid.

I made a javabean with one method that returns a string, then in Developer Studio right-clicked, created a webservice, created the ear, then deployed it.

I then went to wsnavigator on my machine and found it and used the built in test functionality and it seems to work.

My client is going to use ASP.NET to consume the service. I have sharepoint Designer 2007 here, and tried to load the webservice as a datasource. I entered the wsdl url (http://localhost:50000/TestPhone/Config1?wsdl ). I tried it with my ip and "localhost", and tried only the plain ?wsdl but also Config1?wsdl&style=rpc , style=document, and style=rpc_enc. (and then the SAP WSDL versions, i.e all 8 versions that are on the wsdls page in wsnavigator).

In Designer 2007 you enter the url then click connect to test it. When I do this all of them gave me the following error:

"(url) did not return a valid descripAtion of an XML Web service. Please check the address and try again."

Below is the exact text of my wsdl. As this is my first webservice it seems ok to me ... though it looks different than the Config1_document.wsdl that is inside the zip file if you choose the "Download WSDL" (that one has the method signature description in it, but this doesn't).

Does anyone have any idea what is wrong?

<?xml version="1.0" encoding="utf-8"?>

<!-- Generated by WSDLDefinitionsParser --><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="TestPhoneWsd" targetNamespace="urn:TestPhoneWsd" xmlns:bns0="urn:TestPhoneWsd/Config1/document" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">

<wsdl:import location="http://localhost:50000/TestPhone/Config1/bindings?wsdl&amp;style=document" namespace="urn:TestPhoneWsd/Config1/document"/>

<wsdl:service name="TestPhone">

<wsdl:port name="Config1Port_Document" binding="bns0:Config1Binding">

<soap:address location="http://localhost:50000/TestPhone/Config1?style=document"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The only other thing I notice on the overview page under UDDI Publications it says:

Service is not published