Hello,
I'm using SAP Trial Versions NW CE 7.1 SP5 and EhP1 for CE 7.1. I would like to consume ABAP Web Service in an Adaptive WebService Model and need to set/configure destination in Visual Admin Tool.
However there is no Visual Admin. I tried searching for go.bat in my whole hard disk, without success.
Finally to work around it I tried to provide WSDL itself as follows:
1) First Method
I downloaded WSDL to local directory and provided it while creating a model -> SUCC
I deployed and run the WS application -> FileNotFoundException occured. However the WSDL file configured in the Model exists and is not protected anyhow.
2) Second Method
I provided the HTTP link to the WSDL file of my ABAP web service while creating a model-> SUCC
I tried to deploy and run the application -> ERR because could not connect to the HTTP link provided(as it is basic authentication protected)
So I hard coded the sap-user and sap-password in the properties of the model. Deployment and Run was SUCC. However while trying to execute the web service request 401 unauthorized error occured because in the WSDL file there is a destination http://<server>:<port>.... and there are no credential so the application cannot connect.
Could You please help me out with this one?
I would either need to solve the FileNotFoundException so I could hard code the sap-user and sap-password in the local WSDL file, or I would set connection credentials somewhere( where if not in Visual Admin) to be able to get rid of this 401 unauthorized error.
any suggestions?
best regards
simon:)
============================
After trying out some other possibilities I was able to authenticate the connection with:
wdContext.currentRequest_CourseByTitleQueryResponse_InElement() .modelObject().setInvokerProperty( javax.xml.rpc.Stub.USERNAME_PROPERTY, "user"); wdContext.currentRequest_CourseByTitleQueryResponse_InElement() .modelObject().setInvokerProperty( javax.xml.rpc.Stub.PASSWORD_PROPERTY, "********");
It is however still not solved as there has to be a possibility to set a destination somewhere. Otherwise this trial version is not very useful for such exercises.
best regards
simon:)
Edited by: Simon P. Bolek on Jun 27, 2009 3:45 PM