.net - Microsoft.NET WS client: all operation and types, but no members -
i'm trying generate .net ws client wsdl + xsd. i've tried 2 ways same result: add web reference , wsdl.exe i've tried different framework versions, ide versions , different approaches (wcf , old style wss).
the tools generate 2 interfaces correct operations , type defined in xsd schemas, none of types contain members defined in schema.
my wsdl + xsds work on java platform (jax-ws via cxf, axis) , can produce clients , publishers.
the published services can consumed via soapui, generate correct requests (with members defined in schemas).
the same result given tools if use published wsdl url instead of local files.
update:
i've tried avoid wsdl:import
, built valid single file wsdl. same result.
one more consideration thie issue use type inheritance xsd:extension
. there issues generating .net ws client feature?
following suggestion answer question (not th 1 marked correct, 1 i've upvoted @ wsdl.exe error: unable import binding '...' namespace '...'), verified wsdl , found message part names have same name parameters
(i've created wsdl thorugh eclipse ide).
i changed names of wsdl:part
in wsdl:message
s unique within wsdl , .net classes generated correctly (with members) either ide or wsdl.exe tool.
didn't find mention restriction message part name; here http://msdn.microsoft.com/en-us/library/ms996486.aspx found piece of wsdl should reproduce same behaviour, no warning limitation.
Comments
Post a Comment