on 10-05-2012 3:53 PM
Hi,
I am consuming web service from third party application. I am following the SAP documentation as described
http://help.sap.com/saphelp_nw72/helpdata/en/46/935a636110581de10000000a1553f7/frameset.htm
To import the WSDL into NWDS what type of DC need to be created? The documentation refers to importing the WSDL but no mentioning of what type of DC and further steps. Point me to any useful blogs or documents on this.
Thanks,
Rao
Hi Rao,
It depends on the usage of that web service. If you're going to use it to display/import/export data, you^'ve to use a interface technology like webdynpro java, JSF, JSP. So, you've to create that kind of DC (like Webdynpro DC) and then consume the web service.
Also, you can create a web service DC (it was J2EE > EJB Module and then EJB Bean and finally Enterprise Application in NW 7.0, not sure what it is in NW 7.3) to consume the external web service and create internal web service over it (e.g. for a scenario to add something and post to backend system)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Huseyin,
I am trying to use it in a Portal component. The web service delivers some of the information from remote application which I display it in my iview. For this I have a abstract portal component. In 7.0 version I had created a Deployable proxy to consume web service and used this in the portal component. I am trying to do the same here but not sure how to go about creating the deployable proxy in 7.3. Please let me know if you can provide further information on this.
Thanks,
Rao
Hi Rao,
Create a EJB component and expose it as a webservice, finally you can consume it from your Webdynpro DC.
Regards,
Suman.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suman,
a) The question ist very old; I just added the right answer because you can find two or more questions about the issue on SDN, but no right answer.
b) "expose it as a webservice" - the question was about consuming!
c) WD ist WD; if the question was meant as written, it was about from within a portal application / implementation. That's not WD. Anyhow, if it would be about WD, Jun Wu already gave that answer.
In short words: To get some quality back to SDN, please di not post for posting, but read what's the state of the thread, what was asked, and sometimes... Talk is silver, silence is golden... 🙂
Best regards
Detlev
Awesome quote Detlev Beutner, Yes I do agree with you.
To consume a WS from within a portal application, just import the WSDL into the portal project and then create the WebServiceClient within the portal project. The documentation does not cover this, but it is definitely the easiest way to go (if not the only one, I did not succeed using a deployable proxy from within a portal project; and different threads here on SDN suggest the same issue).
Hope it helps some other people
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Detlev,
I just want to clarify if you did or did not succeed in using a deployable proxy from within a portal project? It seemed above that you said it was the only to go but then in next sentence you said you were not successful in doing so. I just wanted to be clear which it was.
Thank you!
Christine
Hi Christine,
> above that you said it was the only to go but then in next sentence
> you said you were not successful in doing so
No no no no no 😉 (hey, YOU are the native speaker, but maybe, as a mathematician, I just tend to be even more exact in language than others... ;-))
I wrote: "The documentation does not cover this [= "import the WSDL into the portal project and then create the WebServiceClient within the portal project"], but it is definitely the easiest way to go (if not the only one, I did not succeed using a deployable proxy from within a portal project"
To be super-super-clear (but this is really in my original answer): I did NOT succeed in using a deployable proxy from within a portal project.
Best regards
Detlev
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.