On 6/14/07, robert lazarski <[EMAIL PROTECTED]> wrote:
?

Sorry, I thought you were using POJO's .

I guess I should be sorry, I must have confused you, I am using POJOS.
Here is exactly how I started down this bunny trail...

1) Got requirement for this small demo that we need to call a service
that takes an xml spec that the client can submit (any platform).

2) Being new to webservices, figured I'd try Axis2.

3) Saw the demo of where you create a POJO and then just supply a
services.xml file that exposes the class.

4) Deploy the service as deescribed in the docs which creates the wsdl
for me and everything 'seems' ok. ( I started with a simple method
that took a string - echo(String myEcho ) { return echo; }

5) Built the client stubs using wsdl2java and and ran the client and
all was well (with the echo test).

6) Then I figured I'd try the same thing as above by passing in XML as
the String and that's where things began to break down.

It looks like now I should be considering using AXIOM and do things
with a more manual approach if dealign with a byte[] or else look into
using one of the attachment protocols?

Right now I'll do whatever would be considered the 'easiest' which is
also easy for someone on the other end to create their client (ie .net
or java). Thanks again.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to