on 07-08-2009 7:13 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.