You should be able to do this much more simply by just adding the
rampart.mar directly to your classpath. That way you can skip all the
repository setup (including the ConfigurationContextFactory call) and
just need to call engageModule("rampart"); in your code.
- Dennis
--
Dennis M. Sosnosk
http://www.ibm.com/developerworks/java/library/j-jws4/index.html
http://www.ibm.com/developerworks/java/library/j-jws5/index.html
http://www.ibm.com/developerworks/java/library/j-jws6/index.html
http://www.ibm.com/developerworks/java/library/j-jws7.html
- Dennis
--
Dennis M. Sosnoski
Java XML a
Hi Rajan,
See http://www.ibm.com/developerworks/java/library/j-jws6/index.html
WS-Security overhead is very high, and you're best off limiting its use
for high-volume web services to cases where it's really needed. And it's
not just Axis2/Rampart that has this kind of overhead - the second nex
Rogan Creswick wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rogan Creswick wrote:
Error: java.lang.UnsupportedClassVersionError: Bad version number in
.class file at java.lang.ClassLoader.defineClass1(Native Method) at
...
I've been building with java 1.6, but I've been using
Hi Rogan,
I don't know why you'd be experiencing this problem, but at least under
Tomcat you probably want to have the .mar files in the /WEB-INF/modules
directory, rather than the /WEB-INF/lib directory. My article at
http://www.ibm.com/developerworks/java/library/j-jws4/index.html
discusses
It turns out JAXB is actually treating the whitespace as part of the
name, just like ADB (and JiBX, at present). The funny part is JAXB
actually reports an error if the name contains any invalid
non-whitespace characters.
I'll point out this problem on the JAXB list.
- Dennis
D
Ellecer Valencia wrote:
Thanks for the suggestion Dennis. I have also used it to generate
client code via CXF (which defaults to JAXB), and didn't fail on
generation of code as well.
JAXB may be stripping off the whitespace. That's what I initially
assumed should be done, but from looking at t
Hi Ellecer,
I'd say this is an error in your schema definition and should be
reported as such by the schema processing. Schema says the value of the
name attribute should be of type NCName, which only allows name
characters in the value.
Have you tried this schema with any other schema tools
Hi Ellecer,
Schema is a mish-mash of features, many of which do not make any sense.
xs:hexBinary is pretty much in this category. It's always going to be
bulkier than xs:base64Binary, and has no compensating advantages. Just
ignore it, and always use xs:base64Binary - that way, in cases where
Certainly you can do this - XMLBeans is open source code, so get a copy
of the source and modify it to generate the kind of class structure you
want in your own custom version.
Otherwise, follow Amila's suggestion and go with another data binding
approach. ADB is very easy to use with Axis2 an
See http://issues.apache.org/jira/browse/AXIS2-4434 Feel free to add a
comment... :-)
- Dennis
--
Dennis M. Sosnoski
Java XML and Web Services
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
Damian
Oh, and set the "useOriginalwsdl" parameter "false" in your services.xml
so that Axis2 will generate the WSDL, rather than just using the one you
supplied originally.
- Dennis
Dennis Sosnoski wrote:
If you're using Axis2 and WS-Policy configuration of the securit
If you're using Axis2 and WS-Policy configuration of the security the
policy information should be automatically added to the generated WSDL.
Try a browser request to your service endpoint + "?wsdl" (e.g.
"http://localhost:8080/axis2/services/myservice?wsdl";) and see if the
policy is present.
e??
Thanks,
Greg
On Mon, Aug 3, 2009 at 3:03 PM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Hi Matt,
There's some sort of inconsistency here. Your interface defines
methods taking and returning objects of type Status, yet the
definition you've prov
g.jibx.ws.wsdl.tools.Jibx2Wsdl com.test.matt.PojoClass
which gives me the following xsd: (the wsdl looks ok)
http://www.w3.org/2001/XMLSchema";
xmlns:tns="http://com.test/matt"; elementFormDefault="qualified"
targetNamespace="http://com.test/matt";&
Hi Lorenzo,
You can see my recent articles on developerWorks for examples of using
policy-based WS-Security with Axis2/Rampart:
http://www.ibm.com/developerworks/java/library/j-jws4/index.html?S_TACT=105AGX02&S_CMP=EDU
http://www.ibm.com/developerworks/java/library/j-jws5/index.html?S_TACT=105
I finally got around to trying out
Jibx2Wsdl. Unfortunately, it does not produce the correct schema for
enums either. My simple status enum produces the following xml:
How can I generate this correctly?
On Tue, Jul 21, 2009 at 12:59 PM, Dennis Sosnoski <mailto:d...@sosnoski.co
robert lazarski wrote:
Yes, use Jibx2Wsdl from jibx instead of java2wsdl. jibx seems to
support enums:
http://jibx.sourceforge.net/tutorial/binding-advanced.html
A somewhat dated article here shows how to use Jibx2Wsdl - try
googling for something with the latest release.
http://www.infoq.com/
There can be many types of differences between XML documents which are
not considered to be significant (whitespace, prefixes used for
namespaces, etc.), so if by "exactly identical" you mean the same exact
sequence of characters the answer is very likely "no". If you mean
they'll be equivalent
tutorials on
this - is the kSOAP/kSOAP2 engine
along the lines of Axis? I mean, beyond the general implementation of
the specification, does it offer
tools to generate stubs from WSDL files etc? I don't seem to be able
to find even these basic
documentations on their web site.
Thanks ve
I'm not sure what Martin meant in his reply. This sounds like it's an
ADB-specific problem. Assuming the schema is along these lines:
the expected handling would be to generate
when the array is null. If ADB is not doing this it should be considered
a bug. Lik
Hi Andreas,
Calling this "the correct behavior" seems a stretch to me. It's the
expected behavior using the Woodstox output handling, but it leads to
strange results in practice. There's no justification in terms of the
XML specification for escaping the LF character, since the specification
sting WS on
J2ME devices?
Thanks
Dennis Sosnoski wrote:
Hi Demetris,
Part of the problem is that J2ME compatibility is not the easiest
thing to determine - it's not like you can just set a compiler option
and have any compatibility problems reported during the build.
JiBX used to work on
Hi Demetris,
Part of the problem is that J2ME compatibility is not the easiest thing
to determine - it's not like you can just set a compiler option and have
any compatibility problems reported during the build.
JiBX used to work on mobile devices, though I think the J2ME
compatibility for t
oxy(Axis2), and I am providing the endpoint to the stub, my
code does't handle connections
thanks again
On Wed, Jun 24, 2009 at 10:12 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
I'm surprised this works at all in an app server environment. The
app server
;);
System.setProperty("javax.net.ssl.trustStorePassword",
"changeit");
First time, when I deploy the application on weblogic server
everything works, but after restarting the application server then I
get "no trust certificate found"
any idea pl
Hi Shasta,
I've never had any problems setting the client truststore using the
javax.net.ssl.truststore property, so I suspect something is wrong with
your actual truststore/keystore files. You might want to check what's
actually in the stores using a tool such as http://portecle.sourceforge.n
that server.
- Dennis
Dennis Sosnoski wrote:
Hi Glen,
It really depends on what you want to do. If the server is just using
a self-signed key there's no actual chain involved, so this issue only
arises when the server is using a certificate issued by a private
certificate authority
Hi Glen,
It really depends on what you want to do. If the server is just using a
self-signed key there's no actual chain involved, so this issue only
arises when the server is using a certificate issued by a private
certificate authority (since if they're using one of the "official"
public au
Hi Dennis,
You can change your schema (assuming it's under your control) to use
element substitution groups. With a substitution group, each element
name can be tied to a specific extension of the base type.
I realize that if you're not schema-knowledgeable this suggestion may
not make much
}
}
P.S. If I had more time, I would love to look at ADB or JiBX, but for
now there is no chance, a lesson learned for now.
On Tue, May 19, 2009 at 3:29 PM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Ah, I hadn't seen noticed/remembered this
ge
can only return inline base64.
Regards,
Andreas
On Mon, May 18, 2009 at 13:22, Dennis Sosnoski wrote:
Hi Andrew,
Your best starting point is to get rid of XMLBeans. XMLBeans always stores
raw XML in memory, so there's no way to avoid the memory issues with large
messages.
ADB would
Hi Andrew,
Your best starting point is to get rid of XMLBeans. XMLBeans always
stores raw XML in memory, so there's no way to avoid the memory issues
with large messages.
ADB would avoid some of the overhead, in that it would convert the XML
message to an object graph, which would typically
Hi Frederick,
Unless you have some very special needs, you probably want to be using
data binding rather than going through AXIOM directly. Using data
binding is both easier from the programming standpoint, and more
efficient in that AXIOM is relatively slow to construct and uses a lot
of mem
Your server is generating invalid XML. minOccurs="0" means that the
element can be left out of the XML document, but if the element is
present the content must match the TimeStampType. The empty string does
not match this type, even ignoring the regular expression part, because
the type definit
we
have not evaluated other binding options as of now.
Thanks,
Sudhir
On Wed, May 6, 2009 at 3:01 AM, Dennis Sosnoski mailto:d...@sosnoski.com>> wrote:
Hi Sudhir,
Are you using WS-Security for the service? WS-Security builds
an in-memory model of th
ave
not evaluated other binding options as of now.
Thanks,
Sudhir
On Wed, May 6, 2009 at 3:01 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Hi Sudhir,
Are you using WS-Security for the service? WS-Security builds an
in-memory model of the XML if you're using sig
Hi Sudhir,
Are you using WS-Security for the service? WS-Security builds an
in-memory model of the XML if you're using signatures (and perhaps at
other times - I haven't checked, but there appeared to be some issues in
this area).
If you're not using WS-Security this type of data should not
Hi Richard,
The best way to handle this is by keeping your implementation code
separate from the generated codes. For the server code, the easy way to
do this is by extending the generated XXXSkeleton class with your own
implementation class, which overrides all the methods of the skeleton.
T
GetObject(deployeingmodule)
INFO AWT-EventQueue-0 org.apache.axis2.deployment.ModuleDeployer -
Deploying module: sample-logging
DEBUG AWT-EventQueue-0 org.apache.axis2.i18n.ProjectResourceBundle -
org.apache.axis2.i18n.resource::handleGetObject(invalidphase)
Thanks again for your help.
Joe
#x27;s manifest file,
recompiled and ran the client, still gives the error: "Unable to
engage module : logging".
Any idea what might be wrong?
Thanks again.
Joe.
On Sat, Apr 18, 2009 at 2:12 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Hi Joe,
Try includin
#x27;s manifest file,
recompiled and ran the client, still gives the error: "Unable to
engage module : logging".
Any idea what might be wrong?
Thanks again.
Joe.
On Sat, Apr 18, 2009 at 2:12 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Hi Joe,
Try includin
d and ran the client, still gives the error: "Unable to
engage module : logging".
Any idea what might be wrong?
Thanks again.
Joe.
On Sat, Apr 18, 2009 at 2:12 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Hi Joe,
Try including the logging.mar in your clas
Hi Joe,
Try including the logging.mar in your classpath. You can also use a
repository structure on the client side, but the classpath approach is
easier.
Cheers,
- Dennis
--
Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sos
JiBX now includes support for generating classes from schemas, which can
easily be customized to remove unnecessary schema components (and their
associated classes). You do need to do this as a separate step from
running WSDL2Java, and need to have the schemas separate from the WSDL.
You can re
Hi Sneha,
Validating against a schema definition is easy. I developed a validation
module for Axis2 to demonstrate how this can be done using a handler,
which you can find at http://www.sosnoski.co.nz/validation.zip
Doing this against a WSDL is a little more difficult, in that you need
to ex
agree, I will look in to that and see whether we can handle
this more gracefully. There was an issue [1] and it is now fixed in
the trunk.
thanks,
nandana
[1] - http://issues.apache.org/jira/browse/RAMPART-176
On Mon, Mar 16, 2009 at 12:37 PM, Dennis Sosnoski <mailto:d...@sosnoski.com
L seem to be invalid.
thanks,
Nandana
[1] -
http://specs.xmlsoap.org/ws/2005/07/securitypolicy/ws-securitypolicy.pdf
On Mon, Mar 16, 2009 at 9:30 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Hi Nandana,
Yes, I understand that the Transport assertion is not contri
y and have only the
SupportingTokens assertion in the policy. If you also need to enforce
https transport, you can add a HttpsToken as a transport token.
thanks,
Nandana
On Mon, Mar 16, 2009 at 4:12 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Hi Nandana,
I'
st the WSDL you are code generating against ?
thanks,
nandana
On Fri, Mar 13, 2009 at 3:09 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
I've been trying to use the client-side code generation support for
WS-SecurityPolicy in WSDL, with Axis2 1.4.1 and Rampart 1.
one of the new
features of 1.4, I'm hoping one of the developers at some point actually
tried it out. :-)
- Dennis
Alexis Midon wrote:
similar question here [1], some examples would be appreciated.
Thanks!
[1] http://markmail.org/thread/qsn6t4qwepoialud
Alexis
On Thu, Mar 12, 2009 at
I've been trying to use the client-side code generation support for
WS-SecurityPolicy in WSDL, with Axis2 1.4.1 and Rampart 1.4. I've tried
several variations of where I place the policy in the WSDL, including
using reference and embedding it directly in the , but
each time I get:
[java] Exce
Hi Alex,
You'll probably have a much easier time of it if you use Jibx2Wsdl
(included in the current 1.2.1 release of JiBX) rather than Java2WSDL.
Jibx2Wsdl has a number of nice features, including Java 5 typed
collection and enum support, automatic JavaDoc extraction to WSDL and
schema docum
Hi Felix,
There's really no correct result on this, since your dateTime value
doesn't specify a time zone offset. If you want a dateTime value to be
handled consistently, always use a time zone offset (which may be 'Z',
meaning 0 offset from UTC) in the XML representation - so fix the web
ser
to figure out the xml tags for this particular scenario.
I know there is some way to skip these classes as they are not their
in the production environment but I don't know how.
On Sun, Mar 1, 2009 at 2:56 AM, Dennis Sosnoski <mailto:d...@sosnoski.com>> wrote:
Hi Amit,
Wh
Hi Amit,
Why do you want to skip generating the element? You could do this using
JiBX, but any XML documents you generated without this element would be
invalid (since the schema says it's a required element).
- Dennis
Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
Thoughts?
Paul
On Thu, Oct 2, 2008 at 9:28 PM, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:
Hi Jake,
I wrote a handler for schema validation some time ago, as an example for my
training classes. Here's the information on it:
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/val
Hi Jake,
I wrote a handler for schema validation some time ago, as an example for
my training classes. Here's the information on it:
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/validation
- Dennis
--
Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http:/
Looks like the JiBX code for Wsdl2Java may be having a problem with the
schema generated by the JAXWS service. Can you provide the full schema
portion of the WSDL, so that I can see the namespace usage?
By default, JAXB does not use elementFormDefault="qualified" in schema
definitions, meaning
Hi Sagi,
From your exception stack trace, it appears that you're still using
ADB, rather than JiBX:
samples.quickstart.service.adb.HelloServiceStub.fromOM(HelloServiceStub.java:641)
at
samples.quickstart.service.adb.HelloServiceStub.testOneArg(HelloServiceStub.java:215)
at
sample
Hi Jonathan,
Since you didn't provide the modified WSDL it's difficult to say what's
going wrong with this. Does your WSDL work with ADB?
I gather you're using a header part, which probably has not been tested
thoroughly. If you want to enter a Jira on this I'll take a look at the
JiBX handl
Andreas Veithen wrote:
...
Moving to Java 1.5 doesn't necessarily mean to abandon support for
Java 1.4. I am currently working on a project for a company that still
uses Java 1.4 (and I think there are lots of them). We needed a
library to generate MS Project files, but the only one we could
From my experiences working with companies moving to Axis2 I'd say
about half are still using JDK 1.4. If they can't count on that support
being maintained I think they're likely to reconsider adopting Axis2.
Just having an archived 1.3 version of Axis2 won't be enough to convince
them, unless
Hi Gerry,
Are you certain you didn't have another copy of the classes somewhere in
your classpath? This looks like you had a copy of the
com.taw.cca.data.languages.DataLanguagesResult class somewhere which had
not been processed by the binding compiler, and that copy was being
loaded in prefe
Hi Ben,
You may have better luck using Jibx2Wsdl:
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl You can
also see the article at
http://www.infoq.com/articles/sosnoski-code-first discussing "code
first" approaches in general, and Jibx2Wsdl in particular. Jibx2Wsdl
handles a wid
Hi Chandru,
I haven't stayed completely current on the latest changes, but AFAIK
you're not going to get what you want by using AXIOM. By design, AXIOM
will hold on to the constructed elements as you move through the list,
so that you'll end up building the entire list in memory.
To process
avid E wrote:
> Have you looked at using Intel(r) XML Suite and Intel(r) SOA Security
> Toolkit (beta available with AXIS2 API) to enhance performance?
> www.intel.com/software/xml .
>
> Dave
>
> -Original Message-
> From: Dennis Sosnoski [mailto:[EMAIL PROTE
When I've run time comparisons using Axis2 with and without SSL I've
found the SSL time is generally about 40-50% higher than the ordinary
HTTP time. I haven't had to tweak anything on the client to obtain that
speed, though I do use a self-signed certificate and a local trust store
(passed to the
Hi Natraj,
Response under heavy load is going to depend on a number of issues,
including the servlet engine used for deployment. Since you're talking
about payments, security may also be an issue - WS-Security processing
overhead will generally cut your performance by a factor of 2-4x
(depending o
Hi Michele,
I had no problem doing this last week, using my validation module
(http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/validation) with the
1.3 release. In your case, it looks like the module is being located but
without the class. Have you looked inside the mar to make sure the class
i
Hi Michael,
I offer in-house Axis2 training classes for organizations worldwide, and
just returned from a training trip to the U.S. and Mexico. I'm planning
my next training trip to the U.S. for February. Courses generally last
three days, with the content customized based on the outline at
http:/
Hi Paul,
Great to see this! It's something that I've thought was needed for a
long time. UDDI was designed for a world that doesn't now exist, and is
unlikely to develop within our lifetimes, where AI-type applications are
able to analyze services based on simple descriptions and link them
togethe
Hi Ritesh,
I'm surprised to see this, since as I said in my prior email XMLBeans
does very little in the way of schema validation by default. You can
manually validate the data, but unless the generated code includes the
validation I don't know why you'd be running into problems.
What kind of err
XMLBeans actually does very little in the way of schema enforcement, not
even checking for required elements and attributes.
For anyone who *does* want to validate messages (generally a good idea
at least in testing), there's a validation module I wrote for use in
Axis2 training classes and made p
Jibx2Wsdl (http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl)
is a more powerful and effective alternative to Java2Wsdl, even if you
don't want to use JiBX data binding for your service implementation. It
allows you to specify which properties (or fields) are or are not
included in the d
Hi Abhijat,
It sounds like you'd be much better off using JiBX rather than ADB,
since you would prefer to work with existing classes. If you look at the
Jibx2Wsdl tool at
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl (and
discussed in this article:
http://www.infoq.com/article
Anne Thomas Manes wrote:
...
As a general rule, it's best to avoid directly exposing
language-specific types through a web services interface, though. The
purpose of a web services interface is to enable interoperability with
other languages. Other languages don't support Java collections and
ge
Hi Santosh,
You can certainly do a JiBX binding using one of the org.jibx.extras
marshaller/unmarshaller classes for HashMaps. Jibx2Wsdl won't currently
use these to handle HashMaps when starting from Java code, though.
As far as the issue of using a map in the first place, and Anne's
feelin
Hi @jr@,
See the ADB example from my devWorks article:
http://www.ibm.com/developerworks/webservices/library/ws-java3/ You
probably want to look at the ADB wrapped example code, since you're not
unwrapping the messages. The example includes an asynchronous call, and
the article also has some discu
"Fast Infoset" and "Fast Web Services" are two separate terms originated
by Sun. "Fast Infoset" is similar to my own XBIS (http://www.xbis.org)
representation for XML (which preceded Sun's public efforts), and
basically reduces the size and processing overhead of XML by using
binary representations
Sun's "Fast Web Services" are really not all that fast, considering that
it's using binary data rather than text. I have a comparison I did back
around the same time as the Sun article was written which compares the
speed of my earlier JibxSoap project to both other SOAP stacks and RMI.
JibxSoap ac
Jibx2Wsdl (http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl)
has supported this for some time, and generates WSDLs which are
compatible with Axis2.
- Dennis
--
Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnosk
gt; 1. Does this compatible with java 1.4?
>> 2. I saw this your article
>> >
>> optionals="orderId orderDate shipDate">
>>
>>
>> So it is manadatory to declare the item-type for an List?
>>
>>
>> Amila.
>>
>>
item-type for an List?
>
>
> Amila.
>
> |
>
>
> On 8/29/07, *Paul Fremantle* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Well to be fair you brought more than balance!! A whackload of
> good code goes a lnn
Glad you enjoyed it, Paul!
There's been so much bashing of the idea of web service development
starting from code that I thought it was time to bring a bit of balance
to the discussion.
- Dennis
Paul Fremantle wrote:
> Great article! Thanks Dennis.
>
> Paul
>
> On 8/28/
My article on "Code First" Web Services Reconsidered has been published
by InfoQ: http://www.infoq.com/articles/sosnoski-code-first I've also
made some updates to Jibx2Wsdl to fix a few problems found, and with one
more set of enhancements coming up will be making it part of the
upcoming JiBX 1.1.6
rticle It would be nice if you give this
picture as it is to the user. But it try to compare ADB, Xmlbeans and
jibx with out clearly defining the context. ( i.e the user approach
code first, contract first or both and them map).
thanks
Amila.
On 7/31/07, *Dennis Sosnoski * <
is2
Wsdl2Java tool, because I find Wsdl2Java very difficult to work with.
I thought this was all clearly spelled out in the article, especially
the Summary at the end. Hope this makes things clearer.
- Dennis
please correct me I have misunderstood any thing.
Thanks,
Amila.
On 7
The article has now been updated with the changes discussed in this
thread and the one with Deepal. I'll add a link to the article in the docs.
- Dennis
Dennis Sosnoski wrote:
Hi Amila,
Amila Suriarachchi wrote:
On 7/27/07, *Dennis Sosnoski* <[EMAIL PROTECTED]
<mailto:[EMAI
epal Jayasinghe wrote:
Dennis Sosnoski wrote:
Hi Deepal,
I don't really consider POJO support as appropriate for web services
of any complexity, since it directly exports the object model as part
of the service definition. It also is generally unable to cope with
data structures of any
Hi Amila,
Amila Suriarachchi wrote:
On 7/27/07, *Dennis Sosnoski* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
My devWorks article comparing ADB, XMLBeans, and JiBX data binding
with
Axis2 has now been published:
http://www.ibm.com/developerworks
Hi Deepal,
I don't really consider POJO support as appropriate for web services of
any complexity, since it directly exports the object model as part of
the service definition. It also is generally unable to cope with data
structures of any complexity, such as hash maps and even collections
(
My devWorks article comparing ADB, XMLBeans, and JiBX data binding with
Axis2 has now been published:
http://www.ibm.com/developerworks/webservices/library/ws-java3 I *am*
the primary developer for JiBX, but tried to give a fair representation
of all three frameworks in the article. It also inc
Hi John,
This is really a JiBX issue, and you might want to enter it in the Jira
(http://jira.codehaus.org/secure/BrowseProject.jspa?id=10410) so I don't
forget to deal with it. For schema compatibility, JiBX should really
support trimming whitespace from text values being converted to the
va
that mean that Java 5 is required? I
have to stick with Java 1.4.2 for now because working for the Canadian government means
working amongst glaciers and dinosaurs!
cheers
md
-Original Message-----
From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 3:16 P
Hi Michael,
There are no magic bullets when it comes to doing WSDL. Contract-first
is great in theory, and is pretty much the only way to do things in
cases where you're dealing with different groups in developing services
to be used organization wide. However, the tools that are available to
ub or in my server message receiver.
I wouldn't like to continue using the old distribution as I see some
important bugs fixed in the new one. Could you please give me any hint
on what is going on?
Thank you a lot in advance!
Pavel
-Original Message-
From: Dennis Sosnoski [mailto:[EMAI
Jarek Kucypera wrote:
Dennis Sosnoski wrote:
I haven't tried out the Axis2 POJO support, but in general anything
you do using POJOs directly is going to be both inflexible and very
limited in terms of the XML support.
With all respect, xml here is the tool, not the purpose. I would
reamReader xsrOut = ...
StAXOMBuilder builder = new StAXOMBuilder(xsrOut);
return builder.getDocumentElement();
}
On 5/24/07, *Dennis Sosnoski* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
The easiest way to write data to the output without first creating a
co
ut
string into memory. Are you telling me I can't use this method of
service building and must use the WSDL way?
Tammy
Dennis Sosnoski wrote:
Hi Tammy,
OMDataSource is the technique used by data binding code to tie into
the Axis2 output serialization. This allows the data binding t
1 - 100 of 241 matches
Mail list logo