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.

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

  • 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

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

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

  • 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

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

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

  • 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

  • I need some helps about Web Services & Entity Bean

    Hi everybody,
    Using Jbuilder I can create Web Services object from Session Bean (with Weblogic 8.1).
    I am wondering that: Can I create Web Service object from Entity Bean? Eg: with BMP or CMP?
    If anyone knows how to do, please help me or give me the documents I can refer to!
    Thanks in advance!

    Hi everybody,
    Using Jbuilder I can create Web Services object from Session Bean (with Weblogic 8.1).
    I am wondering that: Can I create Web Service object from Entity Bean? Eg: with BMP or CMP?
    If anyone knows how to do, please help me or give me the documents I can refer to!
    Thanks in advance!

  • Help me with some question about Worker/Service/Task in JavaFx 2

    I have read some articles in the forum adout mutithreading in JavaFx2, and now I know if I want to do some long-run jobs, i should use Service/Task.
    But my application needs a function like this:
    1. here is a long-run job(something like getting data from database or other resources);
    2. If I clicked a button, then the job started and get the data.
    3. When the job is done, I show the data in the tableview of my JavaFx application.
    4. then the job waiting some random time(such as 100 seconds).
    5. then the job started again automaticlly.
    so, the steps are 2->3->4->5->3->4->5->3->4->5->........
    so, the important things is that the job runs many times automaticlly.
    I know I should implements the job as a Service or Task in javaFx, But where should I put my "while(true){ job.start();sleep(random_time);}" loop code to make the job start automaticlly after some random sleep time.
    I wonder what is the best practice for this use case.
    My english is poor, but i hope you can understand what i'm dealing with.
    Thank you very much!
    Edited by: user9529194 on 2011-12-18 下午8:20

    Hi,
    Based on the response from John,
    I think you can acheive the functionality as below.
    // Creating the tableview.
    TableView<Person> personTable = new TableView<Person>()
    // Instantiating the personlist.
    ObservableList<Person> persons = FXCollections.observableArrayList();
    // Setting the list to the table.
    personTable .setItems(persons)
    final Button button = new Button("Refresh");
    final Timeline repeatTimeLine = new Timeline(
          new KeyFrame(Duration.seconds(100), new EventHandler<ActionEvent>() {
                @Override
             public void handle(ActionEvent event) {
                    // Call the service method to update the list.
                       PersonService.updatepersons(persons );
    button.setOnAction(new EventHandler<ActionEvent>() {
         @Override
         public void handle(ActionEvent arg0) {
                 repeatTimeLine.setCycleCount(Timeline.INDEFINITE);
                 repeatTimeLine.play();
    });And in the Service class...
    public void updatepersons(final ObservableList<Person> persons){
              final Task<List<Person>> getPersonTask = new Task<List<Person>>() {
              @Override
              protected List<Person> call() throws Exception {
                   return getPersonService().getPersons();
         getPersonTask .stateProperty().addListener(new ChangeListener<State>() {
              @Override
              public void changed(ObservableValue<? extends State> arg0, State arg1, State newState) {
                   switch (newState) {
                   case SUCCEEDED:
                        persons.clear();
                        persons.addAll(getPersonTask .getValue());
                        break;
                   case FAILED:
                        break;
         ThreadManager.getInstance().schedule(this.getClass(), getPersonTask );
    }I hope this code can give you some idea.
    Happy Coding !! :)

  • Hello , I want to ask some question about ipads \  How powerful is the iPad?  How useful is it for reading books, newspaper or magazines or for surfing the web? Can you identify any shortcomings of the device?   please help me :(

    Hello ,
    I want to ask some question about ipads \
    How powerful is the iPad? 
    How useful is it for reading books, newspaper or magazines or for surfing the web?
    Can you identify any shortcomings of the device?  
    please help me

    it's less powerful than your average computer. THink of it like a netbook but with a better processor.
    It'll do fine for surfing (although if you browse a lot of flash based sites you will need to get a third party browser since safari doesn't accommodate it)
    You may do OK on reading books, papers or magazines, especially if they have apps, but the ipad's screen is backlit, so it doesn't work well outdoors and you may need to fiddle with the brightness so that you don't get eye strain (it's just like doing too much reading from a computer screen)
    I would say the biggest short comings are data transfer. Apple's preferred work flow is that everything is done via iTunes or the internet....well people dont' always have 100% reliable always on internet access so you can find yourself in a situation where you can't get things on/off the iPad.
    By and large, it's a good device for day to day stuff, but is not a computer replacement.

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

Maybe you are looking for

  • Missing file folder in LR2.7 -- how to locate

    After a crashed and replaced hard drive, many catalogs no longer refer to a file or folder at its correct location.  Clicking on the "?" in the library modcule and then the "find missing folder or file", only leads me to the message that the file alr

  • Can you tell me how to displays my browser based help?

    I am using RH8, generating Browser based Air, and have windows 7. This is a continuation of my previous discussion. I was able to generate browser based air help for my merged projects just once.But I just tried it again and it won't work. Here is wh

  • Connect WebCenter 11g PS3 to a clustered UCM 11g ?

    Hi, I am trying to figure out how to connect a WebCenter cluster to a UCM cluster. I have mainly been flowing the [Enterprise Deployment Guide for Oracle WebCenter|http://download.oracle.com/docs/cd/E14571_01/core.1111/e12037/toc.htm] but in this cru

  • Crystal Reports and SQLite

    Hello, I work with Crystal Reports 2008. We have a report connected to a Sybase database via ODBC. I tried to replace the Sybase database by a SQLite database 3.6.11 via ODBC. But it doesn't act up, even though the databases contain the same tables.

  • Syncing with gCal but NOT Google Contacts

    Everything I've found so far offers instruction on how to sync all of your Google account with your iphone but I only want to sync my gCal. Can't figure it out. Is this possible?