Configuring Webservice Name

How to configure the name of webservice URL when this webservice is created from an EJB with JAX-WS annotation ?
For instance:
+@Stateless(mappedName = "FooInterf")+
+@TransactionAttribute(TransactionAttributeType.REQUIRED)+
+@WebService()+
+public class FooImpl implements FooInterf{+
+}+
Will generate the following WSDL
http://server:port/FooImpl/FooImplService?WSDL
I'd like to change the nome for:
http://server:port/Foo/FooService?WSDL
The second part of the name (FooImplService) is possible to change using the property serviceName
+@WebService(serviceName="FooService")+
http://server:port/FooImpl/FooService?WSDL
But the first part of the name(FooImpl) seems to be impossible to configure. I've tried all WebService properties and none of them worked out. The name of this part is always the same name of the EJB class.
Is there a way to change this name without changing the name of the class?
Thanks. Mauro.

can you try with " <module contextPath="test" name="myJar" >"
<target name="build-service3">
<jwsc
srcdir="src"
destdir="output/TestEar" >
<module contextPath="test" name="myJar" >
<jws file="examples/webservices/jwsc/SecondTestServiceImpl.java" />
</module>
</jwsc>
</target>
For more information
http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webserv_ref/anttasks.html
hth
Regards,
Sunil

Similar Messages

  • How to extract data via webservices and configure webservices in BI 7

    Hi to all,
    Can any body tell me How to extract data via webservices and configure webservices in BI 7.
    i have created a remote functionmodule which extract data from R/3 , now i want to upload data to BI 7 using that remote function module.
    i have use webservice (push) as adapter mode, as i want to connect function module with SOAP , via web services.
    please can any body tell how to do that.
    also how to configure the webserive , what is it .
    I SHALL BE THANKFULL TO YOU FOR THAT
    Regards
    Pavneet rana

    Hi,
    1. Using the function library (transaction SE37), call the Web service creation wizard.
    To do this, select the desired function module in the function library and choose Utilities ®Generate Web Service ® From the Function Module.
    2. Go through the following steps, shown in the wizard:
    a. Create a virtual interface.
    The virtual interface represents the interface between the Web Service and the outside.
    b. Choose the end point.
    The name of the function module that is to be offered as Web service is already entered here.
    c. Create the Web service definition.
    The Web service definition helps with assigning the Web service features, such as how security can be guaranteed in data transfer.
    d. Release the Web service.
    The wizard generates the object virtual interface and Web service definition in the object navigator.
    The function group that was generated when the XML DataSource was created is not transportable and is thus assigned to a local package. To prevent errors due to transports, make sure that the objects that were generated in the Web service creation wizard are assigned to a local non-transportable package.
    The Web service is released for the SOAP runtime.
    3. In the virtual interface for the import parameter DATASOURCE, define the name of the XML DataSource as the fixed value.
    A separate function group is generated for each XML DataSource. It makes sense to pre-assign the parameter DATASOURCE with the name of the XML DataSource in the virtual interface of the Web service for which the function group was generated.
    If you do not pre-assign the parameter, it will be necessary to transfer the data sent with the appropriate filled DataSource element, for example, by setting the value in the application that implements the Web service.
    a. In the object navigator, choose the name of the package in which the Web service was created and choose Enterprise Services ® Web Service Library ® Virtual Interfaces.
    b. Choose Change in the context menu for the virtual interface.
    c. For the virtual interface, remove the flags exposed and initial and enter the name of the XML DataSource in apostrophes, for example u20196ADATASOURCENAMEu2019.
    d. Activate the virtual interface.
    Regards,
    Marasa.

  • Configure webservice context url

    Hi
    I´m developing a jax-ws Web Service over Weblogic 11g.
    Every thing works fine, but I need to configure de URL in which this WS is deployed (I´m working on the server side, not on client). Now, this URL is http://localhost:7001/myContextApp/TestWSImplService.
    Line: -----
    @WebService(name = "myTestService", serviceName = "myTestServiceProvider", targetNamespace = "http://myWeb/services/")
    public interface TestWS;
    Line: -----
    @WebService
    public class TestWSImpl implements TestWS
    Line: -----
    I tried to use [JAX-WS Bindings Custumizations|http://docs.oracle.com/cd/E27086_05/help/oracle.eclipse.tools.weblogic.doc/html/webservices/start.html#customiz], but I think this is not what I was looking for.
    Any idea would be apreciate.
    Thanks

    try providing servicename for interface
    @WebService()
    public interface TestWS;
    @WebService(name = "myTestService", serviceName = "myTestServiceProvider", targetNamespace = "http://myWeb/services/")
    public class TestWSImpl implements TestWS
    Regards,
    Sunil P

  • How to configure trex name server

    hi all
      while creating index i am getting the error
    Index could not be created; creating index failed: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)
    for the above error i need to configure the trex name server using  TREX Configuration in the J2EE Engine  in j2ee visual administrator .
    can any one tell me the clear path that where to configure the above and where j2ee visual administrator installed how to configure the name server
    awaiting for replies
    regards
    ganesh

    Hi Ganesh,
    In order to access the Visual Administrator, go to Start > Programs > SAP J2EE Engine > Visual Administrator. After you login, you will see 2 nodes i.e. Dispatcher and Server. Expand the Server node. Then go to "Services" and expand it. Then go all the way down to "TREX Service". Then on the right hand side, go to the property "nameserver.address" where you will key in "tcpip://<nameserver>:<port>". Then hit "Update" and click on the "Save" button. Then when you go to TRex Monitor, you should be able to see the Name Server running. Hope this helps.
    Thanks,
    Sri
    P.S Please rewards points if you find this helpful. Thanks.

  • Webservices name in case of falult

    Hi,
    In my application, we are using different webservices. Some of my .Net services and some of the other existing webservices.
    In my Flex application, i am using the cairngorm framwork.
    I want to know that, if any one of my webservices return fault, so i came to know the name of the webservices is return fault.
    And some of the cases, may be webservices may not return either the result or fault in that case also how i came to know the prob. we can say the time out error i want to know in second case.
    public function result(data:Object) : void
    //the logic which i have written in case of succesfully return
    public function fault(info:Object) : void
         Alert.show( " webservices is not responding");  // here i want to know the excate prob with the webservices name.
    Please give me some solution. Its urgent.
    Thanks in Advance

    Hi Prabhat,
    I think, the normal Dynamic File Name generation should work fine in your case also. Even if you perform Content Conversion, you can use Variable Name Substiution to create your Destination file name as, the name of the file is determined first and only then is the content converison perfromed.
    for info on content conversion, I would suggest that you go through this thread and check my reply,
    Re: Dynamic  File Name for Receiver File Adapter
    Regards,
    Bhavesh

  • No Configuration Class Name Supplied Error ! ROUND 2

    thanks for your answer,
    I still need a precision.
    I already have a block of this kind :
    myAppli {
    com.sun.security.auth.module.SolarisLoginModule required debug=true;
    ...in a file name MyAppli.login.config
    and I put a reference to it in the java.security file
    as below:
    login.configuration.provider=com.sun.security.auth.login.ConfigFile
    login.config.url.1=file:${java.home}/lib/security/Myappli.login.config
    but it still tell me that no configuration class name was supplied !
    It is the implementation of the Configuration interface it didn't find. And it is supposed to be by default the class com.sun.security.auth.login.ConfigFile
    And this class is in the JAAS package which itself is in the CLASSPATH so what's missing????
    every configuration file I did touch are in the ${java.home}/lib/security/ directory so they all are accessible...
    I NEED A CLUE
    thanks in advance !

    Try to put jaas.jar first in the classpath (if you are not using jdk 1.4)

  • Configure TNS Name Service

    How configure TNS Name Service in Server and Client?
    Thanks.

    On the server you may not need that, on the client.... neither...
    On the server you need the listener (which you should already have), on the client you can use the easy connect method, which does not require any configuration :
    sqlplus username/password@<servername or IP address>:<port>/<sid>
    for example
    sqlplus scott/[email protected]:1521/orcl
    the port is not mandatory if it's 1521.
    Of course you can configure TNS aliases within tnsnames.ora, both on client and server, here an example :
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = XE)
      )See http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/naming.htm#i507143

  • Error:configuration with name 'default' not found.

    Hi all. I am fairly new to android programming. I am trying to use the CreativeSDK, specifically the image editing portion. I have been trying to follow the steps at the following link: Adobe Creative SDK
    I first edit my settings.gradle file and then sync... This works with no error.
    I then go on to edit my build.gradle (making sure i edit the modular file). After editing it, I get prompted with "sync project," to which I accept. I then get the following error:
    "error:configuration with name 'default' not found."
    May someone please guide me or tell me what I should do or what I should read.
    Thank you for your time.
    PS: I hope I posted this in the correct place.

    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Configuring server name and port number through action links - obiee11g

    Is it possible to configure host name and port when using action links ?
    Say some session variables hold these values. Is there any way to use these values ?
    Thanks
    SM

    Any pointers ?

  • Configure webservices as datasource for coherence

    Is it possible to directly configure webservices as datasource for coherence. So that after a preconfigured period of time, the cache refreshes itself. If yes samples/ documentation for the same.

    Hi Tally,
    you can do almost that, but not exactly that with out-of-the-box features only.
    You can use the refresh-ahead feature of the read-write backing map with which a get to a key will cause the refresh of the entry value from the cache loader which will be seen by the subsequent get to the same key.
    Alternatively you can schedule your own periodic processing with some timer which fetches data from the backing storage and it puts it into the cache.
    A mix of the two would be to have the periodic processing issue the get requests which trigger the refresh-ahead behaviour.
    Best regards,
    Robert

  • How can i change webservice name in webdynpro

    i am very new to designing in webdynpro..
    i am using one webservice in my views to display all the retrieved files. but, the web service name had changed now.
    is there only possible way to change all the fields mapping from the begining or else
    can i rename/change the webservice name in my webdynpro project

    Hi,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on accessing an email web service - 6_0_.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/24/186440bdd39a0ae10000000a155106/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/58/7d8f671e0fa54db744991e200f9111/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/b0/220342ea44ce6ce10000000a155106/frameset.htm
    hope this helps u,
    regards,
    saravana

  • JAAS authentication with WebLogic 6 - "Invalid Configuration Class Name"

    For starters, I took the sample file examples.security.jaas.SampleConfig, changed the name and
    package, compiled, and copied it to the right place in the classes directory of the webapp project.
    The class is specified as a parameter in startWebLogic.cmd:
    -Dweblogic.security.jaas.Configuration="com.ww.opd.auth.JAASConfiguration"
    When a servlet attempts to get LoginContext, I get this error:
    "Invalid Configuration Class Name: com.ww.opd.auth.JAASConfiguration"
    The class file is definitely in the right place. What's the deal?
    Thanks,
    Rob

    Seems to be a ClassLoader problem. The sample is a client app, so no problem. But if you create
    a Configuration class to run on the server (to set up a LoginModule for authenticating clients)...
    I think what's happening is that the System class loader, using the CLASSPATH in the environment
    of the WebLogic server when it starts, attempts to load the Configuration class and can't (because it
    is in the CLASSPATH of the web app, not of the System class loader). If you add the Configuration
    class to the CLASSPATH of the WebLogic server, then it gets loaded but the LoginModule can't be
    found. If you add the LoginModule to the WebLogic server CLASSPATH, then any classes that it calls
    must also be in the WebLogic server CLASSPATH.
    Could someone from BEA please comment: is that the intention, that any classes used for JAAS
    authentication be part of the server's CLASSPATH, not part of the web application?
    Thanks,
    Rob
    "Rob Weltman" <[email protected]> wrote:
    >
    For starters, I took the sample file examples.security.jaas.SampleConfig, changed the name and
    package, compiled, and copied it to the right place in the classes directory of the webapp project.
    The class is specified as a parameter in startWebLogic.cmd:
    -Dweblogic.security.jaas.Configuration="com.ww.opd.auth.JAASConfiguration"
    When a servlet attempts to get LoginContext, I get this error:
    "Invalid Configuration Class Name: com.ww.opd.auth.JAASConfiguration"
    The class file is definitely in the right place. What's the deal?
    Thanks,
    Rob

  • No Configuration Class Name Supplied Error !

    What with this message?
    ' No Configuration Class Name Supplied'
    When I try to create a LoginContext Object with the command line :
    lc = new LoginContext("MyAppli", new MyCallbackHandler());
    The following lines are in my java.security file
    login.configuration.provider=com.sun.security.auth.login.ConfigFile
    login.config.url.1=file:${java.home}/lib/security/matrix.login.config
    Is this a ClassPath problem?
    Somenone help me please
    Kalisen

    thanks for your answer,
    I still need a precision.
    I already have a block of this kind :
    myAppli {
    com.sun.security.auth.module.SolarisLoginModule required debug=true;
    ...in a file name MyAppli.login.config
    and I put a reference to it in the java.security file
    as below:
    login.configuration.provider=com.sun.security.auth.login.ConfigFile
    login.config.url.1=file:${java.home}/lib/security/Myappli.login.config
    but it still tell me that no configuration class name was supplied !
    It is the implementation of the Configuration interface it didn't find. And it is supposed to be by default the class com.sun.security.auth.login.ConfigFile
    And this class is in the JAAS package which itself is in the CLASSPATH so what's missing????
    every configuration file I did touch are in the ${java.home}/lib/security/ directory so they all are accessible...
    I NEED A CLUE
    thanks in advance !
         

  • No trusted Service Provider configuration with name [localidp] found

    Hello Everyone, I just setup a local IDP by following the documentation here - https://help.hana.ondemand.com/help/frameset.htm?754818ea63874ea38843ab0ed1928765.html However, when I try to access HANA Cloud Portal Service from HANA cloud cockpit, I am getting a login screen following which, I am getting below error. I have defined 3 users and also their corresponding roles such as Administrator, Developer, and Manager. It looks like I missed something or did something wrong. Can anybody help me fix this?
    Error Page No trusted Service Provider configuration with name [localidp] found com.sap.security.saml2.cfg.exceptions.SAML2ConfigurationException: No trusted Service Provider configuration with name [localidp] found at com.sap.security.saml2.idp.api.AuthnRequestValidationService.ensureSAML2AuthnRequestIsValid(AuthnRequestValidationService.java:90) at com.sap.security.saml2.idp.api.SAML2IdPAPI.validateAuthnRequestHttpBody(SAML2IdPAPI.java:914) at com.sap.security.saml2.idp.api.SAML2IdPAPI.validateAuthnRequestHttpBody(SAML2IdPAPI.java:867) at com.sap.core.jpaas.security.saml2.localidp.SSOService.processSSORequest(SSOService.java:126) at com.sap.core.jpaas.security.saml2.localidp.SSOService.doGet(SSOService.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.eclipse.virgo.web.enterprise.security.valve.OpenEjbSecurityInitializationValve.invoke(OpenEjbSecurityInitializationValve.java:44) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at com.sap.security.auth.service.webcontainer.internal.Authenticator.invoke(Authenticator.java:192) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:221) at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:103) at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:27) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Hi All,
    I have managed to fix this error. I was not able to see folder "localidp" in the mentioned directory. However, folder was present, but it was not visible. So I manually navigated to server configuration in workspace and copied Metadata XML there and refreshed the folder structure in Eclipse, and I was able to see the folder.
    Now I can see a custom IDP being referred!
    Ameya

  • How To Configure TREX Name Server&Port for UDDI  Service Registry Settings

    Hello Experts,
    we are using CE 7.1 SP 4 and I would like to use the trex service in the Service Registry.
    I use \NWA\Service Registry Configuration\Service Registry Settings\Keyword Search and want to test the TREX Communication using the Test Connection Button.
    If I do so, I receive "Connection to TREX not successful".
    When I press the Update TREX button I receive this exception:
    com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)
    I tried to configure the trex.service with the two parameters: nameserver.address and nameserver.backupserverlist -> tcpip://myhostname.mydomain:30001 (Instance 00).
    I am not sure if the port number is correct -> is there a way to lookup the correct port number?
    Is there something else I should configure?
    Thanks for help, best regards
    Thomas

    Hi Ganesh,
    In order to access the Visual Administrator, go to Start > Programs > SAP J2EE Engine > Visual Administrator. After you login, you will see 2 nodes i.e. Dispatcher and Server. Expand the Server node. Then go to "Services" and expand it. Then go all the way down to "TREX Service". Then on the right hand side, go to the property "nameserver.address" where you will key in "tcpip://<nameserver>:<port>". Then hit "Update" and click on the "Save" button. Then when you go to TRex Monitor, you should be able to see the Name Server running. Hope this helps.
    Thanks,
    Sri
    P.S Please rewards points if you find this helpful. Thanks.

Maybe you are looking for

  • Value of planned delivery time in days not updating

    Hello Experts, i have created a material using BAPI_MATERIAL_SAVEDATA. IN Mrp2 VIEW PLANNED DELIVERY TIME IN DAys is not updating i have passed la_plantdata-plnd_delry =  P_PLND_DELRY. la_plantdatax-plnd_delry =  'x'. i have commited the work too but

  • Business Object and Crystal Version compatibility

    Currently using a Business Object 5.1.8 with a third party vendor (McKesson) with one application and Crystal 8.5 also with that vendor with a different application.  Are they compatible to write a Crystal report pulling information from both? If not

  • HTTP 401 error in CSADMIN for SAP content server on Linux OS and MaxDB

    Hi, We have installed content server on Linux OS.and DB as MaxDB. I created the repository using OAC0. The with same tab I went to CSADMIN. When I try to create repository with executing it , it ask for user name and password. I mentioned the SAPCS a

  • PR (Header level) release strategy not working

    Hi all,   I have configured release procedure for PR - Header level release(i.e. With classification). My scenario is as below, If  PR value is <=1000 INR and Plant 1000 Two persons will release the PR. I.e., Release codes A1 and A2. If  PR value is

  • Problems with Epson sx105

    Hi, I really tried any possible driver but I am still getting the same error message: I [16/Dec/2008:11:39:56 +0000] Using policy "default" as the default! I [16/Dec/2008:11:39:56 +0000] Full reload is required. I [16/Dec/2008:11:39:56 +0000] Loaded