Developer Forum [ All Topics | New Topic ]

Thread: The type or namespace name 'RapNetInventoryLink' does not exist in the namespace (are you missing an assembly reference?)

This is with regards to
http://technet.rapaport.com/WebServices/Feeds/RapNetInventoryLink.asmx

above is your hosted service link

Using Asp.Net 4.0 adding Service Reference, your service gives below contract

web.config
 <bindings>
      <basicHttpBinding>
        <binding name="RapNetInventoryLinkSoap" 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://technet.rapaport.com/WebServices/Feeds/RapNetInventoryLink.asmx"
        binding="basicHttpBinding" bindingConfiguration="RapNetInventoryLinkSoap"
        contract="RapLinkWebService.RapNetInventoryLinkSoap" name="RapNetInventoryLinkSoap" />
    </client>


then how come your code ask to use

RapLinkWebService.RapNetInventoryLink webServiceManager =
new RapLinkWebService.RapNetInventoryLink();

which is not listed in contract

http://technet.rapaport.com/Info/RapLink/SampleCode/WebService_Example.aspx



kindly suggest working example

I added given service path under service reference
the name of service is given as RapLinkWebService
under that I got RapNetInventoryLinkSoapClient

there is nothing called as RapNetInventoryLink
there are only
RapNetInventoryLinkParameters
RapNetInventoryLinkSoap
RapNetInventoryLinkSoapChannel
RapNetInventoryLinkSoapClient
Regards,

Anand M. Bohra





>> add a comment
Anand M. Bohra
05/24/2013 07:49


2 Replies:

Ok, now tell me how to get dataset for specific sellers only??

>> add a comment
Anand M. Bohra
5/24/2013 8:39:00 AM
Are you using visual studio? Which version? This looks like a problem with your reference to the asmx.

You set up the sellers in your feed settings in RapNet.

Regards,

Leo


>> add a comment
Leo Muller
5/26/2013 12:56:00 AM