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.

Similar Messages

  • Questions about web services and BPEL in ALBPM

    Hi all,
    We are currently evaluating various BPM products in order to decide which one to use. Currently I am evaluating ALBPM Studio 5.7 and I am running my processes on the embedded engine provided with the studio. I have some questions:
    1. We want to be able to use complex types for the web services that are generated for processes. Will this limitation be solved any time in the future?
    2. We want to be able to use the generated web services directly (that is, without calling the startSession method first). Is that possible?
    3. I could not find extensive documentation about developing BPEL processes. There is only one small chapter in the developer documentation about BPEL processes. Is there any more documentation or sample about how BPEL is used in ALBPM?
    4. I have developed a very simple BPEL process, but when I try to deploy it, I get the error "Activity BPEL receive does not have any incoming transitions". How can I resolve this issue? I guess it may be a problem about my PartnerLink definition.
    5. When I try to catalog a wsdl which imports another wsdl (and when the imported wsdl also imports some xsds from another namespace), I get an error which says that a web service xxx with namespace yyy is not found, but actually the thing named xxx is not a web service but a soap fault. What could be the problem?
    6. Is it possible to write a BP method in PBL for a BPEL activity?
    Thanks in advance and best regards..

    look for anwsers in the other newsgroup posting:
    http://forums.bea.com/bea/message.jspa?messageID=600047258
    MAriano
    Benitez/BEA/BPM/Beautiful

  • Some question about Web service

    Hi experts,
    I have created a Web service about Function Module 'BAPI_EXCHANGERATE_GETDETAIL'.Now I plan to use Transaction code 'WSADMIN' to create a WSDL.But the display result of IE tell me my host could not be resolved by DNS.I don't know how to solve this question, and which happened based on this question.Is there any experienced experts tell me the solution?
    Thanks & Best regards!
    Kelvin

    Hi,
    In your system folder:
    C:\WINDOWS\system32\drivers\etc there is a file hosts;
    Add your server I address and servername in it.
    like:
    193.10.100.70     myserver.com     MYSERVER
    Hope this will resolve the problem. If you do not have authorisation for the same, your network admin will help.
    Regards,
    Renjith Michael.

  • Question about web service client

    Hi,
    I am creating the a client to call non wls web serveice.
    First I need to create the client jar using clientgen. My question is when i create the client jar I need the wsdl file. where is the correct place to store the wsdl file? Also I have development and production wsdl file with the different service location. Do I have to store both of the wsdl files? It's a trouble to remember to build the different client jar for development and production (using different wsdl), is there anyway that I can build the client jar once and somehow dynamically configure to use different wsdl (ie service location) in different environment? Thanks

    Hi Holy,
    If you know the WSDL hasn't changed since you used it when running the clientgen Ant task, you can just use the one that is inside the JAR that clientgen produces. To do this, you just need to not specify an argument to the XXX_Impl constructor. For instance:
    AttachmentPartsService_Impl service = new AttachmentPartsService_Impl();
    This has some performance benefits, because it reduces the total number of network calls, the client-side Web Services stack makes. If you specify the URL for the WSDL to the constructor (as recommended by someone else here), the client-side Web Services stack will issue an HTTP GET to get it. Now if the WSDL that is returned uses types that are different than the ones the clientgen Ant task generated classes for (i.e. the ones in the JAR generated by the clientgen Ant task), you are in trouble because the client-side Web Services doesn't generate serialization/deserialization classes (i.e. the ones in the JAR generated by the clientgen Ant task) "on-the-fly".
    The service endpoint for a Web Service call can (and should) be set programmatically, from a properties or configuration file. This will look something like this in the code:
    import java.util.Properties;
    import javax.xml.rpc.Stub;
    private static Properties loadProperties(String fileName) throws IOException
    if (fileName == null || fileName.length() == 0) return null;
    Properties props = new Properties();
    FileInputStream fis = null;
    try
    fis = new FileInputStream(fileName);
    props.load(fis);
    finally
    if (fis != null) try { fis.close(); } catch (Exception ignore){}
    return props;
    public static void main() throws Exception
    Properties props = loadProperties("MyProperties.properties");
    Client client = new Client(props);
    public Client(Properties properties)
    AttachmentPartsService_Impl service = new AttachmentPartsService_Impl();
    AttachmentPartsServiceSoap port = service.getAttachmentPartsServiceSoap();
    if (schemeHostPort == null) schemeHostPort = "http://localhost:7001";
    ((AttachmentPartsServiceSoap_Stub)port)._setProperty(
    Stub.ENDPOINT_ADDRESS_PROPERTY,
    properties.getProperty("production.AttachmentPartsService.serviceEndpointURL"));
    This way, you can have a different properties file for each environment you propagate the web service to, as opposed to saving copies of WSDL files just to have the "correct" service endpoint address. It also has the additional benefit of letting you store the service endpoint URLs for more than just one web service.
    Regards,
    Mike Wooten

  • Questions about web services

    Hi! Experts:
    I am at the Web Servivces Navigator.
    I have a basic question about it:
    We are using MI7.1 which has NO Java stack. Therefore we do NOT have the Web Services Navigator.
    How do we use the Web Services for MI7.1?
    Thanks!

    Hi!
    1) SICF lists the BSP services; Web Services are requests between java application to client application.
        Are you sure them are the same thing?
    2) When I compare the services between web service navigator and SICF, I do not see there is any
       relationship.  For example, if I search "AdapterMessageMonitoring" in SICF, I cannot find it.
    I think SICF and  web service navigator  are listing totally different services.
    Therefore my question is that since MI7.1 has NO Java stack (hence NO web service navigator ), how
    are web services handled in MI7.1?
    Thanks!

  • Basic question about Web Services

    First I wan't to say that i've searched the net for info, and all I could find was some advanced code snipets. However, I would like to start from the begining.
    I'm trying to develop a web service which takes XML as input parameter, an returns some other XML.
    I developed a WS like that
    import org.w3c.dom.Element
    public static Element returnElement(Element xml)
    { return xml }Now here's the problem:
    I would like to be able to call this WS from other programming languages, like Delphi, C++...
    To try and make something like that, I converted xml to String and pass it to a WS. However, this string is too big (about 3200 chars) for HTTP GET to handle.
    How can I do that?? Which classes to use? How to represent data in XML form that could be read in Java and other programming languages?
    Please, at least, post a link, I just need some basic pointers.
    Code examples would be much apreciated.
    Thanks a lot in advance,
    Good day,
    Simon

    Hi,
    Thanks for your reply. There is a directory on the web logic server's box where the required classes exist. How can I add those to the CLASSPATH? How can I do it from Web Logic Admin Console?
    Regards,
    Ram

  • A question about web service

    hi experts,
    I develop a web service based on abap FM. When the 3party programs call it, user need to input the username/password.
    can I config sth for the web service, and user don't need the input user/pass?
    Thanks

    Hi Michael,
    I understand you are worried about security (i.e.people accessing the Service anonymously is something you want to avoid).  Also, you don't want the people to have to manually authenticate themselves (i.e. enter a User ID and Password) to execute the Service.   In this case, you need to use a more sophisticated authentication technique like X.509 SSL Client Certificate or SAP Single Sign On Ticket.  This is a complex subject and not suitable for discussion here.  Here are links to topics that could get you started.
    1. SAP Help Portal link to the topic Security Aspects for Web Services:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/46/a088198f835edfe10000000a11466f/frameset.htm
    2. SAP Help Portal link to the topic Making a Web Service Secure:
    https://help.sap.com/saphelp_nwpi711/helpdata/EN/47/ab7ba049f84848e10000000a421138/frameset.htm
    I hope this helps.
    Best Regards,
    Andy

  • Question about web service and timeouts

    I have a form with a button script that invokes a synchronous soap web service request to an address validation service. It works nicely in testing but I am a bit concerned at what might happen when we go live with respect to the form hanging if the soap server is unavailable or the user is offline.
    From some simple tests in production, where the web service is available yet:
         - in Windows, it times out in Adobe Reader 10.1.1 within about 15 seconds; and
         - In the Mac, with Adobe Reader 10.1.3 it takes around 4 1/2 minutes.
    The latter is not good, as it hangs Reader the entire time.
    Is there some way I can set a timeout in the soap request. Would it be worth considering an async call? If I changed it to async, could I let the user continue to fill the form and then setFocus with an async flag?

    Hi,
    I'm almost there. I dont think that you can do exception handling in FormCalc. How do I trap the error. So far I have
    if (HasValue(Get("http://despaiqo001.development.local:4001/crossdomain.xml")) == 0) then
         $xfa.host.messageBox("not available")
    else
        $xfa.host.messageBox("got it")
    endif
    but when I change the URL so it cant access it, I get a form calc exception. Any samples of how I can script it?

  • A basic question about web service

    Hello,
    Does all the Web services need to be run under a Web server?
    Or it just needs to be run under a server which has either a web container or a J2EE container?
    I mean if the application does not need to generate HTML pages, but just generate SOAP messages, do I still need to have a web server?
    Thanks!

    A J2EE server runs independently and does not require an HTML/HTTP web server.
    If you're just interested in SOAP, an application server or servlet engine which understands the SOAP specification will be enough.
    --Jon

  • Question about web service security and certificate registry?

    I'm trying to add security to my web service. I've created a keystore and added a certificate that was signed by a CA that I created (for testing only). The documentation says I need to create a Certificate registry and add my CA as a trusted CA. I can't quite figure this step out. Does anyone know how to do this or am I heading in the wrong direction?
    thanks

    Hi,
    I'm almost there. I dont think that you can do exception handling in FormCalc. How do I trap the error. So far I have
    if (HasValue(Get("http://despaiqo001.development.local:4001/crossdomain.xml")) == 0) then
         $xfa.host.messageBox("not available")
    else
        $xfa.host.messageBox("got it")
    endif
    but when I change the URL so it cant access it, I get a form calc exception. Any samples of how I can script it?

  • Beginner question about Web Services pack just released

    Hi all,
    I have seen that Sun just released Web Services early access Api. I'd like to
    know if this Api are compatible with Weblogic standards for Web Services. For
    example can I use the Sun's JAXM Api with Weblogic for creating and sending Messages?
    or do I have to use weblogic Api to do this?
    Thanks
    Francesco

    It defines what the parameter names should be exposed as in the wsdl.
    Without specifying it JAX-WS for example would just name the arguments as arg0 and arg1 which i not very meaningful to the client programmer who will use your web service.
    - Roy

  • Question concerning Web Service Deployment

    I have a question on web service deployment as it pertains to multi-client SAP systems.
    I created and deployed a web service in the client that is used for the development of client-independent objects. There are no issues when calling the web service following deployment.
    I am trying to use the same web service on the same SAP system, but on a different client. What is the proper way for accomplishing this? As of right now, the only way I've been able to do this is to open up the desired client and deploy the service again. I tried to take a transport and copy it to the other client using SCC1, but it failed since all the objects referred to client-independent objects.
    Below is the URL of the WSDL that was generated via SOAMANAGER.
    http://svr-sap05-dev.xxx.com:8010/sap/bc/srt/wsdl/bndg_DF2B9EDC2EA40CF1A9B7001CC4459012/wsdl11/allinone/ws_policy/document?sap-client=120
    Client 120 is the client used for development and is where the web service was created and deployed. I would like to use the same web service, but in a different client.
    I tried in changing the logon parameters of the web service using SICF, but the invocation failed. It only works if the client mentioned in the logon data matches the client specified in the URL.
    I am assuming that SAP builds the namespace of the web service using the client specified in the above URL. If this is the case, then I will have no choice but to deploy this service manually in the other client.
    Is something wrong being done or do I have to do the same deployment in the other client?
    Regards,
    Vince Castello

    In Netweaver 7.01 (with SOAMANAGER) you can no longer deploy webservices via STMS.
    You have to login in each client and create endpoints in each one.
    It's a pain, but SAP says it's too risky to implement the solution via STMS or something like that.
    There is a SAP note about this.

  • 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

  • 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.

Maybe you are looking for