cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring J2EE Server in WSADMIN

Former Member
0 Kudos

Hello Experts,

I am trying to test my first Web Service that I've created from an ABAP RFC. In testing it via WSADMIN, I have found that I need to configure a J2EE server.

My WSDL display through the <b>SICF /sap/bc/srt/rfc/sap/</b> is being displayed properly. i thought that for an ABAP based web service we don't need to specify an J2EE server and the WAS is supposed to take care of it.

Thanx

Arun

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Raja,

Please repley to the following thread:

Thanks

Arun

Former Member
0 Kudos

Hello Durai / Anh,

Thanks a lot for you response. I wan to assign 6 points for both of you i couldn't so i did 2 points.

I am working in SAP Netweaver (700) stack 009 ( ABA, BASIS, BI). I am creating a Prototype as a proof of concept.

I have successfully created an WSDL for "<b>BAPI_SFLIGHT_GETLIST</b>" and i am able to see the WSDL with "http://FQDN:PORT/sap/bc/srt/rfc/sap/Z_SFLIGHT_VI?sap-client=500&wsdl=1.1" from WSADMIN. But i couldn't test it with the Web Service Homepage because i don't know the J2EE server and the Basis team is not that friendly and security is tight.

What is the Next step for me to use the WSDL link in Javascript to send Import parameter & Get Export Parameter? I am confused becuase it doesn't have the XML format.

If you have any document please E-mail reachuarun@gmail.com.

Best Regards

<b>Arun Prasad

SAP BI</b>

athavanraja
Active Contributor
0 Kudos

<i>What is the Next step for me to use the WSDL link in Javascript to send Import parameter & Get Export Parameter? I am confused becuase it doesn't have the XML format.</i>

what you need is to find out the request format of this webservice . to get this format you can use some third party tools

i prefer the following tool which is free

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916e...

Regards

Raja

Former Member
0 Kudos

Hello Ahn,

I have already successfully done with generation 'WSDL with Document Style' from WSADMIN.

Is UDDI Registry required, i am only to trying to use it within the Intranet?

I am new to web service and how do i access this WSDL link from Javascript, HTML or what is the process to consume it? I am trying to Consume it from SAP BI Business Explorer Web Templates.

Also is this below required for my process :

http://help.sap.com/saphelp_nw04s/helpdata/en/6c/8aac34d2d6e64dbcfc3ffb10bb3e9e/content.htm

1) Publishing a Service Definition as tModel in the

UDDI

2) Administration for the SOAP Runtime (Publishing a

Web Service as a Business Service)

3) UDDI as a Source for a WSDL Documents (Proxy

Generation)

Thanks

Arun

athavanraja
Active Contributor
0 Kudos

> I am new to web service and how do i access this WSDL

> link from Javascript, HTML or what is the process to

> consume it? I am trying to Consume it from SAP BI

> Business Explorer Web Templates.

to consume it from BW webtempate

option 1: use XMLHttpRequest object in a javascript to consume the webservice

there are lot of samples available on the net one of them is http://www.webreference.com/programming/javascript/definitive4/

option 2: if you are on WAS6.40 you can create a client proxy in ABAP and then call the proxy class/method within table interface class and use that in your webtemplate

Raja

Former Member
0 Kudos

Hi, Arun.

> Is UDDI Registry required, i am only to trying to use it within the

> Intranet?

You don't need UDDI Registry at all in order to work with web services

provider and consumer. UDDI(at least current version 2.0) is just an

optional component when you want to organize your web services.

So, don't worry about UDDI thing. Just go on while skipping UDDI related

topics.

For the usage of UDDI(this is future version), please refer to the

following.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/032bad72-0801-0010-53b0-aae...

Best Regards.

Sejoon

Former Member
0 Kudos

Hi, Arun

Of course J2EE server is not necessary if you create Web Services in ABAP

stack.

WSADMIN's some settings for J2EE server is just for unit test purpose of

web service and UDDI publishing. Basically it is just optional. So if you have

other web service client tool or code, never mind.

But if you already have J2EE stack in your landscape, it would be better

to set the J2EE engine address. Please refer to the following.

Administration for the SOAP Runtime

http://help.sap.com/saphelp_nw04s/helpdata/en/2b/036829d238dc46bad91bff1563e183/frameset.htm

Best Regards.

Sejoon