Creating Webservices using SOA Manager

Hi All,
I have created a webservcive for a FM using the serivce wizard and configuring the same in SOA manager transaction. This needs to be consumed by a Flex application. But we not able to consume it? Do i need to create consumer proxy for this in SOA Manager? For this once again do i need to create Logical port ?
I am new to using this? Immediate help reagarding this is highly appreciated as this is an urgent requirement.
Thanks and regards,
Uma

Configuring your WS via SOAMANAGER or WSCONFIG/ WSADMIN is not all. After you do the config, you need to publish it.
In order to publish:
Go to Txn SM59 and create two TYPE G destinations for:
1. UDDI INQUIRY and
2.UDDI Publish
Make sure you have OLD_UDDI attached to your user profile.
Then go to txn: SUDDIREG to register your destinations.
Open your WS in SE80 and go to variants tab.
on the UDDI node right click and publish to the UDDI registry you menytioned in SUDDIREG.
Then open your UDDI Client:
http://<Host
Name>:<J2ee Port#>/index.html.
search your registry .. if found the WS published successfully.,
Pls reward points if this is helpful.

Similar Messages

  • Unable to create WebService using Wizard

    XML experts,
    I am following the 'How to...Send XML Data to BW' guide.  In Step 26, for BW 3.5, I start to create WebService using SE37 and use the Wizard.  I go thru all the steps as follows:
    Virtual Inteface:  Myservice
    Short Description:  Myservice
    Endpoint Type:  Function Module
    Check  Name Mapping box
    Function Module:  /BI0/QI6ASENDXMLDATATOBW_RFC
    Name:  Myservice
    Short Description:  Myservice
    Profile:  Basic Authorization: SOAP Pro
    If you select Complete, the following objects are created in the Object Navigator:
    The virtual interface Mydemo
    The Web service Mydemo
    The address of the Web service is default_host/sap/bc/srt/rfc/sap/Mydemo
    In addition, the Web service definition is released for the SOAP runtime.
    To find the address of the Web service, use the transaction WSCONFIG, which supports you when you publish a Web service in the UDDI.
    WHEN I PRESS COMPLETE, I get a message 'Object can only be created in SAP Package'.  I SELECT OK and get the CREATE OBJECT DIRECTORY ENTRY popup for entering package info for transport.
    <b>Question:  Is this normal?  I tried local object ($tmp) and ZBIW, but it does not take it.  Says, test object cannot be created in foreign namespaces.  What do I need to do to bypass this?</b>
    Thanks a lot!!

    Hi
    <a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-i 1</a>
    <a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-ii 2</a>
    Regards
    Abhijith Ys

  • Creating webservice using webdynpro java calling bapi from r/3

    hi all,
    as i am new to this area can anyone provide me a guide to create a simple webservice using webdynpro java to call bapi's from r/3?
    i want to consume the created webservice on a .net client.
    Thanks in advance,
    Raghunandan

    You can use the SAP .NET Connector to do it.
    Download from [http://service.sap.com/connectors|http://service.sap.com/connectors].

  • Create webservice using different Business Objects

    Hi Experts
    Is it possible to create a webservice using different business Objects i.e "BOL Intergration for cases" and "Business Partner"?
    This is a scenario:
    I created webservice and on Business Object field I chose "BOL Intergration for cases" reason being that I want to see all attributes related to  root object  "case" and at the same time I also want to view attributes related to business object Busines Partner  root  object "Account" Is it possible to do that?
    Thanks for your help
    Regards
    Maria

    Hi,
    >>>I created webservice and on Business Object field I chose "BOL Intergration for cases" reason being that I want to see all attributes related to root object "case" and at the same time I also want to view attributes related to business object Busines Partner root object "Account" Is it possible to do that?
    sure it is - you can even create two WS for each of those and the third on that will be using both previous
    Regards,
    Michal Krawczyk

  • How to create Webservice using java

    Hi Experts,
          I am very new to Visual composer, can any one of you suggest how to create a webservice using java so that i can use that webservice in Visual Composer application.If it is possible please give me detailed description about it.
    Regards,
    Prasanna.

    Hi Prasanna,
    See if my article is of any use to you:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10">How to Create a Web Service using an Enterprise JavaBean</a>
    For creating Web Services, you won't need to do the MS SQL Part explained in my doc. You can just concentrate on the part where i explain how to create a Web Service using an EJB.
    Bye
    Ankur

  • Creating WebService using Jdeveloper 9i

    Is there a article on creating PLSQL Webservice using Jdeveloper 9i(9.0.3.5) and then porting it on the Application server? We have Oracle Application 11.5.10 using 10g database.
    Thanks
    PHK

    Follow the links at the end of the demo pages of JDeveloper to get to older stuff for example this:
    http://www.oracle.com/technology/products/jdev/viewlets/903_ws_plsql/903_WS_PLSQL_viewlet.html

  • Create Webservices using xsd

    what are the steps to create webservices usind xsd, a working code example will be greatly helpful.

    ejp wrote:
    I have to create a webservice using rad 7. I need to create a xsd file and generate the javabeans and import the xsd into wsdl file.No you don't. You have to create a wsdl file that describes the remote services you're going to offer. The xsd of a wsdl file is already written, you don't have to do anything about that.
    I understood conceptuallyNo you don't.
    You could use the WSDL compiler, google for that.I'm guessing he means he's tasked with producing a schema that'll then be imported into the WSDL. Pretty standard practice to define the stuff you're going to use in your web services outside of the WSDL itself.

  • Creating report using catalog manager

    Hi All,
    Currently we have a option in catalog manager to create reports on catalog metadata like report names, path, etc.
    I can create a report by going into catalog manager -> options -> create report,
    Is there a way to automate this process other than manually doing it?
    Thanks in Advance..

    I dont think so, catalogmanager.exe intern calls startup.jar file which is not ment for receiving/passing arguments.

  • Type of configuration for web service in SOA manager

    Hi Experts,
    could you please let me know while creating logical port for Web sevice security which type of configuration should I select in SOA manager. There are three types of configuration. 1> WSDL Based Configuration2>Manual Configuration and 3>Process Integration Runtime.
    As per the below link I am going to apply web service security but I dont have authorization to create logical port using t-code lpconfig. So I am trying to create it using SOA manager.
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/b8/cb1141e109ef6fe10000000a1550b0/content.htm
    Regards,
    Sari

    Hi Krishna,
    Thanks for your reply. But here I am not creating any consumer proxy. I want to create  only logical port for CO_WSSEWSSPROCESSOR_VI_DOCUMEN as mentioned in above link. I dont have any wsdl link for the same.Here I want to create logical port where I can mention the RFC for the integration server as per defined by below link.
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/b8/cb1141e109ef6fe10000000a1550b0/frameset.htm
    When I am creating logical port by manual , its not allowing me mention any HTTP destination. By default its showing me as 'unknown' HTTP destination.
    Please let me know if I have missed out any configuration. As per above link Java part  configurationI have done successfully. But for ABAP part I am confussed while creating logical port.
    Regards,
    Sari

  • Bypassing SOA MANAGER , Consume a stateless Webservice and send Zip file

    Hello,
    I have question around consuming web service via ABAP program.The scenario is consume a operation of a web-service and get the information, based on this information put the data in flat files and send it back in another operation of this web-service. Due to way web-service is implemented I cannot generate proxy class and use SOA manager the reason is web-service is using complex data type
    1) Is it possible to consume a web-service via ABAP program directly
    I have explored the SAP documentation and came up with this link
    Appendix C - SOAP Runtime for the SAP Web AS - SAP Library
    Few  Links I found are
    Manual HTTP POST from ABAP
    WebService 4.7 / WAS 620 XSTRING BASE 64
    Using any of the above approaches can  SAP program consume a web-service bypassing the SOA manager & send the zipped files in one of the operations.
    Thank you

    Appreciate if some one can answer the question above

  • How to create a webservice using a WSDL document !!!

    I have tried to create webservice using WSDL but i dont need any document ... is there any document where i can see a thorough procedure to develope it

    Hi,
    go to tools in ID and click define webservices
    It will show a window where u have to give interface name and name space and u have to provide soap url their
    http://<port>/XISOAPAdapter/MessageServlet?channel=:service:channel
    then a webservice is created....
    thanq
    krishna
    Edited by: krishnachitanya siddavattam on Mar 6, 2008 10:51 AM

  • Create Webservice and deploy

    Dear Gurus,
    I had followed the below steps in creating webservices using ABAP.
    1. Create Package
    2. Create Function group
    3. Create RFC function module
    4. Create webservice from the function module
    5. Create service definition, select port profie and deploy service and assign to Package and transport request
    6. Executed SOAMANAGER transaction , it opens a webpage with internet explorer defaul web page and I dont see any SOA administration related information and I dont have any clue how to proceed further.
    Please let me know if I there is any prerequisities Like SP to be installed, or any configuration / settings needs to be done.
    I am workign in SAP ECC 6.0 (SAP version 700)
    Thanks in advance.
    Thanks
    Shanthi

    Hello,
    In Web Service hierarchy transaction SICF, node APPL_SOAP_MANAGEMENT should be active. The complete path is default_host/sap/bc/webdynpro/sap/APPL_SOAP_MANAGEMENT.
    Once you are in the SOA Management screen, select single service adminstration and select your service and create End Point there.
    Thanks,
    Venu

  • Create webservices and deploy

    Dear Gurus,
    I had followed the below steps in creating webservices using ABAP.
    1. Create Package
    2. Create Function group
    3. Create RFC function module
    4. Create webservice from the function module
    5. Create service definition, select port profie and deploy service and assign to Package and transport request
    6. Executed SOAMANAGER transaction , it opens  a webpage with internet explorer defaul web page and I dont see any SOA administration related information and I dont have any clue how to proceed further.
    Please let me know if I there is any prerequisities Like SP to be installed, or any configuration / settings needs to be done.
    I am workign in SAP ECC 6.0 (SAP version 700)
    Thanks in advance.
    Thanks
    Shanthi

    Hi,
    The steps are
    1. In start menu --> Run --> type Drivers and press enter
    2. In that select the folder etc
    3. Then open the file hosts in notepad
    4. In the hosts file add your server ip and the domain name and save it.
    5. Then in internet explorer click tools --> internet options --> connections --> lan settings ---> advanced and add the domain there also.
    it will work fine
          For this get the assist from your system Admin.

  • Error in oim Role creation using Role Manager Service API from Standalone Java client

    Hi,
      Facing the following error when trying to create Role using Role Manager Service API from a standalone java client .
    Tried with the solution of changing ,
    Login into the Web Logic Admin Console --> Servers --> OIM Server --> Protocols --> Modify the Maximum Message from 100000000 to 1000000000, but still the problem persists.
    Exception in thread "main" org.omg.CORBA.BAD_PARAM:   vmcid: 0x0  minor code: 0  completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
    at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
    at com.sun.org.omg.SendingContext._CodeBaseStub.meta(Unknown Source)
    at com.sun.corba.se.impl.encoding.CachedCodeBase.meta(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.getOrderedDescriptions(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectUsingFVD(Unknown Source)
    at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(Unknown Source)
    at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(Unknown Source)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(Unknown Source)
    at oracle.iam.identity.rolemgmt.api._RoleManager_ogut7n_RoleManagerRemoteRIntf_Stub.createx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy2.createx(Unknown Source)
    at oracle.iam.identity.rolemgmt.api.RoleManagerDelegate.create(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.subject.SubjectProxy.doAs(SubjectProxy.java:64)
    at weblogic.security.subject.SubjectManager.runAs(SubjectManager.java:262)
    at weblogic.security.Security.runAs(Security.java:48)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at $Proxy3.create(Unknown Source)
    at com.idm.role.CreateRole.createRole(CreateRole.java:113)
    at com.idm.role.CreateRole.main(CreateRole.java:167)
    Thanks In Advance

    Hi , I have used OIM 11g  R2.
    Please find below the code we have used,
    package com.idm.role;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Hashtable;
    import java.util.Iterator;
    import java.util.Set;
    import java.util.logging.Logger;
    import javax.security.auth.login.LoginException;
    import oracle.iam.identity.exception.NoSuchRoleException;
    import oracle.iam.identity.exception.RoleAlreadyExistsException;
    import oracle.iam.identity.exception.RoleCreateException;
    import oracle.iam.identity.exception.RoleLookupException;
    import oracle.iam.identity.exception.RoleModifyException;
    import oracle.iam.identity.exception.SearchKeyNotUniqueException;
    import oracle.iam.identity.exception.ValidationFailedException;
    import oracle.iam.identity.rolemgmt.api.RoleManager;
    import oracle.iam.identity.rolemgmt.api.RoleManagerConstants;
    import oracle.iam.identity.rolemgmt.vo.Role;
    import oracle.iam.platform.OIMClient;
    import oracle.iam.platform.authz.exception.AccessDeniedException;
    public class CreateRole {
    private final static Logger LOGGER = Logger.getLogger(CreateRole.class .getName());
    OIMClient oimClient = null;
    public OIMClient connectToOIM() {
      LOGGER.info("In connectToOIM ");
      Hashtable env = new Hashtable();
      env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL,
        "weblogic.jndi.WLInitialContextFactory");
      env.put(OIMClient.JAVA_NAMING_PROVIDER_URL,
        "t3://V-hydidm1.itig.co.in:14000");
      System.setProperty("java.security.auth.login.config",
        "F:\\Projects\\IDM\\Team\\Env_setup\\OIM_Setup\\designconsole\\config\\authwl.conf");
      System.setProperty("java.security.policy",
        "F:\\Projects\\IDM\\Team\\Env_setup\\OIM_Setup\\designconsole\\config\\xl.policy");
      System.setProperty("OIM.AppServerType", "wls");
      System.setProperty("APPSERVER_TYPE", "wls");
      System.setProperty("weblogic.Name", "oim_server1");
      oimClient = new OIMClient(env);
      try {
       oimClient.login("xelsysadm", "Passw0rd".toCharArray());
      } catch (LoginException e) {
       e.printStackTrace();
      System.out.println("Connected");
      return oimClient;
    public void readRoleMetadata() {
      LOGGER.info("in readRoleMetadata ");
      RoleManager roleManagerService = oimClient
        .getService(RoleManager.class);
      try {
       Role roleVo = roleManagerService.getDetails(
         RoleManagerConstants.ROLE_DISPLAY_NAME, "API Role1", null);
       Set attributeNameSet = roleVo.getAttributeNames();
       Iterator it = attributeNameSet.iterator();
       while (it.hasNext()) {
        System.out.println("Attribute Name :: " + it.next());
       // roleVo.setAttribute("ADentitlements", "Security Admin access");
       String adEntitlements = "" + roleVo.getAttribute("ADentitlements");
       System.out.println("AD Entitlements :: " + adEntitlements);
       System.out.println("DB Entitlements :: " + ""
         + roleVo.getAttribute("DBEntitlements"));
       System.out.println("Unix Entitlements :: " + ""
         + roleVo.getAttribute("UnixWindows"));
       System.out.println("VPN :: " + "" + roleVo.getAttribute("VPN"));
      } catch (SearchKeyNotUniqueException e) {
       e.printStackTrace();
      } catch (NoSuchRoleException e) {
       e.printStackTrace();
      } catch (RoleLookupException e) {
       e.printStackTrace();
      } catch (AccessDeniedException e) {
       e.printStackTrace();
    public void createRole() {
      LOGGER.info(" in Create role ");
      RoleManager roleManagerService = oimClient
        .getService(RoleManager.class);
      HashMap<String, Object> roleCreationAttrMap = new HashMap<String, Object>();
      roleCreationAttrMap.put(RoleManagerConstants.ROLE_NAME, "API Role1");
      roleCreationAttrMap.put(RoleManagerConstants.ROLE_DESCRIPTION,
        "This Role is created using API Role1");
      roleCreationAttrMap.put(RoleManagerConstants.ROLE_DISPLAY_NAME,
        "API Role1");
      roleCreationAttrMap.put("ADentitlements", "API Role1 AD Entitlements");
      roleCreationAttrMap.put("DBEntitlements", "API Role1 DB Entitlements");
      roleCreationAttrMap.put("VPN", "No");
      roleCreationAttrMap.put("UnixWindows", "API Role1 Unix Entitlements");
      Role roleVo = new Role(roleCreationAttrMap);
      try {
       System.out.println(" Before Create role *********************************************");
       roleManagerService.create(roleVo);
       System.out.println("Role Created .. ");
      } catch (ValidationFailedException e) {
       e.printStackTrace();
      } catch (RoleAlreadyExistsException e) {
       e.printStackTrace();
      } catch (RoleCreateException e) {
       e.printStackTrace();
      } catch (AccessDeniedException e) {
       e.printStackTrace();
    public void modifyRole() {
      LOGGER.info(" in modifyRole ");
      RoleManager roleManagerService = oimClient
        .getService(RoleManager.class);
      Role roleVo;
      try {
       roleVo = roleManagerService.getDetails(
         RoleManagerConstants.ROLE_DISPLAY_NAME, "API Role1", null);
       String roleKey = roleVo.getEntityId();
       HashMap<String, Object> roleCreationAttrMap = new HashMap<String, Object>();
       roleCreationAttrMap.put("ADentitlements",
         "Updated API Role1 AD Entitlements");
       Set roleKeySet = new HashSet<String>();
       roleKeySet.add(roleKey);
       Role roleVoNew = new Role(roleCreationAttrMap);
       roleManagerService.modify(roleKeySet, roleVoNew);
       System.out.println("Role Modified ..");
      } catch (SearchKeyNotUniqueException e) {
       e.printStackTrace();
      } catch (NoSuchRoleException e) {
       e.printStackTrace();
      } catch (RoleLookupException e) {
       e.printStackTrace();
      } catch (AccessDeniedException e) {
       e.printStackTrace();
      } catch (ValidationFailedException e) {
       e.printStackTrace();
      } catch (RoleModifyException e) {
       e.printStackTrace();
    public static void main(String args[]) {
      CreateRole miscObj = new CreateRole();
      miscObj.connectToOIM();
      miscObj.createRole();
      //miscObj.readRoleMetadata();
    Thanks In Advance .

  • Unable to create webservice system!!!

    Hi Friends,
    I am using SAP NetWeaver 2004s Visual Composer SP 08.
    My problem is, No matter whatever WSDL url i give to create the WebService System in the VC its throwing me the error '<i>Invalid Web Service URL: http://ws.invesbot.com/stockquotes.asmx?WSDL</i>'
    I have given as below:
    New System name : <i>invesbot</i>
    New System alias: <i>invesbot</i>
    Web Service URL: <i>http://ws.invesbot.com/stockquotes.asmx?WSDL</i>
    I am really clueless to know whats wrong in the WSDL URL. When i give the above WSDL url on the browser it shows the XML details.
    Is there anything else i should do for the Web Service URL?????
    Thanks,
    Raghavendra P

    Hi Raghavendra,
    I tried to create webservice using the URL you've given and it worked on my system (fyi: I am using sneak preview)
    Just for counter checking, can u able to try creating webservice for the following URL?. This is an example provided in the VC help docs.
    http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
    Name the system CurrencyConverter and give it the alias Converter
    Thanks
    Sathish

Maybe you are looking for

  • Clearing Partial Payments

    hi Guys,         i had created vendor invoice of  rupees 1000 and paid partially rupees 400 and then 600 in two payments. this should be cleared item since the payments made against the invoice is equivalent to the invoice amount. when i try to pay a

  • [HR] Precise GET PERNR

    Hi. When I use GET PERNR, all pernr are taken so it takes a long minute to complete. How can I limit number of PERNR who are taken by GET statement? For example I'd like to process only pernr from particular shop or particular organization. I'll be t

  • Calculate changing wage rate pr hour in numbers

    Calculate changing wage rate pr hour in numbers: Hi I need some help calculating my salary. I get paid different wage rates every hour: UGESATSER Mandag Tirsdag Onsdag Torsdag Fredag Lørdag Søndag 1:00 163,72 163,72 163,72 163,72 163,72 163,72 225,97

  • IPEP cant register to ISE 1.2

    I am trying to register an ipep to my primary ise running ise 1.2. Have installed certificates on the IPEP. The devices can ping each others dns names.  i keep getting the following error whenever i try to register the IPEP.

  • Weblogic/jms/backend/BEMessageReference

    Hi , I have a severe OOM problem in production as my servers are crashing very often.. I have 32 GB unix box and I have put -Xmx 3072 -Xms 3072 as MEM_ARGS for Managed1 and Managed3 ... eventhen I am getting OOM ... Can anybody suggest me best MEM_AR