cancel
Showing results for 
Search instead for 
Did you mean: 

webservice in BI 7

Former Member
0 Kudos

Hi All,

We have created a webservice from a FM in BI 7.

But when we test this FM it is giving the following error.

An error has occurred. Maybe the request is not accepted by the server:

Connection refused: connect

No exception chain is displayed and the Request Response is blank.

Are we missing some configuration ?

We tried to run the WS from XML spy and it is giving the proper output.

I checked the WSDL file and it changes the port number as given below.

http://abc.com:443/sap/bc/srt/rfc/sap/z_bw_qaas2/100/z_bw_qaas2/z_bw_qaas2"; />

But under SOAMANAGER

Technial Config->System Global Settings->J2EE Server Access Information

Port number is given correctly as 8001

Also, if i directly run the WS from SICF it gives the following exception

<Exception_Name>CX_SOAP_CORE</Exception_Name>

<Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")

Please let me know if anyone has a solution to this.

Thanks,

Veena.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nag,

We are using a FQDN in the WS URL.

How does replacing "ws_policy" with "standard" help?

When i test the service the URL automatically takes 'standard' intead of 'ws_policy'.

Any other ideas ?

Thanks,

Veena.

chintan_virani
Active Contributor
0 Kudos

I am stuck up with same issue. Can you please share your solution?

Chintan

Former Member
0 Kudos

We are stuck up with same issue. Can you please share your solution?

Mdesousa

chintan_virani
Active Contributor
0 Kudos

Well this error will occur if you try to execute/test the WS directly from the ABAP side. You will to use WSNavigator or freely downloadable tool like SOAP UI in order to test your WS.

Chintan

Former Member
0 Kudos

We already tried that, but we keep getting errors

Former Member
0 Kudos

can you please try with fully qualified domain

most of the SICF services expects Fully Qualified Domain Name in url

use

http://<server>.<domain>.<com>:8000

can use testing webservie tag

http://www.soapui.org/gettingstarted/your_first_soapUI_project.html

you can also try with

Go to soamanager, Business Administration -> Web Service Administration and search for your Web Service.

Select it and apply selection. Select "Open WSDL document for selected binding"

Copy URL opened in a new window.

Replace "ws_policy" for "standard" the URL:

http://****/sap/bc/srt/wsdl/sdef_Z_WS_TEST_3/wsdl11/ws_policy/document?sap-client=200:

replace it by:

http://****/sap/bc/srt/wsdl/sdef_Z_WS_TEST_3/wsdl11/standard/document?sap-client=200:

regards

nag