[
https://jira.jboss.org/jira/browse/JBESB-2052?page=com.atlassian.jira.plu...
]
Jim Ma commented on JBESB-2052:
-------------------------------
The generated wsdl is valid , and it is WSDL1.0 and WSI-BP compliant . But it does not
conform to the .Net own specification. We thought it is an issue in svcUtil.exe (.Net ws
code generation tool) and reported two years before , but .Net will not fix it.
The workaround for this issue is adding the name for <wsdl:input> and
<wsdl:output> in soapbinding :
<wsdl:binding name="FetchCustomerBinding"
type="tns:FetchCustomerPortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="FetchCustomerOp">
<wsdl:input name="FetchCustomerReq">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="FetchCustomerRes">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault name="fault1" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
EBWS: WSDL produced by ESB Based Web Service endpoint is not
consumable by .NET
-------------------------------------------------------------------------------
Key: JBESB-2052
URL:
https://jira.jboss.org/jira/browse/JBESB-2052
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.4
Reporter: Burr Sutter
Fix For: 4.4 CP1
Attachments: FetchCustomer.wsdl, publish_as_webservice2.zip
The WSDL and the quickstart that creates it are attached.
Here is the exact error message from Visual Studio/Visual Basic:
Error 1 Custom tool error: Unable to import WebService/Schema. Unable to import binding
'FetchCustomerBinding' from namespace
'http://soa.jboss.org/ESBWebServiceSample'. The operation
'FetchCustomerOp' on portType 'FetchCustomerPortType' from namespace
'http://soa.jboss.org/ESBWebServiceSample' had the following syntax error: The
operation has no matching binding. Check if the operation, input and output names in the
Binding section match with the corresponding names in the PortType
section. C:\Users\Burr\AppData\Local\Temporary Projects\WindowsApplication1\My
Project\Settings.settings 1 1 WindowsApplication1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira