Change Web Service Endpoint dynamically in CE 7.2

Hi experts.
Is it possible to change endpoint of web services in CE 7.2?
There are 2 ECC clients for test, so I want to change the endpoint of AWS model dynamically, for example,
application parameters.
Thanks for your time.

hi,
at design time, are you also using http://jbxsd292:50900/sapws/sap.com/WSCreateMDM_ENTAPP_com.sap.mdm.ws.gen.ejbs_WSCreateMDMVi/WSCreateMDMVi_SAP_DEFAULT_PROFILE_Service/HTTPAuthOverHTTP_1?wsdl?
Best regards,
john

Similar Messages

  • Use dynamic web services endpoints with eInsight

    Hi,
    I'm dealing with a small problem when integrating two multiple systems based on web services.
    The problem is that I�ve a WSDL that represents different web services endpoints and my Business Process have to look out the input information and access a different web service endpoint corresponding to the input code. I only want to be able to change the endpoint of the web service or change the server that is called. However I don't know how can do it or if I can.
    To explain more clearly I�ll give an example. Imagine a company with some stores. All the stores have a web service with the same WSDL (changing the endpoint). I want to be able to call the web service in different endpoints automatically, without having to import another WSDL and make changes on my Business Process.
    I hope someone can help me. Thank you in advance.

    I would prefer using a Sun's JAX-RPC implementation if you are using JBoss. USe JBossWS. There are many things you have to consider when developing a Web Services. You should probably research that first. If it is your first web service, probably you are better off using RPC style web services. The documents and samples are all available on SUN web site. Try those out. For deploying on JBoss you would require to configure some jboss specific deployment descriptors.

  • Question About Web Service Endpoint

    Is there a way to specify the endpoint of a Web Service that exposes a Data Source?
    For example, if I have a Liquid Data Control jcx with a Java package of foo.bar and the corresponding jws file is also in this package, then the web service endpoint will be http://myserver/myproject/foo/bar/mywebservice.jws.
    Is there a way to change this to say something like http://myserver/myproject/services/mywebservice.jws.
    Thanks.

    JWS files are created by Workshop. Try posting on the Workshop newsgroup or check edocs.

  • Web Service Endpoint URI expected. Not found endpoint with URI /wssproc

    Hi All,
    We are following the steps mentioned here http://help.sap.com/saphelp_nwpi71/helpdata/en/ea/c91141e109ef6fe10000000a1550b0/frameset.htm to configure the message level security in our new PI 7.1 system.
    We have created the RFC destination with prefix /wssproc/plain?style=document. But when we test the RFC connectioon, we get the following error message:
    Status HTTP Response     404
    Status Text     Not Found
    And response body is: Web Service Endpoint URI expected. Not found endpoint with URI /wssproc.
    Are we missing a configuration point? Do we need to create the endpoint manually? And if yes, how?
    Regards,
    Masoud
    Edited by: Masoud Ahanchian on Jul 23, 2009 4:58 PM

    Well, in addition to the 404 message I get the following error as well (i.e. if I go to the link http://<server>:<port>/wssproc/plain?style=document)
    Web Service Endpoint URI expected. Not found endpoint with URI /wssproc.
    Regards,
    Masoud

  • Loading JDO in a web service endpoint

    I have a web service endpoint (Java class exposed as a web service) I'm developing in NW04-sp9, and I'm having trouble getting access to JDO in my web service.  I have an object class I'd like to persist using JDO, and I've developed them and run the build helper utility to make them persistable.  I believe that this works, because I can look at the .class file in a text editor and see references to javax/jdo/spi/PersistenceCapable.
    In my WSE, I try to get the default PersistenceManagerFactory doing a JNDI lookup with:
    _pmf=(PersistenceManagerFactory)ctx.lookup("java:comp/env/jdo/defaultPMF");
    which fails with a NamingException.  Based on another forum posting, I tried:
    _pmf=(PersistenceManagerFactory)ctx.lookup("deployedAdapters/jdo/defaultPMF/shareable/jdo/defaultPMF");
    Which actually seems to work, but when I do this, I get a NoClassDefFoundError on javax/jdo/PersistenceManagerFactory from the web service endpoint.
    I have added the com.sap.jdo application to my WSE's application-j2ee-engine.xml file, as described in the JDO chapter of the NW04 documentation.
    Any clues what I'm missing?
    Thanks,
    - Bill

    >
    > I will check if it is possible to declare resource
    > references for web services and tell you.
    >
    Thanks very much
    >
    > By the way, I have just found out that one can lookup
    > JCA connection factories in the global JNDI context
    > without having to declare resource references. I
    > don't like this. In my opinion, applications should
    > never access the global JNDI context directly, but
    > only the local java:comp/env context.
    >
    > You can find the JDO PMF at the following location in
    > the global JNDI context:
    >
    > deployedAdapters/jdo/defaultPMF/shareable/jdo/default
    > PMF
    >
    I did this (see my initial post), and I agree that it's a bad idea.  I didn't have much choice, though   When I did this, and I tried to cast the returned object to a PersistenceManagerFactory, I received a NoClassDefFoundError, which led me to believe that the JDO classes were not loaded into the web service container.  This is what led me down the resource reference path.
    >
    > I don't know when this deployedAdapters directory was
    > introduced, but I can imagine why. Most likely, there
    > are runtime environments like Web Dynpro or Web
    > Services where one needs to access JCA adapters, but
    > where resource references are not available.
    >
    Thanks again,
    - Bill

  • Operations not sorted in the drop list of the web service endpoint

    Hello,
    Since the beginning of oc4j standalone till the last release 10.1.3.5.0, the operations in the drop list of the web service endpoint are not alphabetically sorted,
    they are in a random order.
    If a web service contains a lot of operations, it's always difficult to find one operation in the list.
    How can this list be sorted ?
    I don't see any sort option in the web service properties (in Jdevelopper) or in the deployment descriptor (in Jdevlopper).
    Best regards
    Laurent

    You are correct...the above code is useful only when debugging in Visual Studio.  You should have better luck with either of the following two options:
    Option 1: Retrieve the id from the response of SaveChanges()
    sc.AddToSampleList(new ServiceReference.SampleListItem { Title= "Hello World" });
    System.Data.Services.Client.ChangeOperationResponse response = sc.SaveChanges().FirstOrDefault() as System.Data.Services.Client.ChangeOperationResponse;
    int id = ((ServiceReference.SampleListItem)((System.Data.Services.Client.EntityDescriptor)response.Descriptor).Entity).Id;
    Option 2: Create the list item and access its properties after calling SaveChanges()
    ServiceReference.SampleListItem li = new ServiceReference.SampleListItem { Title= "Hello World" };
    sc.AddToSampleList(li);
    sc.SaveChanges();
    int id = li.Id;

  • No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB

    hi ,
    i am just using EJb in my Application
    just created an SessionBean and with Local interface in it i am getting this wierd exception with weblogic NetBeans and eclipse also
    weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB
    weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB
        at weblogic.ejb.container.compliance.SessionBeanClassChecker.checkInterfacesExist(SessionBeanClassChecker.java:177)
        at weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.checkInterfacesExist(Ejb30SessionBeanClassChecker.java:27)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:331)
        at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:280)
        at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:789)
        at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:222)
        at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:461)
        at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:428)
        at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:437)
        at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:795)
        at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:683)
        at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1254)
        at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
        at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
        at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:321)
        at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:280)
        at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:789)
        at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:222)
        at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:461)
        Truncated. see log file for complete stacktrace
    >

    Hi Rajendar,
    I think the problem with having empty interfaces, or interfaces without methods for EJBs, is that they don't really make  "sense". After deploying your EJB, a client application will use JNDI or dependency injection to access your EJB.  So in your case it will look something like this
    @EJB
        mytestSSBLocal myejb; //(In this case we are using the local interface)
    In the second step, you will want to do something will your EJB, but since mytestSSBLocal doesn't define any methods, there is nothing you can do with your ejb.
    The Exception is telling you that weblogic couldn't find a complaint interface for your EJB.
    best regards, Nicolas

  • Jena Adapter and SPARQL web service endpoint

    As I understand, with Jena adapter java interface, the client can connect to Oracle RDF database directly. Why does it still need SPARQL web service endpoint? Does the query request from Jena adapter at client side have to go through SPARQL webservice first then route to Oracle server? Or the query with SPARQL need to go through webservice and non SPARQL query directly go to Oracle server?
    Thanks.

    Hi,
    You are right that a client can connect to Oracle RDF directly through the Jena Adapter. The reason for providing a SPARQL web service endpoint is to give additional interoperability and flexibility. With the SPARQL web service endpoint, one does not even need to write any Java code to interact with the underlying database. It also makes SPARQL federation a lot easier.
    Hope it helps,
    Zhe Wu

  • Data Federator - Changing Web Service Datasource URL

    Hi,
    I am using Data Federator XI 3.0.
    I have a few web service datasources with their WSDL URL set to the location of the web service on my development machine. If I deploy the web service on the production server, is there a way to simply update WSDL URL of the datasources in Data Federator without recreating them (copy to draft, update operations, reselect operations, etc.) ?
    I tried putting the URL in a deployment context parameter, but it did not work. The datasources still reference the old URL even when I changed the URL in the parameter.
    Thanks,
    Chih Hui

    Hi,
    If you want to configure Connections post deployment, it is required for your application to be configured with a Writable MDS Repository.As I had mentioned in the blog also, for this you need a entry in adf-config.xml and that your server should have a registered MDS store. Unless you will do this, the connection endpoint changes that you are doing will not be saved.
    To give an example, at the application end, in adf-config.xml, you need an entry like the following:
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
    <persistence-config>
    <metadata-store-usages>
    <metadata-store-usage default-cust-store="true" deploy-target="true" id="myRepos">
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    When you will deploy this app to a server with a registered MDS repository, the deployment will bring up a dialog where you will need to set(select/create) a partition for this app in the mds repository. Once, your deployment is done, now if you will change the endpoint using EM, it will save your changes.
    -Vishal

  • Change Web Service User Language

    Hi ,
    I need to change my service providers(web service) user (EHP5). After creating endpoint with no authentication using soamanager (which only have username and password option ), system don't let me change default login language in SICF . Before EHP5 I can change username , password and login language using SICF. Do you have any idea where I can change it ?
    Thanks in advance.

    No ideas?

  • Redirecting a web-service client dynamically?

    I have a development server, and a real world server. I also
    use the web service wizard to general stubs for consuming web
    services else where. The WSDL is identical on both my dev server
    and my real world server, but I can't figure out how to dynamically
    redirect my application to the real world servers, leaving me no
    option but to delete the local references and add the references to
    the real world server prior to release.
    Anyone know how to dynamically repoint the auto-generated
    classes?

    I handle urls and pathing by passing root urls into my
    applications via flashvars in the html wrapper. That allows a lot
    of flexibility, both in development and in production.
    However, I do not Use the generated code and do not know how
    to prevent the autogeneration process from overwriting manual
    changes. Do you regenerate a lot?
    Tracy

  • Invoking a web service from dynamic client in weblogic 7

    Is it possible to invoke a webservice from dynamic client in weblogic 7. Because i tried and it doesn't work. But it works with WL 8.1
    I don't see any samples on the net for weblogic 7.

    Hello rss,
    If you want to invoke a web service from a JCD you will have to build the SOAP message using JAX-RPC or AXIS and then programmatically creat an HTTP connection.
    Or you can leverage the HTTP(S) eWay and then you only have to build the SOAP message.
    Or use eInsight. You can import a WSDL into eInsight and eInsight will offer you a business process Activity to invoke the web service operations defined in the WSDL.

  • Web Service With Dynamic URL (Very Basic Conceptual Question)

    Hi everyone,
    I would like to employ JAX-WS to generate and publish a web service along with a web-based client which uses the service. The problem is: I want to deliver both the server (with its service) and the client to a customer, who will install the server on an internal machine, and who will have to configure the client to look for the web service at the IP of that internal machine, ideally by just putting the IP into some configuration setting. Both the services' path (on the server) as well as the services remain constant.
    From everything I have found so far, it appears as if one fixes the service's IP during compilation, i.e., when generating the WSDL and stubs using wsgen/wsimport. I guess that's fine when the server remains with me & a fixed IP, but doesn't this approach break down as soon as you need some flexibility in the server's IP, as, e.g., in my above scenario? I guess I am missing something, but unfortunately all the documentation I have found so far either neglects this issue or comes up with rather complex solutions indeed. - Or would one not use SOAP+WSDL in the above scenario in the first place? Any other best practices?
    I'd very grateful for any hints,
    Cheers
    equitone
    Message was edited by:
    Equitone

    Hi,
    thanks for your reply. Of course, I agree I could alter the generated code, but, as you say, I would not want to do that, since it will make automatic builds and deployment rather complicated.
    I guess my expectations on the "flexibility"/"design" of some of the generated artifacts is just a bit skewed, and I'll have to find a compromise between my expectations and the Java 6 way of web services. For instance, I also find it somewhat annoying that wsgen will apparently only generate the service against an implementing class, not an interface. E.g., when I have the following web service interface MyService and an implementing class MyDummyService:
    @WebService
    public interface MyService
        @WebMethod
        public String getString();
    @WebService(endpointInterface = "com....MyService")
    public class MyDummyService implements MyService {
       public String getString() {
          return "Just a dummy.";
    }Then the service in the WSDL specifies its Port as "MyDummyServicePort", so if I ever change the implementation---without actually changing the (web service) interface, I will also have to regenerate all client stubs. I would have hoped that wsgen's "service" option would help in this regard, but apparently it doesn't. Unfortunately, the documentation on the whole issue is in a pitiful state, IMHO.
    Cheers
    Equitone

  • (URGENT) Accessing HTTPS Web Service Endpoint

    I have a java class setup as a client to a web service. The endpoint address of the service is an https address. I can successfully connect to and invoke the web service when running my code outside the database. However, once I load the java classes into the database, I receive the following....
    java.net.SocketException: SSL implementation not available
    I have loaded all the necessary JSSE jar files into the database, and have them also in my ...jdk/jre/lib/ext folder. I have set system properties to extend the SocketFactories, as noted in some other posts...i.e.,
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    java.security.Security.setProperty("ssl.SocketFactory.provider", "com.MyCo.MySoftware.MyProject.node.ssl.SSLSocketFactoryExt");
    Can anyone give me any idea as to why this exception keeps happening...

    Hi,
    By default, your application tries to connect to the Net directly : if you have to specify a proxy, use either these lines in your code :
    System.setProperty("http.proxySet", "true");
    System.setProperty("http.proxyHost", "proxy");
    System.setProperty("http.proxyPort", "8080");
    Or specify them in the command line with the "-D"option.
    Ex : java .... -Dhttp.proxySet=true .... MyApp
    Hope it helps.
    See ya

  • Web service endpoint uri

    version: OSB 10g
    Hi,
    Can anyone tell me hoe to find the service endpoint uri for a web service derived from java classes is and deployed on weblogic? In ALSB this used to be
    in a file called weblogic-webservices.xml but this file no longer exists. I have checked oracle-webservices.xml and web.xml but haven't found a reference on what the endpoint uri is. I am invoking the web service using a business service in OSB.
    thanks.
    Damien

    I was little confused about your two statements
    Can anyone tell me hoe to find the service endpoint uri for a web service derived from java classes is and deployed on weblogic? and 'I am invoking the web service using a business service in OSB'.
    From your description it appears that you want to invoke WS through business service in OSB.
    BS---?>WS (Deployed in Weblogic and Derived from Java classes) is that the case?

Maybe you are looking for

  • Folder Action to Launch Perl Script

    Hello. I wrote a perl script which I wanted to execute when a file was dropped into a folder. I added a folder action with a very simple applescript: on adding folder items to this_folder after receiving added_items do shell script ¬ ("perl /Users/Al

  • Problem extracting, query with display attributes, in RSCRM_BAPI.

    Has anybody experienced that problem? When I execute the extract, the job cancels itself after 2 minutes. Sometimes even shuts down the DEV server. There is no Dump in ST22. The only error I get is: TRUNCATE TABLE "/BIC/0CZTEST" where ZTEST is the ex

  • Return excise invoice

    hi gurus, In return sales we need excise duties automaticallt through J1IH. Is it possible,if yes pls let me know. regards Rams

  • URGENT!!reports and lovs

    Oracle Portal Report I created an Lov named "tabb" to list the tables from a remote database. it works fine. i want to list the fields available in each table using the LOV. i used reports from SQL Query. i used the following query;owns is the dblink

  • Flex 2: stuck in sleep/battery led doesn't turn on

    Hi Everybody, My laptop no longer will turn on and was wondering if anyone had this experience in the past. With all my materials on it, I hesistate to ship it out for 3 weeks. Please advise.