cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Custom ABAP Webservice

csyadlapalli
Explorer
0 Kudos

Dear All,

I have created a webservice on standard BAPI and activated the same. As we dont have Java stack on our development server, we are using Portal J2EE engine to test the webservice. I did the following steps:

SOAMANAGER - Business administration - Webservice administration - then selected my service - Overview - Open Webservice navigator for selected binding.Its giving the following error:

"Cannot download WSDL from http://batcfs1.btc.com.bh:8000/sap/bc/srt/wsdl/bndg_4B32361E291F39C2E10000000A060425/wsdl11/allinone... It is not allowed to access this service. If you believe you should be able to, please contact your system administrator "

Before that I have given Portal J2EE server and port information in the given path:

SOAMANAGER - system global settings - Access Information J2EE server.

Please let us know that if we need to create any configuration to connect to Portal J2EE to test my webservice.

Thanks in advance,

Chandra.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Chandra,

According to SAPnote Note 1020365 - SAP NetWeaver AS Java 7.00 SP14 - List of corrections :

please check the following settings.

1)

- Authentication of WS Navigator has been changed for more security. By default, it will ask for authentication (e.g. user/password). This behavior can be changed in the Visual Administrator. For more information about how to do this, please read the documentation on: http://help.sap.com/saphelp_nw70/helpdata/EN/b7/d7baaf1481a349ab723e3acd7334b3/frameset.htm

2)

- A host access list has been introduced in the WS Navigator for more security. By default, it will allow only testing of services deployed on a local system. More hosts can be added in the Visual Administrator. Using a wildcard *, one can return the old behavior. For more information about how to do this, please read the documentation..

http://help.sap.com/saphelp_nw04s/helpdata/en/7c/f257422d095542e10000000a1550b0/frameset.htm

Regards, Gilles.

csyadlapalli
Explorer
0 Kudos

Hi Gilles,

Thanks for your reply. Now I can able to test my service on WSNAVIGATOR.

But when I goto SICF tcode and test the service, I am getting the XML code in web

browser as follows.

- <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

<soap-env:Header />

- <soap-env:Body>

- <soap-env:Fault>

<faultcode>soap-env:Server</faultcode>

<faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received</faultstring>

- <detail>

- <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">

<Host>undefined</Host>

<Component>COREMSG</Component>

- <ChainedException>

<Exception_Name>CX_SOAP_CORE</Exception_Name>

<Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received</Exception_Text>

</ChainedException>

</ns:SystemFault>

</detail>

</soap-env:Fault>

</soap-env:Body>

</soap-env:Envelope>

When I check it in SOAMANAGER with 'Open Web Service navigator for selected binding' link,

I am able to test my webservice. Now problem here is that the third

party system is not able to call my webservice and they are getting

error in SOAP address location area. I feel that the error is there

only becuase we are getting system log entries with the error as follows:

SOAP Runtime Protocol: SOAP Runtime ICX_SOAP_CORE: 1032 occurred in method get_http_headers of class CL_SOAP_HTTP_TPBN D_ROOT at position

SOAP Runtime Protocol: ICX_SOAP_CORE message: SRT: Wrong Content-Type and empty HTTP-Body received

Please provide some solution to resolve the same.

Thanks in advance,

Chandra.

Answers (0)