cancel
Showing results for 
Search instead for 
Did you mean: 

B1WS :The request failed with HTTP status :404 File not found

Former Member
0 Kudos

Greetings to expert here,

Am trying the web services for B1 8.8 and I faced a problem here.

B1WS :The request failed with HTTP status :404 File not found

I tried both of the solutions at below link:

But, yet I cant solve my problem.

I can browse the link of the IIS, http://localhost/B1WS/ and http://localhost/B1WS/WebReferences/LoginService.wsdl

, through internet explore or even firefox. It works perfect here.

But when i execute on vb .net, it sent me the error.

Even when i tried on the sample given inside the B1WS folder: B1WS_WindowsSample, the application sent me the same error.

By developing a new application, I can browse the B1WS by the function adding web reference -> web reference on local machine -> LoginService.

Yet it showed me the error when I tried to use the web reference to login.

Please help me out.

Thanks in advance.

Regards,

George

Accepted Solutions (1)

Accepted Solutions (1)

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi George,

Can you please go through the B1WS document and check all the configuration steps one more time? Event the part that should be automatically configured during installation, maybe there was a problem during installation.

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0904cbd-b47f-2a10-b689-f1d683c22...

Regards

Trinidad.

Answers (3)

Answers (3)

0 Kudos

Try to set DefaultAppPool with PipeLine Mode on "Classic" on IIS.

It work for me.

pedro_magueija
Active Contributor
0 Kudos

Hi,

Have you set the server directive, in the web.config file, to your server? It has to be set if you are using a remote B1WS server.

Should look like this.


	<appSettings>
		<add key="BusinessPartnersService.BusinessPartnersService" value="http://<yourserver>/B1WS/Service.asmx"/>
		<add key="CompanyService.CompanyService" value="http://<yourserver>/B1WS/Service.asmx"/>
		<add key="LoginService.LoginService" value="http://<yourserver>/B1WS/Service.asmx"/>
		<add key="ItemsService.ItemsService" value="http://<yourserver>/B1WS/Service.asmx"/>
		<add key="OrdersService.OrdersService" value="http://<yourserver>/B1WS/Service.asmx"/>
	</appSettings>

Best regards.

Former Member
0 Kudos

Hi Pedro Magueija ,

Thanks for replying soon. My current situation is I'm trying to access Login web service and it's throwing me above error.

As Trinidad said try with DI server web service so i tried and it;s working perfect.

I have already check <appSettings> in web.config but no luck .

Any further clues .

Thanks

pedro_magueija
Active Contributor
0 Kudos

Hi,

Last thing I can suggest is go to your App_WebReferences folder. Open each *.wsdl and change the following directive:


  <wsdl:service name="QuotationsService">
    <wsdl:port name="QuotationsServiceSoap" binding="tns:QuotationsServiceSoap">
      <soap:address location="http://localhost/B1WS/Service.asmx" />
    </wsdl:port>
    <wsdl:port name="QuotationsServiceSoap12" binding="tns:QuotationsServiceSoap12">
      <soap12:address location="http://localhost/B1WS/Service.asmx" />
    </wsdl:port>
  </wsdl:service>

place your server name where it shows localhost.

Best regards.

Former Member
0 Kudos

Did somebody solve this question? I did every step above but this mistake don't disappear. Could you help me?

Former Member
0 Kudos

I'm also stuck on same error

Former Member
0 Kudos

This worked for me!

Former Member
0 Kudos

Hi Trinidad,

I tried out to reinstall and reconfigure everything according to the note, but still facing the same error.

For extra information, I am using window 7 professional version, Internet Information Services Manager Version 7.5.7600.16385 and SAP B1 8.8 SP00 PL00.

Regards,

George

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi George,

Can you please try to run a DI Server sample doing the connection simply using SOAP?

I'll like to see if the error can come from B1WS and IIS or if it is a connection problem in DI Server.

Regards,

Trinidad.

Former Member
0 Kudos

Hi Trinidad,

I'm facing same issue While accessing Login web service i have already followed the above steps.Also When i tried accessing DI Server sample it gives "Error env:Receiver 100000008 License does not exist Login" window and web application both.

For extra information, I am using window 7 professional version, Internet Information Services Manager Version 7.5.7600.16385 and SAP B1 8.8 SP00 PL13.

Edited by: kolkolta on Nov 8, 2010 1:50 PM