cancel
Showing results for 
Search instead for 
Did you mean: 

Consume .NET webservice in SAP

Former Member
0 Kudos

Hi,

1. I have create a web service in .NET.

2. Generate proxy in SAP

3. Create logical port (lpconfig)

If i execute the proxy the following soap error is responding.

<?xml version="1.0" encoding="utf-8" ?>

- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">

- <asx:values>

<SYSTEMFAULT href="#o148" />

</asx:values>

- <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">

- <cls:CX_AI_SYSTEM_FAULT id="o148">

- <CX_ROOT>

<TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>

<PREVIOUS />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>185</PROGID>

<CONTID>993</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_STATIC_CHECK />

- <CX_AI_SYSTEM_FAULT>

<CODECONTEXT>http://www.sap.com/xml_errorcodes</CODECONTEXT>

<CODE>SOAP:1.023</CODE>

<ERRORTEXT>SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")</ERRORTEXT>

<LANGUAGE />

</CX_AI_SYSTEM_FAULT>

</cls:CX_AI_SYSTEM_FAULT>

</asx:heap>

</asx:abap>

Error log in ST11:

[Thr 1800] Fri Aug 24 07:56:33 2007

[Thr 1800] *** ERROR => NiPConnect: SiConnect failed for hdl 43 / sock 52

(SI_ECONN_REFUSE/79; I4; ST; 127.0.0.1:3518) [nixxi.cpp 2460]

[Thr 1800] *** WARNING => Connection request from (33/29320/0) to host: localhost, service: 3518 failed (NIECONN_REFUSED)

RM-T33, U29320, 300 XBWO2975, rbgn03e1, 07:56:33, M0, W0, SEU_, 3/2 [icxxconn_mt.c 2321]

Error log in SM21:

SOAP Runtime: SOAP Runtime exception: 1023 occurred in method IF_SOAP_TRANSPORT_BINDING~receive of class CL_SOAP11_HTTP_TPBND at position 1

I can't find a description about SOAP error codes.

Any ideas whats wrong?

regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Your error message says "ICF Error when receiving the response:".

Did you test your web service using some stand alone tool like XML SPY?

If it works fine with XML spy we can confirm that there is no problem in the webservice and then we can focus on SAP side.

Regards

Pushkar

Former Member
0 Kudos

hi,

thanks.

I test the webservice in the visual studio successfully.

regards

sbhutani1
Contributor
0 Kudos

Hi Wolfgang,

By seeing your error desctiption, It seems that there is any problem in your ICM configuration.

<i><ERRORTEXT>SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")</ERRORTEXT></i>

Please refer this thread to check whether your ICM configuration is on place and working fine.

Regards

Sumit Bhutani