Create Webservices using xsd

what are the steps to create webservices usind xsd, a working code example will be greatly helpful.

ejp wrote:
I have to create a webservice using rad 7. I need to create a xsd file and generate the javabeans and import the xsd into wsdl file.No you don't. You have to create a wsdl file that describes the remote services you're going to offer. The xsd of a wsdl file is already written, you don't have to do anything about that.
I understood conceptuallyNo you don't.
You could use the WSDL compiler, google for that.I'm guessing he means he's tasked with producing a schema that'll then be imported into the WSDL. Pretty standard practice to define the stuff you're going to use in your web services outside of the WSDL itself.

Similar Messages

  • Unable to create WebService using Wizard

    XML experts,
    I am following the 'How to...Send XML Data to BW' guide.  In Step 26, for BW 3.5, I start to create WebService using SE37 and use the Wizard.  I go thru all the steps as follows:
    Virtual Inteface:  Myservice
    Short Description:  Myservice
    Endpoint Type:  Function Module
    Check  Name Mapping box
    Function Module:  /BI0/QI6ASENDXMLDATATOBW_RFC
    Name:  Myservice
    Short Description:  Myservice
    Profile:  Basic Authorization: SOAP Pro
    If you select Complete, the following objects are created in the Object Navigator:
    The virtual interface Mydemo
    The Web service Mydemo
    The address of the Web service is default_host/sap/bc/srt/rfc/sap/Mydemo
    In addition, the Web service definition is released for the SOAP runtime.
    To find the address of the Web service, use the transaction WSCONFIG, which supports you when you publish a Web service in the UDDI.
    WHEN I PRESS COMPLETE, I get a message 'Object can only be created in SAP Package'.  I SELECT OK and get the CREATE OBJECT DIRECTORY ENTRY popup for entering package info for transport.
    <b>Question:  Is this normal?  I tried local object ($tmp) and ZBIW, but it does not take it.  Says, test object cannot be created in foreign namespaces.  What do I need to do to bypass this?</b>
    Thanks a lot!!

    Hi
    <a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-i 1</a>
    <a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-ii 2</a>
    Regards
    Abhijith Ys

  • Creating webservice using webdynpro java calling bapi from r/3

    hi all,
    as i am new to this area can anyone provide me a guide to create a simple webservice using webdynpro java to call bapi's from r/3?
    i want to consume the created webservice on a .net client.
    Thanks in advance,
    Raghunandan

    You can use the SAP .NET Connector to do it.
    Download from [http://service.sap.com/connectors|http://service.sap.com/connectors].

  • Create webservice using different Business Objects

    Hi Experts
    Is it possible to create a webservice using different business Objects i.e "BOL Intergration for cases" and "Business Partner"?
    This is a scenario:
    I created webservice and on Business Object field I chose "BOL Intergration for cases" reason being that I want to see all attributes related to  root object  "case" and at the same time I also want to view attributes related to business object Busines Partner  root  object "Account" Is it possible to do that?
    Thanks for your help
    Regards
    Maria

    Hi,
    >>>I created webservice and on Business Object field I chose "BOL Intergration for cases" reason being that I want to see all attributes related to root object "case" and at the same time I also want to view attributes related to business object Busines Partner root object "Account" Is it possible to do that?
    sure it is - you can even create two WS for each of those and the third on that will be using both previous
    Regards,
    Michal Krawczyk

  • How to create Webservice using java

    Hi Experts,
          I am very new to Visual composer, can any one of you suggest how to create a webservice using java so that i can use that webservice in Visual Composer application.If it is possible please give me detailed description about it.
    Regards,
    Prasanna.

    Hi Prasanna,
    See if my article is of any use to you:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10">How to Create a Web Service using an Enterprise JavaBean</a>
    For creating Web Services, you won't need to do the MS SQL Part explained in my doc. You can just concentrate on the part where i explain how to create a Web Service using an EJB.
    Bye
    Ankur

  • Creating WebService using Jdeveloper 9i

    Is there a article on creating PLSQL Webservice using Jdeveloper 9i(9.0.3.5) and then porting it on the Application server? We have Oracle Application 11.5.10 using 10g database.
    Thanks
    PHK

    Follow the links at the end of the demo pages of JDeveloper to get to older stuff for example this:
    http://www.oracle.com/technology/products/jdev/viewlets/903_ws_plsql/903_WS_PLSQL_viewlet.html

  • Creating Webservices using SOA Manager

    Hi All,
    I have created a webservcive for a FM using the serivce wizard and configuring the same in SOA manager transaction. This needs to be consumed by a Flex application. But we not able to consume it? Do i need to create consumer proxy for this in SOA Manager? For this once again do i need to create Logical port ?
    I am new to using this? Immediate help reagarding this is highly appreciated as this is an urgent requirement.
    Thanks and regards,
    Uma

    Configuring your WS via SOAMANAGER or WSCONFIG/ WSADMIN is not all. After you do the config, you need to publish it.
    In order to publish:
    Go to Txn SM59 and create two TYPE G destinations for:
    1. UDDI INQUIRY and
    2.UDDI Publish
    Make sure you have OLD_UDDI attached to your user profile.
    Then go to txn: SUDDIREG to register your destinations.
    Open your WS in SE80 and go to variants tab.
    on the UDDI node right click and publish to the UDDI registry you menytioned in SUDDIREG.
    Then open your UDDI Client:
    http://<Host
    Name>:<J2ee Port#>/index.html.
    search your registry .. if found the WS published successfully.,
    Pls reward points if this is helpful.

  • How to create a webservice using a WSDL document !!!

    I have tried to create webservice using WSDL but i dont need any document ... is there any document where i can see a thorough procedure to develope it

    Hi,
    go to tools in ID and click define webservices
    It will show a window where u have to give interface name and name space and u have to provide soap url their
    http://<port>/XISOAPAdapter/MessageServlet?channel=:service:channel
    then a webservice is created....
    thanq
    krishna
    Edited by: krishnachitanya siddavattam on Mar 6, 2008 10:51 AM

  • Unable to create webservice system!!!

    Hi Friends,
    I am using SAP NetWeaver 2004s Visual Composer SP 08.
    My problem is, No matter whatever WSDL url i give to create the WebService System in the VC its throwing me the error '<i>Invalid Web Service URL: http://ws.invesbot.com/stockquotes.asmx?WSDL</i>'
    I have given as below:
    New System name : <i>invesbot</i>
    New System alias: <i>invesbot</i>
    Web Service URL: <i>http://ws.invesbot.com/stockquotes.asmx?WSDL</i>
    I am really clueless to know whats wrong in the WSDL URL. When i give the above WSDL url on the browser it shows the XML details.
    Is there anything else i should do for the Web Service URL?????
    Thanks,
    Raghavendra P

    Hi Raghavendra,
    I tried to create webservice using the URL you've given and it worked on my system (fyi: I am using sneak preview)
    Just for counter checking, can u able to try creating webservice for the following URL?. This is an example provided in the VC help docs.
    http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
    Name the system CurrencyConverter and give it the alias Converter
    Thanks
    Sathish

  • Create Webservice and deploy

    Dear Gurus,
    I had followed the below steps in creating webservices using ABAP.
    1. Create Package
    2. Create Function group
    3. Create RFC function module
    4. Create webservice from the function module
    5. Create service definition, select port profie and deploy service and assign to Package and transport request
    6. Executed SOAMANAGER transaction , it opens a webpage with internet explorer defaul web page and I dont see any SOA administration related information and I dont have any clue how to proceed further.
    Please let me know if I there is any prerequisities Like SP to be installed, or any configuration / settings needs to be done.
    I am workign in SAP ECC 6.0 (SAP version 700)
    Thanks in advance.
    Thanks
    Shanthi

    Hello,
    In Web Service hierarchy transaction SICF, node APPL_SOAP_MANAGEMENT should be active. The complete path is default_host/sap/bc/webdynpro/sap/APPL_SOAP_MANAGEMENT.
    Once you are in the SOA Management screen, select single service adminstration and select your service and create End Point there.
    Thanks,
    Venu

  • Create webservices and deploy

    Dear Gurus,
    I had followed the below steps in creating webservices using ABAP.
    1. Create Package
    2. Create Function group
    3. Create RFC function module
    4. Create webservice from the function module
    5. Create service definition, select port profie and deploy service and assign to Package and transport request
    6. Executed SOAMANAGER transaction , it opens  a webpage with internet explorer defaul web page and I dont see any SOA administration related information and I dont have any clue how to proceed further.
    Please let me know if I there is any prerequisities Like SP to be installed, or any configuration / settings needs to be done.
    I am workign in SAP ECC 6.0 (SAP version 700)
    Thanks in advance.
    Thanks
    Shanthi

    Hi,
    The steps are
    1. In start menu --> Run --> type Drivers and press enter
    2. In that select the folder etc
    3. Then open the file hosts in notepad
    4. In the hosts file add your server ip and the domain name and save it.
    5. Then in internet explorer click tools --> internet options --> connections --> lan settings ---> advanced and add the domain there also.
    it will work fine
          For this get the assist from your system Admin.

  • Creating webservice in XI

    Hi Experts,
       I have created webservice using Define webservice from option Tools in Integration Directory,  this kind of webservice is used as sender( webservice). is  there any other way to create Webservice( to use it as Receiver Webservice) in XI. Plz help me out.
    Thanks
    Siva Grandhi.

    Hi
    in XI u can create the web servie using that option only.
    after creating the wsdl file using the ID u have to import as an external definition in XI.
    u can also create the web service using the RFC in the R/3 system.
    To create the web service using the RFC u have to create the function module using the transaction SE37, and that function should be RFC enabled.
    to make the function RFC enable go to the properties --->selce the ardio button RFC Enabled.
    now go to the  utilities->More utilities->create web service-->from function module
    a wizard will be open to create the web service.
    provide the mandatory field parametewrs like web service name , function module name and complete the wizard.
    the web service will be craeted using that wizard.
    now to see the web service go to the transaction wsadmin
    in wsadmin go to the
    SOAP Application for RFC-Compliant FMs
    and the web service that u have craeted is now present in the list.
    Thanks
    Rinku

  • How to create and use Webservice controls using WSDL in weblogic portal10.3

    Hi All,
    I have WSDL , How to create webservice controls using the WSDL in weblogic portal 10.3 and use those controls to invoke those webservice methods?
    please give me the documents links for this.
    Thanks
    Venkata Sarvabatla

    As far as I remember, Controls can be called only from Pageflows, BackingFiles, Another Control (Like control calling another control) etc. In pageflow we use annotation @Control and give control classname and a varialbe for that. I am pretty sure this annotation may not work from normal java class and in your case a JAVA JSR Class.
    If you installed the samples, refer the samples from WLS: C:\beawlp103\wlserver_10.3\samples\server\examples\src\examples\webservices. They have lot of fully ready to work samples with instructions. I used clientgen ant task. But you can use standard SUN JDK Command "wsimport" also to generate the java files from the WSDL. Open any command prompt. If java is in classpath, just run wsimport and that should give an idea.
    Goud

  • How to use own created WebService in BPEL?

    Hello!
    I have a problem using an own created Web Service (a wsdl file) in BPEL Process Manager.
    At the moment I have a Java program which is getting values from SAP via SAPJConnector. From this Java program I generate an WebService File (wsdl) via Axis (on my local Tomcat Server).
    Now I want to use this own created WebService (wsdl file) in BPEL. I don't know how to bulid it to my BPEL Server so that I can use it in JDeveloper.
    Does anyone know what I have to do?
    Would be nice if someone could help me, because its very important
    Thank you

    Hi.
    Thanks for your reply.
    The way to invoke the WebService in BPEL Designer is not the problem i have.
    The problem i have is how to deploy my own created WebService (from a Java class with AXIS) to the BPEL server (OC4J).
    Do you know a solution for this?
    I described my Problem detailed in another thread "Thread: Issues Publishing Web Service to OJ4J"
    Tanks and Regards
    Benjamin

  • Returning Errors from a webservice using XMLBeans

    I have a webservice that accepts XML as input and output parameters, and I'm using XMLBeans to handle this. I'm trying to work out how I can return error information from the webservice, so I created an Exception.xsd schema and 'include' it in the output XML Schema, so an exception xml element is valid in the output schema. The problem is, the XMLBean class generated from the output XML schema has no methods that allow me to create an Exception element. Is there some other way of handling the return of exceptions from webservices using XML?

    The answer is just throw a SoapFaultException and put the exception.xsd XMLBean in the FaultDetail section of the SoapFaultException.

Maybe you are looking for