Feb
27

WSDL service name error

by Dan Gershony

when adding WSDL web service reference.
its important that the service name will not have the name of "service",
that will raise the following error:

C:\Projects\myproject\Web References\typename\Reference.odx(65,5): error X2011: expected 'identifier'
C:\Projects\myproject\Web References\typename\Reference.odx(65,5): error X2016: unexpected token: '{'

<wsdl:service name="service">
      <wsdl:port name="SomePort" binding="tns:SomePort">
             <soap:address location="http://location..."/>
     </wsdl:port>
</wsdl:service> 

to fix that just change the service name to be anything else then "service".

in my case i had a .net project that contained all web references.
and was referenced to a BizTalk project

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

BizTalk | Web Services

Powered by BlogEngine.NET 1.4.5.0
Dan Gershony Tsabar Blog