hej,
Mam dwa projekty, jeden to Web Service Application który jest osadzony na IIS, kolejny to WCF który jeszcze nie jest na IIS. I tak: chcę wywołać metodę z Web Service w WCF'ie, zaimportowałem wsdl'a, a w weg config zostało dodane:

    <bindings>
      <basicHttpBinding>
        <binding name="ServiceSoap" closeTimeout="00:01:00"
          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://localhost:8080/Service.asmx" binding="basicHttpBinding"
        bindingConfiguration="ServiceSoap" contract="ServiceReference.ServiceSoap"
        name="ServiceSoap" />
    </client>

I w moim WCF'ie robię:

 	ServiceReference.ServiceSoapClient ServiceClient = new ServiceReference.ServiceSoapClient();
			ServiceClient.AddFileInBase64(objectType, base64);

i dostaje:

Could not find default endpoint element that references contract 'FilesServiceReference.ICPen2FilesServiceSoap' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.

Co dziwne stworzyłem testowy projekt konsolowy w którym działa to bez zarzutu, tylko w moim wcf'ie dostaje taki wyjątek, dodam iż umieszczając w konstruktorze new

ServiceReference.ServiceSoapClient()

odwołań ServiceReference.ServiceSoap

 nic nie daje, więc stworzyłem też nowy testowy projekt wcf w którym bez dodawania jakiegokolwiek szerszego kodu to również działa... proszę o pomoc i pomysły czym może to być spowodowane.

Dodam że moja metoda w której wywoływany jest serwis posiada takie parametry:
```csharp
		[OperationContract, WebInvoke(UriTemplate = "UploadFile/{fileName}")]
		void UploadFile(string fileName, Stream fileContents);