Results 1 to 3 of 3
  1. #1
    drogba is offline Member
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default Web Services with custom XML

    Hello,

    I have to create a web service application and I am new to it. The requirement is that I have to use my own custom XML for the data transfer. However, in most of the tutorials I find online, I only need to create a POJO and everything else is done by the container/provider.

    Kindly help/suggest/guide me to the right resource which can show me on how to define my own XML schema to be used in the web service.

  2. #2
    sureshott is offline Member
    Join Date
    May 2011
    Posts
    1
    Rep Power
    0

    Default

    I would start by first defining the WSDL. You could define your xml schema in the wsdl or import the schema. Once that is done you can use any IDE to create web-service framework (top-down) for you. I prefer JAX-WS but you use AXIS too if that is what is required. I hope that answered your question.

    I don't have extensive experience with J2EE but in my last few project I have done that and it has worked out nicely.

  3. #3
    foo123 is offline Member
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default web services

    custom xml web services as i understand it means you create your domain-specific WSDL for your domain-specific SOAP
    SOAP is the actual xml request that you will be receiving and WSDL defines the form of it.
    Now when you have your WSDL there are automated tools (i know there are for .NET applications) for java (google them) that create your source classes
    which process the SOAP request that is described by the WSDL
    of course this can be done manually (you define the object and its getters and setters and possibly validation etc) then use your object from your code and output the result you will.

    i hope this was helpfull.

Similar Threads

  1. Web Services
    By Cbani in forum Advanced Java
    Replies: 6
    Last Post: 01-24-2010, 02:15 PM
  2. Web Services: Axis vs Metro vs Spring Web Services
    By davidbaker29 in forum Advanced Java
    Replies: 0
    Last Post: 01-28-2009, 11:20 AM
  3. Web services
    By Sharmistha in forum Web Frameworks
    Replies: 0
    Last Post: 06-02-2008, 01:06 PM
  4. Web Services
    By d_raghu9 in forum New To Java
    Replies: 0
    Last Post: 02-17-2008, 02:12 AM
  5. Web Services
    By d_raghu9 in forum XML
    Replies: 0
    Last Post: 02-17-2008, 02:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •