XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + XPath documentation confusion (2)
-> + Extra block/CR generated (6)
-> + Apache FOP (2)
-> + Inserting Java Script (2)
-> + Convert EDIFACT to X12 or vice... (6)
-> + XSD: Restricting an attribute ... (2)
-> + Creating dynamically named ele... (2)
-> + Report reverts back to XHTML-C... (2)
-> + Certificate error (7)
-> + Opening DITA files and associa... (4)
-> + Cannot see links from source d... (10)
-> + SS 2007 vs. SS 2008 calling a ... (3)
-> + Unable to compile java file (8)
-> + Unable to use xsi:type attribu... (2)
-> + Unable to save xslt file after... (5)
-> + .NET XslTransform Compiled out... (3)
-> + Reporting Comparison (2)
-> + problems setting up the fonts ... (3)
-> + XML conversion (5)
-> + XQUERY: Application Crash (3)
-- Previous [1321-1340] [1341-1360] [1361-1380] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Matthew FadoulSubject: How do I develop the server side of my web service in Stylus Studio?
Author: Matthew Fadoul
Date: 11 Oct 2007 12:57 AM
Hi all,

I'm trying to develop a web service, and I wanted to see how Stylus Studio can help me create a web service. I own Stylus Studio 2007, Enterprise Edition release 2.

I'm not too worried about the client-side code, since it's pretty well documented on the Stylus Studio website. Unfortunately, it seems like all the web services examples (e.g. the WS Call Composer) presuppose an existing web service.

Some notes on what I have:
1) I have created a WSDL file and it refers to an XSD schema that will store the data on the server side.
2) I'm planning on using Axis2. I saw some Stylus Studio documentation which refers to Axis 1.3, but I am hoping to stick with the "latest and greatest" version of Axis2.
3) I've got the Eclipse IDE, along with some Axis2 plugins for Eclipse which I've already used to create and deploy a simple web service (this was before I purchased Stylus Studio).

My basic steps for a successful web service are:
1) Create WSDL and XSD (done)
2) Mystery step to autogenerate server code using Stylus Studio...
3) Somehow end up with a WAR file for Axis2.

Any ideas/tutorials/advice on how I should proceed?

Posttop
(Deleted User) Subject: How do I develop the server side of my web service in Stylus Studio?
Author: (Deleted User)
Date: 11 Oct 2007 09:34 AM
Hi Matthew,
in order to create the server-side part of a web service, you need to code some operation in a language of your choice, and this operation cannot be automated by Stylus Studio. What we can do for you is taking an XQuery document that you wrote inside Stylus Studio (e.g. using Mapper) and publish it as a web service, automatically generating the WSDL that matches its arguments. Have a look at http://www.xquery.com/examples/web-service-example

Hope this helps,
Alberto

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.