Is the hand built WSDL required for this to work. I have a huge interface that I want to expose
as a service using doc/lit and was wondering, if I picked up 1.2 and used the JAVA2WSDL and WSDL2JAVA
method, could I get the doc/lit to work. Tried with 1.1 for a while and gave up.
Has anyone tried the JAVA2WSDL and WSDL2JAVA process to do doc/lit services? Any input would be
greatly appreciated.
Thanks in advance
-Saravanan
-----Original Message-----
From: Anderson Jonathan [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 12, 2004 4:46 PM
To: [EMAIL PROTECTED]
Subject: RE: RPC and Doc/Literal...
First, read this if you haven't:
http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-wsstyles.html
Bottom line is that you can't do doc/literal with Axis 1.1. We're currently using Axis 1.2 alpha builds to publish doc/literal Web services. It goes something a little like this:
Build XML Schemas (by hand, using XMLSpy 2004).
Build WS-I compliant WSDL (by hand, using XMLSpy 2004 and SOAPScope 3.0). Axis 1.2 WSDL2Java to generate:
a) server side web service skeletons
b) Java data objects
c) deploy.wsdd snippet
d) client side proxy stubs
Sounds easy, right? Just remember Google, Bugzilla, Red Bull, and Starbucks are your best friends. Good luck.
-Jon
-----Original Message-----
From: KimJohn Quinn [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 12, 2004 2:48 PM
To: [EMAIL PROTECTED]
Subject: RPC and Doc/Literal...
Everyone,
Quick question, currently we are using RPC for building WebServices that interact with .NET (.NET is the client, Axis is the Server). We can do this with no problem including using the wsdl "to" and "from" tools. We are now trying to generate those same objects for doc/literal but without much success. Are there any good resources to reference for doing this? Running into problems with the encoding and the namespaces mostly.
Thanks.
KimJohn Quinn
[EMAIL PROTECTED]