If you can handle another tool for comparison: Castor is pretty easy to
use. It 'marshalls' XML input into Java objects and vice versa. It will
generate a set of classes from a Schema file. I'm not a big fan of the
style of the objects it generates (names, etc...) but it works and it
was quick to set up and use. It doesn't do soap envelope stuff -- maybe
does now, but didn't when I used it. Performance was pretty good, so far
as I could tell.

Chris


-----Original Message-----
From: Kurt Olsen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 27, 2005 14:00
To: [email protected]
Subject: RE: Get xml for Object generated with wsdl2java


Thanks Meghan I appreciate it and I'll look into it.
Of the 35 xml sites we transmit/receive from, 30 simply create strings.
It's painfull...but...SOAP is simply insane these days. So...I'm putting
a motion on the floor for renaming SOAP as COAP - Complex Object Access
Protocol. And yes, pun intended!



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 10:46 AM
To: [EMAIL PROTECTED]
Subject: Get xml for Object generated with wsdl2java


Have you looked at JAXB?  Much easier to generate and get an XML
snippet,
if that's all you need and you don't need the Axis http transport
support...

With a deadline, I'm sure you're not too happy about the idea of
starting
from scratch with another tool, but I've used XMLBeans, JAXB, and
Axis--and
Axis definitely took the most learning time and if you need to do
anything
special at all, it can be the highest amount of work.  The only reason I
still use it on one project is because we're integration with a
Siebel-generated service, and they will only support rpc/endoded.
XMLBeans
and JAXB can't generate Java objects for rpc/encoded style xml.

My 2 cents, good luck!  If you decide to use JAXB, let me know if you
run
into any difficulties, there's a good chance I've run into them--I won't
be
on this email for the next three days, but you can contact me at
[EMAIL PROTECTED]

Have lots of sympathy for you, it seems like I've spent most of the past
year struggling with trying to connect to new types of web services
under
time pressures--if there's one thing I've learned, it's that you can
laugh
if someone says "standard" and "SOAP" in the same sentence!  Sometimes
(often) I think it would be easier to paste together the strings and
post
them to a URL without any of this fancy junk.

Meghan

_________________________________
Meghan Pietila
Java Middleware Architect
Sales & Service Management Program
US Bank
Gold 4
(651) 205-0904
(651) 271-2815 cell
[EMAIL PROTECTED]


------------------------------------------------------------------------
----
--
Electronic Privacy Notice. This e-mail, and any attachments, contains
information that is, or may be, covered by electronic communications
privacy
laws, and is also confidential and proprietary in nature. If you are not
the
intended recipient, please be advised that you are legally prohibited
from
retaining, using, copying, distributing, or otherwise disclosing this
information in any manner. Instead, please reply to the sender that you
have
received this communication in error, and then immediately delete it.
Thank
you in advance for your cooperation.
========================================================================
====
==


Reply via email to