Quantcast
Channel: SCN : Popular Discussions - ABAP和Java开发 (ABAP & Java Development)
Viewing all articles
Browse latest Browse all 4604

How to consume an ABAP Enterprise Service in JAVA

$
0
0

Dear colleagues:

 

I'm kind of confused and need your help.

 

I have already created a Enterpricse Service (for test) in SE80 and configured it through SOAMANAGER.

 

Question1:

 

Here is the WSDL URL I got from SOAMANAGER:

http://ldcihri.wdf.sap.corp:50000/sap/bc/srt/wsdl/flv_10002A111AD1/srvc_url/sap/bc/srt/rfc/sap/z_ws2/000/z_ws2/z_binding?sap-client=000

WSDL1.PNG

 

And here is the WSDL URL I got from SE80:

http://ldcihri.wdf.sap.corp:50000/sap/bc/srt/wsdl/flv_10002P111AD1/sdef_url/Z_WS2?sap-client=000

 

WSDL2.PNG

 

 

The XML file I got from the two URL are different, the former is bigger.

Which URL should I use? thanks.

 

Question2:

 

I have tested the 2 WSDL URL through Online SOAP Client - WSDLBrowser.com

But both URL failed the test.

I test the same URL in SOAMANAGER-TOOLS-WSDL Analyzer.

Both URL were OK.

 

Any idea? Is it because the authorization? I need to input user name and password for WSDL Analyzer.

 

Question3:

 

I'd like to consume the web service in JAVA.

Is it possible to consume the service in Eclipse IDE?

(I have tried several times by creating Web Service Client using the WSDL but it always say that the WSDL is invalid.

Or I have to consume the Enterprise Service in NetWeaver Develop Studio?


Viewing all articles
Browse latest Browse all 4604

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>