WebServices-Role of XI
Hi All SDNers,
I am new to the concept of Webservices and SOAP, I have invoked a WebService through R/3, so I want to know the role and use of XI in terms of WebServices, If a WebService can be created directly through R/3 what is the use of SOAP adapter in XI. Please guide.
Regards,
Gautam.
Hi
Take an example
A SAP Web Dynpro client sends a Web service request to SAP XI. The request performs
a credit limit check and contains the amount as one of the input parameters. Based on a
routing rule in SAP XI, the Web service request is directed to an SAP R/3 system (for
small amounts) or to a .NET application (for larger amounts).
Will it be possible otherwise??
To only make these things possible we use XI and particularly Soap Adapter of XI.
Thanks
Similar Messages
-
Webservices roles and profiles r/3
Hi gurus i have a little problem i guess
i develop a web service and i want that an extern client use this webservice.
the basis consultan has created an user and he has assigned the sapall and sap new profile and the role.
the client executes the webservice without problem, but i dont want that the user has this profiles, i need to restric the prmissions of the user created by the basis consultant
and when the basis consultant take out the sap all and sap new profile and assing other profile an role the webservice cant be executed, the error is that the user has not permission to execute the function group zsd001.
Does any one knows which roles and profiles does the basis consultant has to assign to the user?
thanks.thanks gurus
-
Windows Server 2008 R2 with multiple Roles OS Rebuild, Need help with Certificates.
Hi,
I have rebuilt a Server for my client and I require help with certificates..
I am unsure exactly what to do to get this server working as it was.
Example, The Windows Server 2008 R2 has Microsoft Exchange, DNS, DHCP, ADDS, FileServices,Network Policy and access Services and Webservices roles installed on a single box.
Since the Server OS Rebuild I am getting 2 issues that pop up usually when Outlook in opened on a client Workstation,
I have not dont anything certificate wise to the server since OS Install, and the messages I get and best described here
I seen on a backdrive, a few certificate files I dont know if we can use these files for anything but we have the following files of drive E (Backup)
e:\server.xxxx.com.au\gd_iis_intermediates.p7b
e:\server.xxxx.com.au\server.xxxx.com.au.crt
e:\ssl\2013-2018.cer
1st Message is about a Proxy certificate I dont get this often but saw it today and my client clicked ok too quickly.
I have seen it and didnt see it again after trying to close outlook and reopen
I looked up google images and tried to find it...
It's like this, (There is a problem with the proxy server's security certificate.
The security certificate is not from a trusted certifying authority.)
2nd Message is about Security Alert, Autodiscover.xxxx.com.au Information you exchange with this site cannot be viewed or changed by others. However, there is a problem with the sites security certificate.
-X- The security certificate was issued by a company you have not chosen to trust. View the certificate to determine whether you want to trust the certificating authority
-TICK- The security certificate date is valid
-X- The name on the security certificate is invalid or does not match the name of the site
Do you want to preceed
[Yes][No][View Certificate ...]
3rd Message is very Close to the 2nd Message, is about Security Alert, xxxx-server.xxxx.local, Information you exchange with this site cannot be viewed or changed by others. However, there is a problem with the sites security certificate.
-X- The security certificate was issued by a company you have not chosen to trust. View the certificate to determine whether you want to trust the certificating authority
-TICK- The security certificate date is valid
-TICK- The name on the security certificate is invalid or does not match the name of the site
Do you want to preceded
[Yes][No][View Certificate ...]
If you can help guide me thou this as I'm very new to setting up certificates. I had a friend tell me about something in DNS.. but he has been super busy and I want to learn what to do.
Thank-You.Hiya,
quite a lot has the same confusions as you do, so I've written a simple explanation on the subjet of certificates
http://jesperarnecke.wordpress.com/2014/03/22/certificates-simple-explanation/
Let me know if that helps you and if you need further assistance. -
Application Catalog Site URL Auto Selection Producing Unexpected Results
Hi All,
Thank you in advance for the help.
We have a client with about 90k computers managed by a CAS and four child primary sites. Each of the four primary sites exists in the AN forest and
has a DMZ remote site system with MP, DP, SUP and AppCatalog Website Roles to support IBCM clients in the AN forest. The AppCatalog WebService Role is hosted on the primary site servers themselves.
Additionally we support two remote non-trusted forests, CVGH and QH. We have deployed a single DMZ server in each of the remote forests with MP, DP,
SUP and AppCatalog Website Roles to support IBCM clients in the remote forests. (There are also Intranet site systems in the CVGH and QH forests supporting these forests’ clients within the primary sites.)
All certificates are configured correctly. All authentication is working as expected. Clients in remote forests are able to deploy packages/applications/software
updates via Computer Policy and User Policy successfully. Each DMZ server has its own Internet published FQDN and is configured for Internet Only client communication via https.
Clients within the AN forest connected via the IBCM DMZ servers in the AN forest are provided with the correct Internet facing FQDN for their respective site’s Application
Catalog and these FQDNs are successfully inserted into the Trusted Sites Zone. For example, a client in the PR1 site that exists in the AN forest is furnished with the FQDN for that site’s AN DMZ remote site system. This results in the Application Catalog
link in Software Center successfully launching the Application Catalog from the Internet. The user is prompted for credentials from the AN forest and successfully authenticates to the Application Catalog and is able to install software as desired.
Clients within a remote non-trusted forest should be furnished with the FQDN of the remote non-trusted forest’s DMZ site system within the PR1 site for example. A client
in the QH forest which is managed by a DMZ server in the QH forest which is attached to the PR1 site is not, however, furnished with the correct FQDN for the QH forest’s DMZ site system. Instead it receives the FQDN of the AN forest’s DMZ site system. This
results in user’s attempting to launch the Application Catalog from the link in Software Center and being prompted for authentication against the wrong Application Catalog URL (in the wrong forest) and hence against the wrong forest entirely.
If we manually open a browser from a ConfigMgr client computer in the QH forest and open the correct FQDN URL for the QH DMZ site server’s Application Catalog website
instance from the Internet we are prompted to authenticate against the correct (QH) forest and are able to successfully download applications from the Application Catalog.
The issue is that per Technet the QH client should be furnished (or choose I’m not sure) the FQDN of the https: enabled DMZ site server in its forest as its Application
Catalog Website URL according to the rules of Application Catalog Automatic Site Selection (right?). The clients in our remote forests are not being provided with the correct FQDN for their respective forest’s DMZ site system’s Application Catalog roles or
are not updating these FQDNs in the Software Center link to the Application Catalog Website.
I have closely followed this article for troubleshooting:
http://blogs.technet.com/b/configmgrteam/archive/2012/07/05/tips-and-tricks-for-deploying-the-application-catalog-in-system-center-2012-configuration-manager.aspx
We believe our Default Client Settings are configured correctly as the Application Catalog website configuration is set to auto-detect. There is a higher priority workstation
only Client Settings that has the same auto-detect configuration for the Application Catalog that we believe is configured correctly as well.
We do not believe configuring another Custom Client Setting to hard code a URL for the remote forest would work as it would point Intranet computers to the FQDN for
the Internet DMZ servers when they should be pointed at the Intranet remote site systems for their respective forests.
LocationServices.log and ClientIDManagerStartup.log both fail to indicate any issues that I can identify. Clients are successfully assigned to the correct sites. Clients
are able to communicate with their respective Management Points in the DMZ. No errors are shown in the Application Catalog websites when they are manually accessed by their correct FQDNs.
There are no errors that I have seen in the portal logs for the Application Catalogs. As evidenced by their successful functionality when manually specifying the correct
site system’s FQDN in a browser we have no reason to believe that there is an issue with the Application Catalog websites themselves just the mechanism by which ConfigMgr clients are furnished with the correct FQDN for their forest and DMZ site system.
Again, thank you for your help. Any input is much appreciated.Spoke to CSS. This is expected behavior FYI.
-
What are the roles need to add for webservice user in SAP ECC 6.0
Dear SDNS,
Can you please help me to understand , what are the roles needed to add while creating a webservice user in ABAP STACK.
Really appreciate your immediate help and response.
Thanks and Regards.
SurajHi Suraj,
Please refer to this link & apply the role/s as per the requirements for the web service user:
[http://help.sap.com/saphelp_nwpi71/helpdata/en/2b/07074155bcf26fe10000000a1550b0/content.htm]
Best Regards, Trevor -
Cannot see Roles for my WebService
I am trying to automate the following steps i do through WLS Console :
a. In the Weblogic console's Home page, click on Deployments link form left, find "gateway-management-service"
b. Expand, "gateway-management-service" and click on "GatewayManagementService" ( this is a webservice module )
c. Click on Security tab then the Roles tab.
d. Click "New" in "Web Service Module Scoped Roles" section.
e. In the new windows, set the name as "Special WS Role Enforcement" and click OK.
f. click on the link "Special WS Role Enforcement".
g. In the new page, Click on "Add Conditions" and select "User" in the new page and click Next.
h. In the new page, enter "CSR.gatewaywsuser" in the "User Argument Name", then click "ADD"
i. Click on Finish.
j. Save.
i have test.py as:
connect('weblogic', 'welcome123', 'localhost:7001');
realm=cmo.getSecurityConfiguration().getDefaultRealm();
xacmlatz = realm.lookupAuthorizer('XACMLAuthorizer');
xacmlrm = realm.lookupRoleMapper('XACMLRoleMapper');
resourceId = 'type=<webservices>, application=gateway-management-service, contextPath=gwy_management_service, webService=GatewayOidManagerService'
xacmlatz.createPolicy(resourceId, "Rol(Special WS Role Enforcement )");
xacmlrm.createRole(resourceId, "Special WS Role Enforcement ", "Usr(CSR.obigatewaywsuser )")
I run this script like :
$MW_HOME/oracle_common/common/bin/wlst.sh test.py
My problem : after executing the above script, when i go to Console -> Deployments -> gateway-management-service -> GatewayManagementService -> Security Tab -> Roles subtab, i don't see the Role. If try to run the script again it will fail with an weblogic.management.utils.AlreadyExistsException: [Security:090320]Failed to create role
What am i doing wrong?
I have tried bouncing both my managed and Admin server after running the test.py to see if that helps, but no success.
Edited by: codrguy on May 9, 2013 10:27 AM
Edited by: codrguy on May 9, 2013 10:38 AMHi Roger,
It is https://itunes.apple.com/us/podcast/marketing-tips-for-translators/id810122938 -
Which roles do i have to get to execute a webservice
Hi gurus , does any one know wich kind of roles and permissions do i have to get to execute a webservice?
thanks.Hi,
Pls try to psot the same in the Portal Management you may find the answers.
<removed by moderator>
Regards
Chandralekha
Edited by: Jan Stallkamp on Jul 17, 2008 8:56 PM -
Hi,
I am trying to run(test)a WebService. I am getting
an error message as below shown
You are not authorized to view the requested resource.
I think I need to add an additional role in SU01.
Do you know which role ?
Regards
sasJust assign these to the user id
You need the Role: SAP_BC_WEBSERVICE_ADMIN
Full authorization for Authorization Object: S_SERVICE
Regards
Kathirvel -
OIA webservice for removing user role
Hi,
I need information regarding web services exposed in OIA for removing roles etc. We need it in our environment wherein we may not be having priviledge to make database query directly for removing user roles.
(the use case is as follows:
when user id disabled in OIM, assosciated database resource (DBAT, OIA database is used;rbx_users) is disabled ,and user's role is to be removed)
how this can be achieved via web-service call.
any pointers will be helpful
regards,
chhaviHi Pallavi,
i have the same problem, can you provide me more specific details?
-exactly oimjdbc.properties location please?
-which is what I have to modify?
Thanks in advance! -
IRM WebService. Role creation
Hello.
I'm trying to implement an app, which has to create new user and server role.
I'm using Web Services from C#.
IRM server version: 5.4 release 5 build 10 (Oracle IRM 10.1.3.5.0)
I'm able to connect to server, create a user, but I have troubles creating a new role on Licensing server.
I'm creating a new Role object and when I call ResourceServices:saveNewResourceRole() method I got error:
SealedMedia Exception
Description: Not Exists
Code:258017
Comment: The license template 'TestRole' (content set '360df29b-8b6d-4598-96d0-4abfde52961e', publisher 'LicenseServer') does not exist
Reading smcomponents.chm is not very helpful.
PS.
I tried to call saveNewResourceRole with Role, I got from server - and it works fine. Except it doesn't create new role - but changes Role data
CODE SAMPLE
// get license server instance
LicenseServerResourceServicesSoap admSoap = new LicenseServerResourceServicesSoap();
admSoap.Credentials = m_WsAuth;
admSoap.PreAuthenticate = true;
ResourceInstance serverResInstance = admSoap.getServerResourceInstance(m_LicServRef);
// create resource SOAP proxy
ResourceServicesSoap resourceSoap = new ResourceServicesSoap();
resourceSoap.Credentials = m_WsAuth;
resourceSoap.PreAuthenticate = true;
// create an ResourceInstance_ref object
ResourceInstance_ref resInstanceRef = new ResourceInstance_ref();
resInstanceRef.resourceInstanceKey = serverResInstance.resourceInstanceKey;
resInstanceRef.resource = serverResInstance.resource;
// create a new ResourceRole to submit on server
ResourceRole resRole = new ResourceRole();
resRole.name = "TestRole";
resRole.instance = serverResInstance.roles[0].instance;
resRole.role = new Role();
resRole.role.description = "auto-created";
resRole.role.itemRestrictions = Role_ItemRestriction.Disallowed;
// save new role on server
resourceSoap.saveNewResourceRole(resInstanceRef, resRole);
Edited by: zinzila on 16.02.2010 23:48Solved the problem.
Instance field of ResourceRole class must not be set. -
Changing Portal Role after the status change of user status at the CRM end.
Hi,
I have Portal with Java database as the default and CRM is connected to it using SSO.The database in both the case in separate.The users that are created in Portal will have a BP status in CRM sytsem.
Now my requirement is that if the status of the BP gets changed at the backend simultaneoulsy its Portal role should also gets changed.How shall i facilitate this procedure of changing the Portal Role?
Is there any RFC ,BAPi or Webservices required for this?
Regards,
Amarys
Edited by: amarys on Sep 13, 2011 11:20 AMHello,
Since the status has no number it will appear under statuses W/O number bottom right in status overview window.
These status will appear as additional text beside current user status. For example if user staus is BUG and status without number is DFL and sets when deletion flag is set and gets deleted when it is revoked than user status will appear as
BUG DFL -
Deletion flag set.
BUG -
When deletion flag revoked.
You have to live with it. I don't think there is a way out for that.
Thanks
Saikishore Ganga. -
What settings are reqd. for consuming a webservice in 6.2 - Other questions
Hi,
I have been following the below mentioned blog to create a program to consume a webservice.I am currently on Enterprise version(4.7), release 6.2.
I get a communication_failure(sy-subrc = 1) when using "METHOD http_client->receive".Please let me know if you have any solutions.(The code of the program is in the blog..link mentioned below)
Could the group provide solutions to the following in relation to blog mentioned below:
Webservice consuming using ABAP in 6.2
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
- What Proxy settings are required to be performed,
where can we perform the same
- What is the information required to fill the user id
and passwords for ? - Are the credentials for the
webservice we are calling or for the proxy
(correct me if i am wrong)
- How can we fill the fields Proxy and port, how do they
play a role.
Thank youHi,
As reply to his blog DuraiRaj Athavan Raja has provided the following information.Thank you Raja.
http_client->receive - Communication failure obtained
2006-07-18 22:29:04 Durairaj Athavan Raja [Reply]
do you connect to internet via proxy? if yes you have to either code proxy authentication or simply maintain it in transaction SICF.
go to
SICF->client->proxy settings
go to http_log tab
host name: proxyhost.domain.com
port: <portno>
user - > proxy user id
pwd -> proxy pwd and save it .
and this setting is per client , so you have to do that for all clients.
Regards
Raja
I am working on getting the proxy settings completed and will update the post when i am through with all the findings. -
How to create a user in Opensso Identity Service Webservices api?
Hi All,
I am getting struck with the creation of user in OpenSSO through the webservices api they are providing.
I used the following wsdl link to create the API's. http://localhost:8080/opensso/identityservices?WSDL
Now my requirement is, i have to create a user profile through the program which has the api create(identity,admin) created by the WSDL link.
Here identity is the com.sun.idsvcs.IdentityDetails and admin is the com.sun.idsvcs.Token. I want to append givenName,cn,sn,userPassword in that. But dont have any idea how to given these details in IdentityDetails. If anyone give any sample solution i can follow.
Any Help Greatly Appreciated.
Thanks in Advance.
With Regards,
Nithya.Hey, I've managed to implement OpenSSO user registration through SOAP.
My code is:
package ru.vostrets.service.implementation.helper.opensso;
import ru.vostrets.model.person.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ru.vostrets.dao.PropertiesDao;
import ru.vostrets.exception.FatalError;
import com.sun.identity.idsvcs.opensso.*;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.LoggerFactory;
import org.slf4j.Logger;
import ru.vostrets.exception.ConfigurationError;
* @author Kuchumov Nikolay
* email: [email protected]
@Service
public class OpenSsoPersonServiceHelper
private enum AttributeName
USER_NAME("uid"),
PASS_WORD("userpassword"),
GIVEN_NAME("givenname"),
FAMILY_NAME("sn"),
FULL_NAME("cn"),
EMAIL("mail");
private final String name;
AttributeName(String name)
this.name = name;
public String getName()
return name;
private static final Logger LOG = LoggerFactory.getLogger(OpenSsoPersonServiceHelper.class);
private PropertiesDao propertiesDao;
public void create(Person person)
try
IdentityServicesImplService service = new IdentityServicesImplService();
IdentityServicesImpl servicePort = service.getIdentityServicesImplPort();
java.util.List<java.lang.String> attributeNames = null;
Token subject = new Token();
subject.setId(request.getParameter("token"));
UserDetails results = servicePort.attributes(attributeNames, subject);
for (Attribute attribute : results.getAttributes())
LOG.info("************ Attribute: Name = " + attribute.getName() + ", Values = " + attribute.getValues());
LOG.info("Roles = " + results.getRoles());
IdentityDetails identity = newIdentity
person.getCredentials().getUserName(),
getAttributes(person)
* Creates an identity object with the specified attributes.
* @param admin Token identifying the administrator to be used to authorize
* the request.
* @param identity object containing the attributes of the object
* to be created.
* @throws NeedMoreCredentials when more credentials are required for
* authorization.
* @throws DuplicateObject if an object matching the name, type and
* realm already exists.
* @throws TokenExpired when subject's token has expired.
* @throws GeneralFailure on other errors.
servicePort.create
identity,
authenticateAdministrator()
catch (DuplicateObject_Exception exception)
throw new UserAlreadyExistsError();
catch (Exception exception)
//GeneralFailure_Exception
//NeedMoreCredentials_Exception
//TokenExpired_Exception
throw new FatalError(exception);
private Token authenticateAdministrator()
try
IdentityServicesImplService service = new IdentityServicesImplService();
IdentityServicesImpl servicePort = service.getIdentityServicesImplPort();
if (propertiesDao.get().getAuthentication().getOpenSso().getAdministrator().getUserName() == null
|| propertiesDao.get().getAuthentication().getOpenSso().getAdministrator().getPassWord() == null)
throw new ConfigurationError("OpenSSO administration properties not initialized");
* Attempt to authenticate using simple user/password credentials.
* @param username Subject's user name.
* @param password Subject's password
* @param uri Subject's context such as module, organization, etc.
* @return Subject's token if authenticated.
* @throws UserNotFound if user not found.
* @throws InvalidPassword if password is invalid.
* @throws NeedMoreCredentials if additional credentials are needed for
* authentication.
* @throws InvalidCredentials if credentials are invalid.
* @throws GeneralFailure on other errors.
Token token = servicePort.authenticate
propertiesDao.get().getAuthentication().getOpenSso().getAdministrator().getUserName(),
propertiesDao.get().getAuthentication().getOpenSso().getAdministrator().getPassWord(),
LOG.info("******************************** Admin token: " + token.getId());
return token;
catch (Exception exception)
throw new FatalError(exception);
com.sun.identity.idsvcs.opensso.IdentityServicesImplService service = new com.sun.identity.idsvcs.opensso.IdentityServicesImplService();
QName portQName = new QName("http://opensso.idsvcs.identity.sun.com/" , "IdentityServicesImplPort");
String request = "<authenticate xmlns=\"http://opensso.idsvcs.identity.sun.com/\"><username>ENTER VALUE</username><password>ENTER VALUE</password><uri>ENTER VALUE</uri></authenticate>";
try
// Call Web Service Operation
Dispatch<Source> sourceDispatch = null;
sourceDispatch = service.createDispatch(portQName, Source.class, Service.Mode.PAYLOAD);
Source result = sourceDispatch.invoke(new StreamSource(new StringReader(request)));
catch (Exception exception)
// TODO handle custom exceptions here
private Attribute newAttribute(AttributeName name, Object value)
Attribute attribute = new Attribute();
attribute.setName(name.getName());
attribute.getValues().add(value.toString());
return attribute;
private Map<AttributeName, Object> fillAttributes(Map<AttributeName, Object> attributes, Person person)
attributes.put(AttributeName.USER_NAME, person.getCredentials().getUserName());
attributes.put(AttributeName.PASS_WORD, person.getCredentials().getPassWord());
attributes.put(AttributeName.GIVEN_NAME, person.getPersonal().getGivenName());
attributes.put(AttributeName.FAMILY_NAME, person.getPersonal().getFamilyName());
attributes.put(AttributeName.FULL_NAME, person);
attributes.put(AttributeName.EMAIL, person.getContacts().getEmail());
return attributes;
private Map<AttributeName, Object> getAttributes(Person person)
return fillAttributes(new HashMap<AttributeName, Object>(), person);
private IdentityDetails newIdentity(Object name, Map<AttributeName, Object> attributes)
IdentityDetails identity = new IdentityDetails();
identity.setName(name.toString());
return fillAttributes(identity, attributes);
private IdentityDetails fillAttributes(IdentityDetails identity, Map<AttributeName, Object> rawAttributes)
for (Map.Entry<AttributeName, Object> rawAttribute : rawAttributes.entrySet())
identity.getAttributes().add(
newAttribute(rawAttribute.getKey(), rawAttribute.getValue()));
return identity;
@Autowired
public void setPropertiesDao(PropertiesDao propertiesDao)
this.propertiesDao = propertiesDao;
} -
Error while trying to assign a role via CUP in Portal
Hello Experts,
I am trying to create a request to assign a role in EP via CUP ( 5.3)
EP Connector is working fine as I have imported Portal roles etc
SPML service is working fine
I have done the mapping in the Provisioning tab for Portal system
logonname in portal is email address of an employee
So the I have done the following mapping
AC Field Application field
email addres-Stndard logonname
And I have the following error while trying to create a request which I grabbed form the log
ERROR Exception during EJB call, Ignoring and trying Webservice Call
LinkageError: loader constraints violated when linking com/virsa/cc/xsys/webservices/dto/WSRAInputParamDTO class
ERROR com.virsa.ae.core.BOException: Exception from the service : Invalid System
com.virsa.ae.core.BOException: Exception from the service : Invalid System
ERROR : BO Exception in Save request
Any suggestions would be really appreciated
Regards
KevKevin,
I was able to replicate your issue and there is a setting in the CUP that you have to disable, Goto the config tab in the CUP and select NO for the "Risk Analysis On Request Submission " under risk analysis.
Issue here is you did not create a connector for your EP in the RAR, I believe you have the above mentioned parameter to yes and so when you are submitting a request CUP is trying to do the risk analysis but RAR was not able to find any System, so it is thowing an error.
You can resolve this issue in two ways, one is to create a connector in RAR or the other is to disable the setting in the CUP.
Hope this helps.
Naveen -
Error when testing a webservice - Exception raised in class CL_SOAP_REGIST
Dear coleagues,
I've got an issue concerning the AS ABAP SOAP Runtime. The system is an ERP 6.0 with SP13.
If I try to test the service in WSADMIN by using the test-button, I just get an exception after the internet browser opens:
A Soap Core Exception was raised in Method CL_SOAP_REGISTRY::generate_wsdl(6)
Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59
I did a look into the coding and think that the exception is raised since the methode
Hi folks,
I've got an issue concerning the AS ABAP SOAP Runtime. The system is an ERP 6.0 with SP13.
At first I create a Web Service by using the context menue of an existing rfc-enabled function module. Afterwards the service is visible in SICF. If I try to test the service in WSADMIN by using the test-button I only get an exception in the opening internet browser:
Cannot download WSDL from http://serverurl:8027/sap/bc/srt/rfc/sap/ZSTMA_FUNKTIONSTEST2?sap-client=100&wsdl=1.1: Invalid Response Code: (400) Bad Request. The requested URL was:"http://ciswi.sap.swm.de:8027/sap/bc/srt/rfc/sap/ZSTMA_FUNKTIONSTEST2?sap-client=100&wsdl=1.1"
If I go onto the used url I get the following message:
Your request could not be processed
SRT: ASSERT failed: object reference not bound
What has happened?
A Soap Core Exception was raised in Method CL_SOAP_REGISTRY::generate_wsdl(6)
Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59
I did a look into the coding and found out that the exception is raised since
Hi folks,
I've got an issue concerning the AS ABAP SOAP Runtime. The system is an ERP 6.0 with SP13.
At first I create a Web Service by using the context menue of an existing rfc-enabled function module. Afterwards the service is visible in SICF. If I try to test the service in WSADMIN by using the test-button I only get an exception in the opening internet browser:
Cannot download WSDL from http://serverurl:8027/sap/bc/srt/rfc/sap/ZSTMA_FUNKTIONSTEST2?sap-client=100&wsdl=1.1: Invalid Response Code: (400) Bad Request. The requested URL was:"http://ciswi.sap.swm.de:8027/sap/bc/srt/rfc/sap/ZSTMA_FUNKTIONSTEST2?sap-client=100&wsdl=1.1"
If I go onto the used url I get the following message:
Your request could not be processed
SRT: ASSERT failed: object reference not bound
What has happened?
A Soap Core Exception was raised in Method CL_SOAP_REGISTRY::generate_wsdl(6)
Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59
I found out that the exception is raised since CL_SRT_WSDL_GEN_FACTORY=>GET_WSDL_GENERATOR doesn't return an instance of the class referring to the interface IF_SRT_WSDL_GEN.
If I test that method in SE24 using the name of the service definition in SE80 for the parameter WSD, the value '1' fpr the parameters TYPE and STYLE, an instance of the class CL_SRT_WSDL11_GEN is rendered.
Could you give any hints how I could debug that issue to verify the import parameters when the static method CL_SRT_WSDL_GEN_FACTORY=>GET_WSDL_GENERATOR is called in the body of the browser call ?
Or any other hints?
Thank you very much and best regards
StefanThe issue was due to missing authorizations of the RFC-user (type 'Communication') calling the webservice. The RFC-user itsself has been assigned before to the webservice in the http-service tree (transaction SICF). RFC-User needs (at least) the role SAP_BC_WEBSERVICE.
Maybe you are looking for
-
Ipod Touch Wont Sync to Itunes
Hey, so my ipod touch hasnt worked right with itunes for a while now, ive done a lot of things trying to get it to work but heres the issue. When i plug in my itouch, itunes doesnt do anything. Ive made sure the sync automatically setting is on, but
-
I have tried various upgrades/updates of Firefox (4 and above). I currently have Firebox beta 18. EVERY TIME I load a page, the browser will always hang and I get "Not Responding" in the status bar. The hang time is usually more than a few minutes or
-
New iMac 21 2.7 crashing few times a day..
Hello, I Have 3 Early models of iMacs from 2008 Also Mac Mini 2012 Zero Problems I bought 2.7 21 iMac 2 month ago This machine crashes ..A lot and reboot itself I tried to reinstall new fresh from beginning- did not help.. A typical error log after r
-
Can't Download Application Updates in iTunes
Ever since the last update (before 8.2) I cannot download updates to my purchased apps in iTunes... whenever I sign into the login box... it just re-prompts me to sign in again!! If I enter a wrong password, it flags the error, but will not accept my
-
Safari header not displaying url or search
My kid inadvertently hit something, and now my url box and search box are missing from the Safari header. How do I get them back?