West Wind Client Tools
Re: error when generating service via proxy web service generator
03/11/2010
12:36:11 PM
2VW0R0HMM Show this entire thread in new window
Gratar Image based on email address
From:
Rick Strahl
To:
Benjamin Siegel 
Attachments:
None
Make sure you have the latest version of the generator - there were some updates to the functionality to support imported WSDL sub documents (as WCF in .NET produces). It sounds like that's not happening in your case...

+++ Rick ---

Hi Rick,

I was wondering if you can assist with an error I am receiving when attempting to use the Proxy Web Service Generator.

My client has provided me with the Web Service WSDL URL of:

http://usaix05h.us.company.com:9080/ControlDataServicesWeb/sca/processes/getlensshape/getLensShape/wsdl/processes/getlensshape/ControlDataServices_getLensShape.wsdl

This is only accessible after connecting to their VPN:
When I browse the URL I get:

<?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions name="processes_getlensshape_getLensShape_getLensShapeHttp_Service" targetNamespace="http://ControlDataServices/Processes/getLensShape/getLensShapeInterface/Binding" xmlns:Port_0="http://ControlDataServices/Processes/getLensShape/getLensShapeInterface" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:this="http://ControlDataServices/Processes/getLensShape/getLensShapeInterface/Binding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:import location="getLensShapeInterface.wsdl" namespace="http://ControlDataServices/Processes/getLensShape/getLensShapeInterface" /> - <wsdl:binding name="processes_getlensshape_getLensShape_getLensShapeHttpBinding" type="Port_0:getLensShape"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="invoke"> <soap:operation soapAction="" /> - <wsdl:input name="invokeRequest"> <soap:body use="literal" /> </wsdl:input> - <wsdl:output name="invokeResponse"> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:service name="processes_getlensshape_getLensShape_getLensShapeHttpService"> - <wsdl:port binding="this:processes_getlensshape_getLensShape_getLensShapeHttpBinding" name="processes_getlensshape_getLensShape_getLensShapeHttpPort"> <soap:address location="http://usaix05h.us.marchon.com:9080/ControlDataServicesWeb/sca/processes/getlensshape/getLensShape" /> </wsdl:port> </wsdl:service> </wsdl:definitions>

I am able to resolve the URL in the generator.

However, when I try to generate, I get the following error in VFP:

OLE IDispatch exception code 0 from System.Web.Services:
Cannot find definition for
http://ControlDataServices/Processes/getLensShape/getLensShapeInterface:getLensShape.
Service Description with namespace
http://ControlDataServices/Processes/getLensShape/getLensShapeInterface is missing
Parameter name: name.


I am testing under Windows XP with VFP9 SP2

Any Thoughts?





Rick Strahl
West Wind Technologies

Where do you want to surf today?
Reader Version: 5.0

from Maui, Hawaii