Information regarding  web services  its urgent....

Can any body plz tell me, is there any way to integrate a stand alone java swing application with a web service?
If yes how? Its urgent..........
Thanks in advance...
Anand

Hi,
the integration of such a web service is very easy:
create partner link and enter into the field "WSDL file" the URL of your webservice. (The URL which is browsable).

Similar Messages

  • Regarding Web Services

    Hi Rich,
    i have built one application i.e. one program in ABAP, which has some 10-15 Dialog Screens in it, but the requirement is to call that program from an external Website , i am totally dumbstruck, and have no clue on how to do it, my last Query was answered by you, so i am directly adressing you, as u said, we can handle this kind of situations with Web services. Please explain me in detail, if its possible with an example.
    Regards
    Siddhartha

    Hi,
    SAP has a number of different ways that data can be presented to or obtained from a web page.
    - If the web page is to be built using external tools that just want to call SAP as an interface, then the Web Service is probably the best choice.  This requires you to build the business logic independant of the screen logic as described by Rich.
    - If SAP is to produce the Web page, then tools such as BSP, Web Dynpro and ITS can be used.  BSP gives the best presentation at a cost of having to code to handle some browser peculiarities.  Web Dynpro gives slightly less flexible presentation, but is more stable in handling supported browsers and is SAP's preferred way forward for web presentation within a company.  ITS is older technology and requires more HTML and Javascript coding, but can provide a simple front end for Dynpro based screens (eventually these will need to be migrated to BSP / Web Dynpro as SAP reduces support for ITS - they are already moving most internal services, and have made documentation on the ITS almost impossible to find in SAP Help).
    Andrew

  • How to catch client information from web service server side?

    Is there any possibilities to get the client information (any id or ipaddress or anything) from web service running server side(or in console)? I didn't get any idea how to catch this information. If someone knowing this, that would be great and appreciate that help.

    hellloo to u tooooooo
    if u r using any request object u will get the host ipaddress as
    request.getRemoteHost() funciton
    regards
    shanu

  • How to view the SOAP message in a web service call + Urgent

    Hi All,
    Iam trying to test a web service call(Iam using CXF). But I need to view SOAP message sent to web service or need to debug the web service call. Please help me on this regard with example.

    Yes. to find any tcp monitor, define a listen port number, task host and port number, changing your request to listen post, then you can monitor TCP/IP like
    HTTP/1.1 200 OK
    Set-Cookie: JSESSIONID=7A00BD65EF7516AD8947359A25C4D98B; Path=/ComponentName
    Content-Type: text/xml;charset=utf-8
    Date: Wed, 20 Oct 2004 15:45:03 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:testObjectResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:ComponentName">
    <testObjectReturn href="#id0"/>
    </ns1:testObjectResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:MyObject" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ComponentName">
    <name xsi:type="xsd:string">Set Name</name>
    <value xsi:type="xsd:string">set Value</value>
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>
    Lixin

  • Regarding Web Services After getting WSDL how to proceed

    Hi ,
      I am dealing with Web service to IDOC Scenario. I had created a web service in  ID which in turn created a WSDL file . I impoted this WSDL file in External Definition tab in IR part .
      I had find out some blogs dealing with these web services but i am not clear with them
    1) Then how can i give input to SOAP adapter
    2) what is need of going to NWDS and the Wed Dynpro

    Kalyan,
    Download softwares like SOAP UI -http://www.soapui.org/
    Create new project in SOAP UI and add the WSDL to that project and click send.
    Also don't forget to give authorizations.
    Best regards,
    raj.

  • Regarding Web Service.

    Hi Experts,
    Can you please let me know when we define a servce as web service in XI.
    Under which type of scenario it is used.
    Thanks
    Vishal

    Hi,
    this might be helpful:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20013414-b7a9-2b10-8fa1-fc7e5ec02659
    Regards
    Patrick

  • Help needed regarding web service

    I implemented a stateless session bean(also remote and home interface)
    and created a jar file for that bean. After that I converted this bean into a web service using 'servicegen' task and created corresponding client jar using 'clientgen' task. After that I can access that bean method(only one method which accepts List object as parameter) by using URI.
    Here I got the problem. When I give the URI I got the method name and I clicked on it, it asks the input for the List object.
    I give the data as
    <list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xsi:type="java:language_builtins.util">
    <linkDataDecorator xmlns:n1="java:com.b2.indigo.layout.display"
    xsi:type="n1:LinkDataDecorator">
    <n1:linkData xmlns:n2="java:com.b2.indigo.layout.display"
    xsi:type="n2:LinkData">
    <data>ggg</data>
    <label>hhh</label>
    </n1:linkData>
    </linkDataDecorator>
    </list>
    when click on Invoke button I got exception like Failed to invoke service:
    javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: type mapping lookup failure on type=['java:com.b2.indigo.layout.display']:n1:LinkDataDecorator TypeMapping=TYPEMAPPING SIZE=2 ENTRY 1: class: java.util.List xsd_type: ['java:language_builtins.util']:p2:List ser: [email protected]1430 deser: [email protected]d62f1 ENTRY 2: class: com.b2.indigo.layout.display.HtmlBuildingInfoVO xsd_type: ['java:com.b2.indigo.layout.display']:p1:HtmlBuildingInfoVO ser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@19ac931 deser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@10ec447 at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:389) at weblogic.webservice.tools.pagegen.SampleInstance.getJavaObject(SampleInstance.java:145) at weblogic.webservice.server.servlet.ServletBase.getJavaParams(ServletBase.java:438) at weblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase.java:342) at weblogic.webservice.server.servlet.WebServiceServlet.invokeMultiOutput(WebServiceServlet.java:353) at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:300) at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343) at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266) at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158) at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) Caused by: weblogic.xml.schema.binding.DeserializationException: type mapping lookup failure on type=['java:com.b2.indigo.layout.display']:n1:LinkDataDecorator TypeMapping=TYPEMAPPING SIZE=2 ENTRY 1: class: java.util.List xsd_type: ['java:language_builtins.util']:p2:List ser: [email protected]1430 deser: [email protected]d62f1 ENTRY 2: class: com.b2.indigo.layout.display.HtmlBuildingInfoVO xsd_type: ['java:com.b2.indigo.layout.display']:p1:HtmlBuildingInfoVO ser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@19ac931 deser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@10ec447 at weblogic.xml.schema.binding.RuntimeUtils.lookup_deserializer(RuntimeUtils.java:443) at weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec.deserialize(XSDAnyCodec.java:106) at weblogic.xml.schema.binding.SoapArrayCodecBase$EntryIterator.getNextObject(SoapArrayCodecBase.java:751) at weblogic.xml.schema.binding.SoapArrayCodecBase$EntryIterator.(SoapArrayCodecBase.java:707) at weblogic.xml.schema.binding.SoapArrayCodecBase.deserialize(SoapArrayCodecBase.java:288) at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:428) at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:328) at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:384) ... 21 more

    Hi,
    What is the version of the weblogic server and service pack you are using ?
    Regards
    Anilkumar kari

  • Regarding Web service navigator...

    HIII
    i have  issue that how can i check the location of Available web service in server. and How it can be deleted..
    Thanks

    hiii NAGA..
    I have to delete some web services from server  in this way that they r not visible in the web application navigator home page. I have found the ans of my last question regarding the " location of web apps" which is "usr\sap\e60\jc01\j2ee\cluster\server0\ apps\sap.com." at this location all the files r deployed . But I need a loaction where all the web services r found at single location.
    suppose i need the location of  "SLD START " service in that case the loaction will be usr-sap-e60-jc01-j2ee-cluster-server0- apps-sap.com-tcSLutil~wserver\server_js
    But now i search for CMSRTS the location will be different.
    I need a single location where all this files resides.
    how can i  deploy my web service to web service navigator . ???
    Thanks in advance...

  • Somehelp regarding Web service consumption in portal component

    hi all,
    I need Somehelp regarding External Web Service consumption in portal component.
    I have a wsdl file, but when i try to create a model using wsdl in portal it is showing cannot to read the wsdl file.
    is there any other way i consume wsdl in portal.

    Hi,
    mybe it's an authorization problem while reading the WSDL file?
    Try to include it like this:
    http://mycompany.net:8000/sap/bc/srt/rfc/sap/Z_Webservice_Test?sap-client=800&wsdl=1.1&sap-user=USERNAME_ON_BACKEND&sap-password=XXXXXXXXX
    Thomas

  • A question regarding Web Service Client

    Hi,
    I read the tutorial "Creating Web Service Clients with JAX-RPC" and I coundn't understand something.
    The code conatins, for example: (Stub) (new MyHelloService_Impl().getHelloIFPort()); Since it's a stand alone client, how it suppose to recognize MyHelloService_Impl()? Should it be added to the project libraries? What did I miss here?
    Thanks, Lior

    The wscompile tool generates class files required by the static stub client. The HelloClient program creates a stub as follows:
    stub = (HelloIF_Stub)
    (new HelloWorldService_Impl().getHelloIFPort());
    The wscompile tool generates the HelloIF_Stub and HelloWorldService_Impl classes and places them in the build/classes/server/ subdirectory. To construct the HelloIF_Stub name, wscompile appends _Stub to the portType name defined in the WSDL file:
    <portType name="HelloIF">
    To create the HelloWorldService_Impl name, wscompile appends _Impl to the service name, which the WSDL file specifies as follows:
    <service name="HelloWorldService">

  • Help regarding web services

    hai iam a java developer building web application,i wanted to learn the web services with soap client.i dont know where to start?,what a web services are?,so to learn from basic what r the softwares needed.and from where i can get best tutorial please help

    Visit http://ws.apache.org/axis/index.html and download Axis which I found to be a simple and excellent means of learning web services. It has Developer & User guide which you will definetly find very useful to begin with.

  • Query regarding Web Services.

    Hello,
    While doing the Administration of SOAP runtime how can one able to know in which application server on which a J2EE Engine was started.
    Please Suggest.
    Thanks
    Vineet

    The J2EE engine should be started on the same server as is WAS, so in other words the same server where you have SOAP runtime.
    However if you are just creating and testing web services, you do not have to have J2EE engine started. You can still define services and test them using external clients (I could easily use NWDS WS client).

  • Regarding Web services security.

    Can I implement a database level username/password security for a web service.
    So only database users can access the web service.is it possible?
    Any implementation example or related document?
    Thanks!

    Hi Soni,
    Yes, you could.
    Two options I can think of:
    - Program WS-Security for your specific web service
    - Use Oracle Web Services Manager
    With respect to the latter: I believe there is no OWSM policy step to handle your requirement out of the box. OWSM comes with policy steps for file-based authentication as well as for authenticating against Active Directory or a generic LDAP directory.
    In this case you could opt for the creation of a custom policy step.
    Hope this help.
    Sjoerd

  • Regarding web service n multiplayer online board game

    I am using a custom web service package : wellconsidered. i
    am creating a chinese checkers online using FLash cs3. i used sql
    server as database.
    This is how it works:
    import be.wellconsidered.services.WebService;
    import be.wellconsidered.services.Operation;
    import be.wellconsidered.services.events.OperationEvent;
    var ws = new WebService("
    http://www.webservicex.net/WeatherForecast.asmx?wsdl");
    var op:Operation = new Operation(ws);
    op.addEventListener(OperationEvent.COMPLETE, onResult);
    op.addEventListener(OperationEvent.FAILED, onFault);
    op.GetWeatherByPlaceName("new york");
    function onResult(e:OperationEvent):void { trace(e.data); }
    function onFault(e:OperationEvent):void { trace(e.data);
    Can this webservice be used for creating the game? this is a
    passive pull technology. but is there a way to consistently detect
    and send data? the push technology replaced with Timers? Need guide
    on this.

    I am using a custom web service package : wellconsidered. i
    am creating a chinese checkers online using FLash cs3. i used sql
    server as database.
    This is how it works:
    import be.wellconsidered.services.WebService;
    import be.wellconsidered.services.Operation;
    import be.wellconsidered.services.events.OperationEvent;
    var ws = new WebService("
    http://www.webservicex.net/WeatherForecast.asmx?wsdl");
    var op:Operation = new Operation(ws);
    op.addEventListener(OperationEvent.COMPLETE, onResult);
    op.addEventListener(OperationEvent.FAILED, onFault);
    op.GetWeatherByPlaceName("new york");
    function onResult(e:OperationEvent):void { trace(e.data); }
    function onFault(e:OperationEvent):void { trace(e.data);
    Can this webservice be used for creating the game? this is a
    passive pull technology. but is there a way to consistently detect
    and send data? the push technology replaced with Timers? Need guide
    on this.

  • Making a webdynpro through Web Service| VERY URGENT

    Hi ,
       I am having a problem in the scenario when I am trying to make a webdynpro application using a WSDL file . When I deploy the application in my first view which is a search view the field appears disabled and I am not able to input the values for the same .I have done the following ...
    1) In my action search following is the code
    public void onActionSearch(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSearch(ServerEvent)
        wdThis.wdFirePlugToOutputView();
        wdThis.wdGetContactTestAgainController().executeSearch();
        //@@end
    2) in the wdDoInit method of the component controller following is the code
    public void wdDoInit()
        //@@begin wdDoInit()
         Request_Default_siebelContactQueryByExample input =
              new Request_Default_siebelContactQueryByExample();
         wdContext.nodeRequest_ByExample().bind(input);
        //@@end
    3) In the execute search method following is the code
    public void executeSearch( )
        //@@begin executeSearch()
         try
              wdContext.currentRequest_ByExampleElement().modelObject().execute();
         catch(Exception ex)
              wdContext.nodeResponse().invalidate();
              wdContext.nodeResult().invalidate();
        //@@end
    The scenario is somewhat like this . There is a proxy class being generated while importing the model by the name "Request_Default_siebelContactQueryByExample" . This class has a list inside . The relevant code for this inside the above mentioned class is as follows
    private java.util.List _listOfContactInterface;
    public void setListOfContactInterface (java.util.List arg)
         this._listOfContactInterface = arg;          
    public java.util.List getListOfContactInterface ()
         return _listOfContactInterface;           
    public void setListOfContactInterface (com.test.last.proxies.types.Contact[] args)
         if(_listOfContactInterface == null) _listOfContactInterface = new java.util.ArrayList();
         if (args == null ) return ;
         for(int i=0;i<args.length;i++)
              com.test.last.ComplexType_Contact wrapper = new com.test.last.ComplexType_Contact ();
              wrapper.setOriginalBean(args<i>);
              _listOfContactInterface.add(wrapper);     
    public com.test.last.proxies.types.Contact[] getListOfContactInterfaceAsArray ()
         if(_listOfContactInterface == null) return new com.test.last.proxies.types.Contact[]{};
         com.test.last.proxies.types.Contact[] ListOfContactInterfaceAsArray = new com.test.last.proxies.types.Contact[_listOfContactInterface.size()];
         for(int i=0;i<_listOfContactInterface.size();i++)
              com.test.last.ComplexType_Contact item = (com.test.last.ComplexType_Contact)_listOfContactInterface.get(i);
              ListOfContactInterfaceAsArray<i> = item.getOriginalBean();
         return ListOfContactInterfaceAsArray ;
    I think I have to do something to set the values for the input the parameters . There  is a field "id" that I am taking as my input but I am not sure how to set this value from the list .May be this is the reason for the whole problem .
    Also if there is a cardinality issue then I have checked the context for views and the controller for the same . The cardinality appears to be 0..n for the input model node and 0..1 for the output model node that I have created and in both the cases it appears to be non editable .
    This is a very urgent issue and will highly appreciate a prompt reply .
    Regards
    Deepak Singh

    Hi Deepak,
    I was facing the same problem with my webservice, the problem is when u create a model for a webservice, u need to create a webservice through UDDI server. When u create model u will get three option :
    1) Local Server
    2) Local Server URL
    3) UDDI Server URL
    U need to select the 3rd option and importing of webservice should be
    Import webservice (deprecated) if u are using NWDS version 13.
    And also refer this document, and hope your question will answered ..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/696f9c90-0201-0010-0abd-86c6c7454052
    All the best
    Regards,
    Sameer Ali Khan

Maybe you are looking for

  • Dreamweaver CS3 Paste HTML Problem

    Hi, I'm a fairly basic user of Dreamweaver CS3. I used to be able to paste HTML into webpages with no problem. I have recently upgraded to CS3 and that menu command (Paste HTML) seems to have gone. Can anybody help? Thanks, your help would be appreci

  • ORAMED-01002:[Metadata error in assign operation]

    Im using the Oracle Mediator component to assign an expression to a property. The assign expression uses the dvm:lookupValue() function to assign the outcome of the function to the property. When I invoke a message from e.g. SoapUI or the em testfeat

  • NetBeans 6 M10: Update Center Missing?

    I can't find the Update Center in NetBeans 6 M10 in the tools menu...

  • Sales By Month Query

    Hello - Any way to adjust the below query to also include Credit Memo / Returned Items? Also, does it include freight amt? SELECT T0.State1 AS 'Bill-to State', (SELECT SUM(T1.DocTotal) FROM OINV T1 with (NOLOCK) INNER JOIN OCRD T2 ON T2.CardCode=T1.C

  • How to play other non-mainstram video formats

    merry xmas guys! former MS user, now in Mac, with quicktime, how can I play other video formats like - .rm, .asf, .wmv etc.. or any other software recommend to cover all of them? cheers, Jake