on 02-03-2009 10:36 AM
Hi colleagues
I am trying to consume a webservice "BORM_API_A1S_GET_UPD_SW_VECTOR" in webdynpro, it is an external webservice
i have followed the below steps and ended up with an error
Steps:
1) created a Adaptive web service model
2) got the WSDL source from "Remotelocation/fileSystem"
3) given the WSDL URL Acess as "e:///C:\Documents and Settings\Desktop\BORM_API_A1S_GET_UPD_SW_VECTOR.wsdl"
4) created a service group
5) then i have done the " model to controller" binding and "controller to view" binding
6) in the INIT method of controller i have creted the instance of the model and binded it to the context element
7) set some some values in the init methiod(for input parameters)
😎 designed a view to get the values that are set into the input parameters
9) Configured the service group
i am getting an error saying
"*java.io.IOException: Cannot connect to https://service.sap.com:443/sap/bc/bsp/spn/swdc/slm/accessctrl.do, used user to connect: S0004119795, message : Unable to connect to service.sap.com:443 - service.sap.com*"
I think i am doing wrong service confuguration
steps i have followed to Configure the service group are given below
1) logged into http://ldcidwd.wdf.sap.corp:50000/nwa
2) SOA management-->technical information --> system connections
here i have selected the provider systems tab, and created a new provider system of system type "Java"
Here i need to provide someother information which i am not sure about what to provide, Could any one let me know what to be provided for the other fields
u2022 System Type: Java
u2022 System Name: <System ID> ?( what is this)
u2022 Host: <Host>?
u2022 System Description: My Web Service System
u2022 Username: <Administrator>?
u2022 Password: <Password for Administrator>?
u2022 Profile Name: SAP_DEFAULT_PROFILE
u2022 Mode: Multiple Services
u2022 Services Source: WSIL
u2022 WSIL URL: ?(what should be provided here
u2022 Socket Timeout: 60.000
Please let me know what shall i fill in this fields
Thanks & Regards
Swetha
Hi Swetha,
To use web services in Web Dynpro java , u can choose no service group configuration .
or
to use web services using services group , u need to create provider system , communication profile .
u can refer this document for ur query
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46]
Thanks and regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fazal Ahamed,
Thank you for your quick reply
i have tried selecting the " No Service Group Confugaration"
and defined the logical destinations for metadata and execution
For default matadata destination i have used "DEFAULT_WS_METADATA_DEST"
and for default execution destination i have used "DEFAULT_WS_EXECUTION_DEST"
Now i ahve recieved the error saying "+com.sap.engine.services.webservices.espbase.discovery.TargetNotMappedException: Logical Target destination with name : DEFAULTWS_METADATA_DEST does not exist not mapped to a physical system+."_
Please let me know how to proceed
Thanks & Regards
Swetha
Hi Fazal Ahamed,
Now i have selected " No Logical Destinations"
and i am getting an error saying "java.io.FileNotFoundException: /C:/Documents and Settings/i055011/Desktop/BORM_API_A1S_GET_UPD_SW_VECTOR.wsdl (No such file or directory)"
here the webservice we are using is an external webservice...and we got it through mail
so we have stored it in the desktop and accessed it
is it the reason for this error.....?
if so could you guide me how to proceed further and how to solve this
Thanks & Regards
Swetha
Hi Gayathri,
we have WSDL file on our Desktop
file:///C:\Documents and Settings\i055011\Desktop\BORM_API_A1S_GET_UPD_SW_VECTOR.wsdl
But when i gave this in the URL it is giving me an error
we dont have information about WSDL URL
Could you please let me know where can we get the exact WSDL URL?
Thanks & Regards
Swetha
Hi Gayathri,
i have opened the WSDL file and i found there are two URLS
1) "<soap:operation
soapAction="http://www.sap.com/BORM_API_A1S_GET_UPD_SW_VECTOR" />"
2)<soap:address
location="http://pwdf4431.wdf.sap.corp:1080/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/bosf_swdc_slm/accessctrl.do" />
i have tried pasting the address URL ina n other IE and i was asked for Authentication
Thanks & Regards
Swetha
Hi Swetha,
You need to give
http://pwdf4431.wdf.sap.corp:1080/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/bosf_swdc_slm/accessctrl.do if it is SAP ABAP web service then you need to append ?sap-client=xxx & wsdl=1.1 .
Then it will ask for user-ID and password ofthe system pwdf4431.wdf.sap.corp
Then go to next step with No Service Group configuration Next and then enter JCo destinations
You can go to next screens as well. Finally Finish.
Regards,
Siva
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.