Problem connecting to web service.

A

Andrea V.F.

I've implemented a Test web service for using in infopath.

The web service is an ActiveX Dll created with Visual Basic 6.

I've generated the WSDL with the "WSDL Generator" Included into the
"Microsoft SOAP Toolkit 3" and then changed the style from RPC to
document and use from encondig to literal.

While loading the WSDL in infopath I can see the list of services
(only one in this test) but I receive the followind error while
continuing the "Data Connection Wizard":

"The schema information for the specified Web service is either
missing or not valid"

This is the WSDL file:

<?xml version='1.0' encoding='UTF-8' ?>
<!-- Generated 04/13/05 by Microsoft SOAP Toolkit WSDL File Generator,
Version 3.00.1325.0 -->
<definitions
name='AccessService'
targetNamespace='http://Localhost/Listener/'
xmlns:wsdlns='http://Localhost/Listener/'
xmlns:typens='http://Localhost/Listener/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:stk='http://schemas.microsoft.com/soap-toolkit/wsdl-extension'
xmlns:dime='http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/'
xmlns:ref='http://schemas.xmlsoap.org/ws/2002/04/reference/'
xmlns:content='http://schemas.xmlsoap.org/ws/2002/04/content-type/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns='http://schemas.xmlsoap.org/wsdl/'>


<import namespace='http://schemas.xmlsoap.org/soap/encoding/'/>
<import namespace='http://schemas.xmlsoap.org/wsdl/'/>
<import namespace='http://schemas.xmlsoap.org/ws/2002/04/reference/'/>
<import namespace='http://schemas.xmlsoap.org/ws/2002/04/content-type/'/>

</schema>
</types>

<message name='Data.pippo'>
</message>

<message name='Data.pippoResponse'>
<part name='Result' type='xsd:string'/>
</message>

<portType name='DataSoapPort'>

<operation name='pippo' parameterOrder=''>
<input message='wsdlns:Data.pippo'/>
<output message='wsdlns:Data.pippoResponse'/>
</operation>

</portType>

<binding name='DataSoapBinding' type='wsdlns:DataSoapPort' >

<stk:binding preferredEncoding='UTF-8'/>
<soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>

<operation name='pippo'>
<soap:eek:peration soapAction='http://Localhost/Listener/Data.pippo'/>
<input>
<soap:body
use='literal'
namespace='http://Localhost/Listener/'
/>
</input>
<output>
<soap:body
use='literal'
namespace='http://Localhost/Listener/'

parts='Result'/>
</output>
</operation>

</binding>

<service name='AccessService' >
<port name='DataSoapPort' binding='wsdlns:DataSoapBinding' >
<soap:address location='http://Localhost/Listener/AccessService.WSDL'/>
</port>
</service>

</definitions>


Which is the cause of this error??????


Thanks for help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top