SSO to a Web Service from Portal
Hi All,
I have EP deployed on machine A, and my web application deployed on machine B, and I need to get SSO enabled between EP and the web application. Machine B is a Windows 2003 Server, and has the ISAPI filter installed to get at the HTTP_REMOTE_USER from the server variables, when I come from the EP. The web application on machine B is able to get the HTTP_REMOTE_USER server variable. This web application is an ASP.Net application, which calls web services in order to do any processing, including logging in a user. The flow looks like this:
EP -> web app page -> redirect to login page -> check if HTTP_REMOTE_USER is present, if so, call web service to login user.
The problem is this: when in the login page, I get at the HTTP_REMOTE_USER, which only gives me a user name. In order to actually log the user in, I need to call a web method, passing in a user name and a password. However, I don't have a password, and if I put a web method to login the user without the password check, it becomes a security hole. I hence need to check for the HTTP_REMOTE_USER in my web service layer as well, but I don't seem to be able to get at the HTTP_REMOTE_USER in the web service. At present, both web service and web application are on the same machine, but I still don't get the server variable. Isn't the web service (yet another) HTTP-based application, which should be able to get at the server variables? How do I get at the server variables to flow to the web service as well?
In addition, I need to also do the following: I need to create an iView, which will call web methods on the web service. The web service uses WSE 1.0, and validates to check that there is a UsernameToken present. So, I need something similar to the above, wherein the web service can "figure out" that it is being called from the iView, and can skip the validation.
Regards,
Vivek
PS - Points will be definitely rewarded
Hi,
Can anyone pls help me with this.
Any ideas are most welcome.
Regards,
Vivek
Similar Messages
-
Call web service from portal/soap config .xml error
Hi all,
I am trying to call a web service from our portal. Setup is as follows:
-Generate proxy classes and deploy it as a portal service
I created this service using the wizard (Portal service from wsdl file client side) in NWDS.
-Portal component which uses the portal service.
When I try to run the application in the portal, I get the following exception:
java.lang.IllegalStateException: Error in soapconfig.xml: The method mail of com.sap.portal.prt.soap.proxy.Alias portal service is not found..
How can I solve this?
Her is my xml file:
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="com.sap.portal.runtime.application.soap"/>
</application-config>
<components>
<component name="callwebproxy">
<component-config>
<property name="ClassName" value="com.portal.erbS.callwebproxy"/>
</component-config>
<component-profile/>
</component>
<component name="org_opach">
<component-config>
<property name="ClassName" value="com.test.org_opach"/>
</component-config>
<component-profile/>
</component>
</components>
<services>
<service alias="com.sap.portal.prt.soap.proxy.Alias" name="ProxyClass">
<service-config>
<property name="className" value="com.sap.portal.wsdl.webservices.service.connector.ProxyClass">
</property>
<property name="startup" value="false"/>
<property name="WebEnable" value="false"/>
<property name="Webproxy" value="true"/>
<property name="SecurityZone" value="com.sap.portal.wsdl.webservices.service.connector/DefaultSecurity"/>
</service-config>
<service-profile>
<property name="SystemAlias" value="Default_system_Alias"/>
</service-profile>
</service>
</services>
</application>
rezaHi,
Check your soapconfig.xml
Your method should be defined there. If it's not there, then you're sure to get this error.
For every method (in Webservice) that you call from your Portal Service, you should have it defined here.
Remember, this is autogenerated.
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Portal WebService Configuration File.
-->
- <!-- Note: File generated automaticaly, don't modify this file.
-->
- <portal-webservices version="6,0,3" application-name="TestWS">
- <portal-webservice name="com.company.mod.TestWS">
- <webservice-method soapaction="" authenticated="false" styleenconding="RPC" javasignature="public abstract byte[] com.company.mod.TestWS.getValue(java.lang.String)" name="getValue">
- <webservice-parameter defaultjavatype="java.lang.String" enconding="encoded" targetnamespace="http://www.w3.org/2001/XMLSchema" nillable="false" xmlattribute="false" required="true" ID="0" name="value">
<webservice-type wsdltype="xsd:string" javatype="java.lang.String" />
</webservice-method>
</portal-webservice>
</portal-webservices>
Regards,
JP -
Calling web service from portal
Hi
I have created a webservice to RFC scenario in XI. Now I need to access this webservice from enterprise portal. how do i inlcude this web service in the portal. I want to use ABAP web dynpro.
thanks
sankarHi,
Refer these links:
Re: WebService Creation
http://www.riyaz.net/blog/index.php/2007/12/10/xipi-consuming-xi-web-services-using-web-dynpro-part-i/
How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
Check this thread also.
Implementing Webservices Doubt
Invoke Webservices using SAPXI
Invoke Webservices using SAPXI
Testing XI exposed Web-Services
Testing XI exposed Web-Services
RFC as Web Service step by step approach in XI
Exposing Remote Function Module as Web Service in XI - Step By Step
Using RFC as WebService in WebDynpro
Creating and Exposing BAPI as Web Service and using it in Web Dynpro
RFC calls from Adapter modules...the Web Service Way!
How Web services play a key role on the SAP NetWeaver
http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-500244687cbd30ffd
How to develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
How To... Set Up a Web-Service Related Scenario with SAP xi
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
Enhancing Your Web Services with SAP Exchange Infrastructure
http://www.sappro.com/downloads/SAPXI.pdf
Regards,
Nithiyanandam
Edited by: Nithiyanandam A.U. on Aug 12, 2008 11:06 AM -
Accessing XI web service from portal as client
Hi all
I need to access a web service which has been created on XI
server. I want to acess it from enterprise portal as a web service client. please provide related links to achieve this.
thanks in advance
vaishaliVaishali,
never did this before, but some general ideas:
Do you have an WSDL for that web service? Then simply use your NWDS and select New --> Portal Service --> From WSDL (or similar). What I mean is the following: NWDS can read WSDL files and will automatically generate a proxy for you that actually generates an ordinary portal service. This portal service then can be called by standard means in SAP EP.
Regards,
Dominik -
Calling a web service from a portal application / SOAP Action
Hallo,
Ich möchte aus einer Portal Applikation auf einen Web Service zugreifen.
Dafür habe ich mit dem Wizard "Portal Service from Wsdl file - Client side"
eine Portal Service erzeugt, auf den ich dann zugreife.
Leider wird dabei ein Fehler ausgegeben (Stacktrace-Ausschnitt s.u.).
Ich habe ein Posting zu dem Fehler hier im SDN gefunden, leider hatte dort niemand eine Antwort. Vielleicht hat inzwischen jemand eine Idee?
Das Feld soapaction ist in der soapconfig.xml leer angegeben (soapaction="").
Es ändert aber nichts an der Fehlermeldung, wenn ich dort etwas eintrage.
Ein weiterer Gedanke ist, dass die soapaction, die wenn ich es richtig verstehe eine URL auf die web service methode enthalten soll, im Grunde dynamisch sein sollte, da der Web Service lokal in dem Portal läuft, auf dem die Applikation gerade deployed ist. Auf den Web Service wird mit WebDynPro erfolgreich zugegriffen (dynamisch). Meine Vermutung ist, dass hier das Problem liegt und es entweder mit diesem Wizard nicht möglich ist oder ein Bug vorliegt.
Also ist die Frage: Wie erzeuge ich dasselbe für eine Portal-Applikation?
Ich hoffe, dass mir jemand mit einer Antwort oder Hinweisen wo man weiterforschen kann, weiterhelfen kann.
Freundliche Grüße,
Daniel Dehnhard
Stacktrace:
Component finished with error: (com.sapportals.portal.prt.service.soap.exception.PRTFaultEnvelopeVersion)
java.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method.
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.processParams(PRTSOAPBodyElement.java:253)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.init(PRTSOAPBodyElement.java:190)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.(PRTSOAPBodyElement.java:56)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.init(PRTSOAPBody.java:94)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.(PRTSOAPBody.java:36)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.init(PRTSOAPEnvelope.java:113)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.(PRTSOAPEnvelope.java:54)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.processSOAPMessage(PRTSOAPMessage.java:58)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.(PRTSOAPMessage.java:40)
at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:180)
at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
at de.enviam.ep.egk.km.webservicewrapper.Z_EP_EM_EGK_CustomerGroupToCRMData.getCustomerGroup2CrmDataByGPNr(Z_EP_EM_EGK_CustomerGroupToCRMData.java:218)
at de.enviam.ep.egk.km.imp.EPImpSchedulerTask.resolveGroupId(EPImpSchedulerTask.java:764)Hi,
I am accessing a web service from a Portal Component through a Portal Web Service. First i created a web service, then a portal web service which is made to access the wsdl file of the web service. Now i access the Portal Web Service from a Portal Component. Now i am getting an error as,
Exceptionjava.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method.
The code which i wrote in component is below
String text = "word";
FuncHelloResponse res=new FuncHelloResponse();
FuncHello fn= new FuncHello() ;
fn.setName(text);
res= ( (INewPortal) PortalRuntime.getRuntimeResources().getService(INewPortal.KEY)).FuncHello(fn);
response.write(res.getResponse());
Can any one solve this problem? -
I am opening this thread on behalf of my colleague Bala regarding SSO and ABAP Web Services.
We have gone through single sign on options and found several options are available within 5.0.
We would like to know the options available for SAP ABAP web services access from a Non-SAP system with user authorization but without Portal/ITS installation.
Also I would like to avoid any hard coding of user id in Non-SAP system .
Could you provide any information.
Thanks,
BalaWe have gone through single sign on options and found several options are available within 5.0.
Tell me what are the several options and what is your Non-SAP system?
without Portal/ITS installation.
ITS is now an integral part of ECC 5.0 system. So would not need a seperate installation, unlike earlier versions.
AB -
Error while invoking web service from PDK
Hi,
I had written code to invoke a sample web service which is generated through WSDL file. Started the web service and followed the sequence of steps that are described in this blog:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2947. [original link is broken] [original link is broken] [original link is broken]
But it is throwing expection - Service Not Found.
I followed the below 2 threads also, but with no success:
Google Service Example
Can not access custom portal service on EP6
Can any one please let me know where I'm going wrong.
Would appreciate if some can provide sample code/document in invoking the web service from PDK.
Appreciate your help.
Thanx,
DheeramHi Suresh & Mukesh,
Suresh:
I started the service by going through the following path System Administrator > System Configuration > Service Configuration > Application > <SERVICE_NAME> in system configuration of portal
Mukesh: Here I don't have any proxy settings.
Can you please let me know where I'm going wrong.
Thanx,
Dheeram -
Error while consuming web service in portal component
Hi All,
I am working on a portal application which uses web services in portal component via web service.
I have tested the web service and then creted a relevant portal service to it .When using this portal service in the portal component and running it Im getting the following run time error
Portal Runtime Error
An exception occurred while processing a request for :
iView : Test_portal_service_app.Test_portal_service_app
Component Name : Test_portal_service_app.Test_portal_service_app
com.sap.portal.ivs.global.ume.UMECLient.
Exception id: 11:17_03/07/08_0028_2739150
See the details for the exception ID in the log file
I did not use any ume attributes or ume api methods in the portal component .
I have also added sharingreference= portalserviceapplication name in deploymentdescriptor of the portal application which has the portal component.
Please provide any suggestion for the possible cause of error .
Urgent!!!!
Thanks.Hi all,
Please throw some light into this issue i am getting the following exception.
com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: Proxy Authentication Required.
I have given the proxy settings in the com.sap.portal.ivs.httpservice in the portal and also
defined a proxy server in the Visual Administrator under Services -> Webservice Container -> HTTP Proxy Server
I am calling service in the following manner.
IPortalRuntimeResources runtime = PortalRuntime.getRuntimeResources();
IService service = runtime.getService(IWS_P_Service.KEY);
IWS_P_Service ws_service = (IWS_P_Service)service;
Volumes from = new Volumes(Volumes.VOLUMES_KILOLITER_VALUE);
Volumes to = new Volumes(Volumes.VOLUMES_LITER_VALUE);
ChangeVolumeUnit cvu = new ChangeVolumeUnit(1200,from,to);
// working upto here
response.write("working");
ChangeVolumeUnitResponse cvu_res = ws_service.ChangeVolumeUnit(cvu);
double result = cvu_res.getChangeVolumeUnitResult();
response.write(result+"");
It is working upto "working".
If any body has any solutions please post.
Thanks -
Deserialization Error while invoking web service from JDeveloper 10g
When we tried to invoke a web service from JDeveloper version 10.1.3.4.0.4270, we got deserialization error.Here are the steps that we did to invoke the web service.
1. Using WSDL URL, downloaded WSDL file and associated XSD files into local machine using wsa.jar utility.
2. Using JDeveloper, created web service proxy project by referring the local WSDL file.Proxy got generated successfully.
3. Secured the proxy using "secure proxy" option.
4. Assigned all required values for parameters for web method.
5. When tried to invoke the web service, got deserialization error.
Exception in thread "main" deserialization error: java.lang.NumberFormatException
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:155)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ValuesetType_LiteralSerializer.doDeserialize(ValuesetType_LiteralSerializer.java:151)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ListOfVSType_LiteralSerializer.doDeserialize(ListOfVSType_LiteralSerializer.java:67)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.valuesetservice.runtime.GetVSRespType_LiteralSerializer.doDeserialize(GetVSRespType_LiteralSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._deserialize_getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:129)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._readFirstBodyElement(ValuesetServiceSoapHttp_Stub.java:115)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub.getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:79)
at pimut.proxy.ValuesetServiceSoapHttpPortClient.getValueSetDetails(ValuesetServiceSoapHttpPortClient.java:40)
at pimut.ValuesetServiceClient.get_object(ValuesetServiceClient.java:87)
at pimut.ValuesetServiceClient.main(ValuesetServiceClient.java:34)
CAUSE:
java.lang.NumberFormatException
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:155)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ValuesetType_LiteralSerializer.doDeserialize(ValuesetType_LiteralSerializer.java:151)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ListOfVSType_LiteralSerializer.doDeserialize(ListOfVSType_LiteralSerializer.java:67)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.valuesetservice.runtime.GetVSRespType_LiteralSerializer.doDeserialize(GetVSRespType_LiteralSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._deserialize_getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:129)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._readFirstBodyElement(ValuesetServiceSoapHttp_Stub.java:115)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub.getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:79)
at pimut.proxy.ValuesetServiceSoapHttpPortClient.getValueSetDetails(ValuesetServiceSoapHttpPortClient.java:40)
at pimut.ValuesetServiceClient.get_object(ValuesetServiceClient.java:87)
at pimut.ValuesetServiceClient.main(ValuesetServiceClient.java:34)
Caused by: java.lang.NumberFormatException
at java.math.BigDecimal.<init>(BigDecimal.java:457)
at java.math.BigDecimal.<init>(BigDecimal.java:647)
at oracle.j2ee.ws.common.encoding.simpletype.XSDDecimalEncoder.stringToObject(XSDDecimalEncoder.java:51)
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:142)
... 17 more
Process exited with exit code 1.
We think that the exact cause for the problem is as follows.
1. If we check the XSD file corresponds to response object, for one of the element, the type is decimal
<xsd:element minOccurs="0" name="ParentValueSetId" nillable="true" type="xsd:decimal"/>
2. In the SOAP response, this element is empty so during deserialization, the numer format exception occurred in LiteralSimpleTypeSerializer class.
Any help is greatly appreciated.Hi Suresh & Mukesh,
Suresh:
I started the service by going through the following path System Administrator > System Configuration > Service Configuration > Application > <SERVICE_NAME> in system configuration of portal
Mukesh: Here I don't have any proxy settings.
Can you please let me know where I'm going wrong.
Thanx,
Dheeram -
Hi,
I am trying to call a web service from VC.
I am using an HTTPS link as the WSDL. When I access the web service directly via wsnavigator it is working, when I use VC I am getting: Portal request failed. Could not execute web service consult administrator.
Any ideas???
Thanks
IsmailHi Ismail,
there are many reasons for your error, I list the most usual ones:
-It could be that you have no enought permissions to create a system in the portal environment. Ask your administrator if you have grant permissions for doing this task.
-You could ask your administrator to create a system from an WSDL in the portal environment. He should grant your permissions to use it in the Visual Composer.
Also, i let you a how to guide for consuming webservices in Visual Composer:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e017128b-0c01-0010-fa85-e3a576f1a40d -
Error calling web service from Viusal Composer
Hello:
I'm accessing entity services methods published as web services from a composite application from Visual Composer. I'm using version 7.0 SR3 SP15.
Iu2019m able to access create and read methods from entities services. But from same getAll() methods Iu2019m getting access error. When I execute the same getAll() method from u201CWeb Service Navigatoru201D it works ok. But from Visual Composer itu2019s not working. That happens only for same entities for others itu2019s working ok.
From VC Iu2019m able to select the WDSL and use I in the iViews. The other methods of the iView works ok except for the getAll.
I have already set the options of VC to not keep a cache of web services definition and review and recreate the system in portal landsacape and teh related alias to access the web services. I have laso checked te user and password in the mapping.
Thabk you in advance for your help.
Regards.Hello:
Using the infprmation in the link that you pass me I was able to look into the log files and see what the problem is.
The getAll service as it is geerated by NWDS receive an input paramter:
queryFilter (test.types.p1.GetAllQueryFilter)
In VC when I drop the getAll method from the corresponding service data into the working area. That input parameters doesn't apper aonly the output parameter.
Then when I execute or test that service. The portal is giving an error:
Full Message Text
com.sap.engine.services.webservices.additions.soaphttp.exceptions.ProcessException: Cannot find the required parameter [queryFilter] in request message
But that parameters was never recognized by VC.
Thank you in advance for your help again. -
Error when calling Web Service from Adobe Form
Hi all,
I need to invoke a Web Service from my Adobe Interactive Form. I have merged the WSDL files, following the steps in this document:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/148ec26e-0c01-0010-e488-decaafae3b26
But when I press the corresponding button in order to call the web service, I get the following error:
"Error trying to read file.
http://<my_host>:51000/<my_WS>/Config1?style=document"
It seems to be an error in my configuration, because I'm sure that I have followed all steps in the previous PDF.
Any idea?
Thanks.Well, I think so... I've followed all the steps, and my merged WSDL file seems like the one in page 12...
Any suggestion, please?
Thank you, -
Call webdynpro java Web Service from ABAP
Hello,
This is regarding calling portal web service from ABAP.
1. created web service in NWDS and deployed it to portal server
2. created abap proxy to call this web service from abap SE80 transaction
3. created logical portal for the above proxy LPCONFIG transaction
this is working perfectly. the web service is getting called from abap and funcitonality is working
but my doubt is we have no where given the login password for portal server in the abap system
then how come it works without login password
if i run this web service directly from portal in wsnavigator, then portal login is required.
If we want to incorporate authentication then how to do that ?
thankyou,
BWhen you are testing the application in SE80.
Is it ot asking for the user id password.
I created a similar service and for me its asking for user id and password.
Go to SM59 and there look for a RFC destination of type HTTP Connection to External Serv. usually will be named as
SAP_PROXY_ESR.
for this connection check the logon and security tab.
may be some user id and password is given there. means hardcoded.
thanks
sarbjeet singh -
Significance of creating web service from XI
Hello,
We can create the web service from Integration directory in XI. What could be the significance of creating web service by this approach?
Thanks,
AmitAmit,
Refer the below documents to get more idea.
/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
https://wwwn.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
Best regards,
raj. -
Calling j2ee web service with portal user
Hello,
I created web service using Nwds Ejb.
I want to run this web service from sap portal iview and to receive the same user Id that logon to the portal , on the web service side.
In the j2ee Ejb code I am using :
try{
String username = myContext.getCallerPrincipal().getName();
IUser user =
UMFactory.getUserFactory().getUserByUniqueName(username);
return user.getUniqueName;
} catch(UMException e) {
return e.getMessage();
But the result is always Guest ?
even if I selected use sap authentication on the wsdl descriptor.
Need some help solving this issue?
Thanks in advance
NirHi,
And Could we know how you manage this?
I'm also interested in resolving this kind of issue.
Edited by: Xavier Tendron on Oct 19, 2009 3:23 PM
Maybe you are looking for
-
My iPod touch screen went fuzzy with pink and white stripes
Hello! I really appreciate if anyone would tell me what's wrong with my iPod touch. I have been using my iPod touch for less than a year, and honestly, I have quite a bad habit: I always use it for playing games. And sometimes, I even use it while it
-
Creative cloud installer download error
Hello, one of the persons in my Adobe Creative Cloud team installed all programs from the package, but Photoshop does not appear in the Applications folder on her mac after this. In the Adobe Creative Cloud program, whenever we go to the Apps pane, w
-
Multiple Invoice Check while doing GR using MIGO
Hi all, I have made the Check Double Inv check in Vendor master and also maintained the config for set check for duplicate invoice. In set check for duplicate invoice i selected all the 3 options. Still i am able to make GR on the same Invoice more t
-
Hello, I have a problem with a few emails i wrote which were in the outbox. The outbox disappeared all of a sudden with my mails... However they were not sent since the email address was not correct (just 3 initials). I was waiting to find out the co
-
Is there any Scripting tool available?
Hi, I am brand new to Web AS and wondering is there any command line scripting tool available within Web AS? For example, something similar to BEA's WebLogic Scripting Tool (WLST) that is based on Jython or IBMs WebSphere Administrative (wsadmin) th