on 07-29-2011 1:52 PM
Hi,
my szenario:
consuming a Web Service: ECC_Inventory002QR from a client (ECC6.0) by web dynpro in CE7.1 SP12 and deploy the web dynpro app on PI 7.1 (AS Java).
Deployment is successfull! But I got a error during running: (401) Unauthorized.
I read the thread :
and get to know, a service group maybe need to be created. But I cannot follow this thread to create one.
In SAP help document there are a large quantity of articles about configue a web service client, e.g.
http://help.sap.com/saphelp_nwce72/helpdata/en/88/a552908d4c44dc99b3ec247069921e/frameset.htm
But it is too much and I do not know with which parts I could start.
In NWDS7.0 I faced the similar question, the thread:
http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/technology/sap/7/
gave me some hints, that I can add code:
wdContext.currentRequest_CDWS_MI_CDWS_MIElement().modelObject()._setUser(u201Cusername");
wdContext.currentRequest_CDWS_MI_CDWS_MIElement().modelObject()._setPassword(u201Cpassword");
in the executeRequest() method.
But in my java code I have have no idea how to add it. Perhaps in the method:
executeInventoryByLocationAndMaterialQueryResponse_In()? I tried, but it does work as expected.
Anyone has encountered similar situation? and could show me how to create a service group in CE7.1 sp12? or how to add java code of those autorization information.
Thank you and nice weekend
Rene
i don't know if service group is available in CE7.1
when you import the ws as model, do you see the option of service group?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Wu,
no. I've tried to import wsdl via adaptive web service model several times. But i have not find this service group option, which is mentioned in the thread of ms. Stefanie Bacher:
But she developed her szenario also in CE7.1. Why I have not this option?
Regards
Rene
Hello, Wu,
I read a lot about destination configuration, but i cannot get idea how to do it.
Under the Blog of Alexander zubev: the New SOA Configuration Approach I understand that a service group is prerequisite.
Therefore it would be appreciated if you can sign me how to configure it without service group.
thanks and regards
Rene
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.