cancel
Showing results for 
Search instead for 
Did you mean: 

How do I call a .net web service from SAP?

Former Member
0 Kudos

Hello,

I have a web service developed in ASP.net 2.0 C# and published on a PC.

I can get its WSDL from the below address.

http://(IP)/wsYBMB_SCADA_SIP/Service1.asmx?WSDL

What I want to do is call this web service from SAP (version SAP ECC 6.0).

There are 2 SAP systems. One of them is for development and the other one is for production (the real system).

In development system, I created a client proxy called YBMBCO_SCADA_WS.

After that, I created a logical port, in Web Service Administration section of SAP SOA Management (web based), called YBMBCO_SCADA_WS_LP.

When I test to call this web service, it works fine.

Then, I created the same client proxy by moving my request to the production system.

After that, I created a logical port called YBMBCO_SCADA_WS_LP as I did for the development system.

However, when I test it, I got the below error from SAP. How can I solve this problem?

"SoapFaultCode:1 Server did not recognize the value of HTTP Header SOAPAction: http://www.(company).com//YBMB_SCADA_SIP.").

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

google the error message you supplied, maybe add IIS because that's with high probability your webserver. You'll find numerous sites where similar problems are discussed and most often it is some IIS and .NET problems with caching or missing dlls or something.

so, with a good chance your problem is one specific to your webservice environment and not one of your consuming SAP system. therefore it's probably solved faster in some MSDN forums.

my 2 cents,

anton

former_member206604
Active Contributor
0 Kudos

Hi,

Are you sure that you had maintained the Logical port properly, please ensure that you have maintined the SOAP Action while creating the Logical Port. You can find that int he Operations tab.

Thanks,

Pakash