cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run WSDL query using SOAP protocol

Former Member
0 Kudos

Hello there,

We are on a SAP BW 3.5 (BASIS 640) and a developer is building Web service query to run using SOAP protocol. In WSADMIN transaction, system wants address of J2EE server and since this is a ABAP only system, I have entered address of enterprise portal system which has a java stack.

when the query is executed from WSADMIN, there error logged is:

Cannot download WSDL from http://bwhost:8012/sap/bc/srt/rfc/sap/query_view_data?sap-client=470&wsdl=1.1: Cannot connect to http://bwhost:8012/sap/bc/srt/rfc/sap/query_view_data?sap-client=470&wsdl=1.1: bwhost

This takes to Enterprise home page and there this error is logged.

Is this the right method of execution? All assistance / guidelines will be useful.

Many Thanks,

Regards,

Nisch

Accepted Solutions (1)

Accepted Solutions (1)

sumesh_k2
Participant
0 Kudos

Hi,

What happens when you try to open the URL in InternetExplorer. Does it ask for User credentials of Abap system and shows the wsdl?

Check whether the ICF service is activated.

Former Member
0 Kudos

Hi Sumesh,

On WSADMIN, when I select the query and click icon "web service homepage", then this error occurs. Here it does not authenticate me to login to the system and goes to portal to run this query.

When I select WSDL icon after selecting the query, it authenticates me and when I login, it reaches HTTP server on BW system and displays WSDL on internet explorer:

http://BWHOST:8012/sap/bc/srt/rfc/sap/query_view_data?sap-client=470&wsdl=1.1&mode=sap_wsdl

ICM is active as it uses HTTP protocol to reach BW host.

Regards,

Nischal

sumesh_k2
Participant
0 Kudos

Hi Nischal,

Are you able to execute the web service via SOAP UI or any webserivce query tool successfully?

Answers (5)

Answers (5)

Former Member
0 Kudos

This setup is supported by SAP and it works fine after changes to FQDN.

Former Member
0 Kudos

Hi,

you said you are working on BW3.5 system which is a single stack (ABAP stack ) system. But your URL contains BW host name and port . I dont think this is right way. you dont have java stack still your trying to access it . http://bwhost:8012/sap/bc/srt/rfc/sap/query_view_data?sap-client=470&wsdl=1.1: This URL will work only with javastack. as you have your BW host name in this URL. Your BW does not have java stack..

experts Please correct me, if I am wrong.

Regards,

Reyaz

Former Member
0 Kudos

Hello Reyaz,

Thanks for your reply. Yes, this instance does not have java stack and is ABAP only instance.

In order to run a Web Service Query using SOAP (WSADMIN), in this setup, can I use another Java instance? We have a Enterprise Portal as a standalone system.

What settings are required to be made to achieve this task? Has anyone done similar setup?

Many Thanks,

Regards,

Nischal

prasannakrishna_mynam
Contributor
0 Kudos

Hello,

You need to mentioned the Java port of your R/3 System in URL, check with the BASIS team weather your SAP R/3 System which you have developed that Webservice has Java Stack in it, if it is there then follow the steps mentioned in the above post.

Regards,

Prasanna

former_member183908
Active Contributor
0 Kudos

Hi

>In WSADMIN T-code while Generating the WSDL file and For Testing the Webservice mainly you need to maintain the J2EE Server Details. Menu>Goto>Administration Settings>In that maintain the URL as: http://hostname:portno/.

-->hostname is your R/3 system host name and port no will be java port.

-->java portno will be 5 + (instance no) + 00.is your port number.Try with this configurations.

-->And also make sure that the Java stack is Running or not in your system.

Thanks

former_member200962
Active Contributor
0 Kudos
Cannot download WSDL from..........Cannot connect to

It can happen if your server (XI...or other) is not able to connect to the mentioned wsdl server...both need to be in the same environment....check if you are able to ping the wsdl server from the environment where your XI (or other server) is installed.....also check if there is any port issue (for port 8012)...

Regards,

Abhishek