Discussion:
Error when create a web reference in Ax 2009
(too old to reply)
Tam
2010-09-03 13:47:03 UTC
Permalink
Hi

I got his message when I create a web reference in Ax 2009. What does it
mean? For some web references it goes fine and others I get errors.

Regards
Tam

Cannot import wsdl:binding
Detail: The required WSDL extension element 'binding' from namespace
'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
XPath to Error Source:
//wsdl:definitions[@targetNamespace='http://www.webserviceX.NET/']/wsdl:binding[@name='CurrencyConvertorHttpGet']
Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is
dependent on.
XPath to wsdl:binding:
//wsdl:definitions[@targetNamespace='http://www.webserviceX.NET/']/wsdl:binding[@name='CurrencyConvertorHttpGet']
XPath to Error Source:
//wsdl:definitions[@targetNamespace='http://www.webserviceX.NET/']/wsdl:service[@name='CurrencyConvertor']/wsdl:port[@name='CurrencyConvertorHttpGet']
Cannot import wsdl:binding
Detail: The required WSDL extension element 'binding' from namespace
'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
XPath to Error Source:
//wsdl:definitions[@targetNamespace='http://www.webserviceX.NET/']/wsdl:binding[@name='CurrencyConvertorHttpPost']
Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is
dependent on.
XPath to wsdl:binding:
//wsdl:definitions[@targetNamespace='http://www.webserviceX.NET/']/wsdl:binding[@name='CurrencyConvertorHttpPost']
XPath to Error Source:
//wsdl:definitions[@targetNamespace='http://www.webserviceX.NET/']/wsdl:service[@name='CurrencyConvertor']/wsdl:port[@name='CurrencyConvertorHttpPost']
Axel Kühn
2010-09-06 10:04:06 UTC
Permalink
Hi Tam,

there are some limitations for webservice used as service references in
Dynamics AX 2009.

Please see this article:
http://floditt.blogspot.com/2010/07/limitations-of-dynamics-ax-service.html

Could be possible that the wsdl you are using is not "Dynamics AX
compatible"..
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Post by Tam
Hi
I got his message when I create a web reference in Ax 2009. What does it
mean? For some web references it goes fine and others I get errors.
Regards
Tam
Cannot import wsdl:binding
Detail: The required WSDL extension element 'binding' from namespace
'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is
dependent on.
Cannot import wsdl:binding
Detail: The required WSDL extension element 'binding' from namespace
'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is
dependent on.
Tam
2010-09-08 19:50:03 UTC
Permalink
Hi Axel

Thanks for your reply and the link to the article. I'm new to .Net and the
article was a great help to understand the limitations in Ax2009 vs. .Net web
services.

My conclusion to this issue was binding style. It successed me after all
difficulties to find out how to disable HttpGet and HttpPost binding style.
Access the file web.config at the same location as your *.asmx file. Disable
HttpGet and HttpPost.
It works for me!

<system.web>
<webServices>
<protocols>
<!--add name="HttpGet"/-->
<!--add name="HttpPost"/-->
</protocols>
</webServices>
</system.web>

Regards
Tam
Post by Axel Kühn
Hi Tam,
there are some limitations for webservice used as service references in
Dynamics AX 2009.
http://floditt.blogspot.com/2010/07/limitations-of-dynamics-ax-service.html
Could be possible that the wsdl you are using is not "Dynamics AX
compatible"..
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Post by Tam
Hi
I got his message when I create a web reference in Ax 2009. What does it
mean? For some web references it goes fine and others I get errors.
Regards
Tam
Cannot import wsdl:binding
Detail: The required WSDL extension element 'binding' from namespace
'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is
dependent on.
Cannot import wsdl:binding
Detail: The required WSDL extension element 'binding' from namespace
'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is
dependent on.
Loading...