You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tom <to...@metacharge.com> on 2005/06/08 18:29:06 UTC

Bean Mapping Problem

Hi Guys (assuming your all guys, if not Heya Girls!!)

First post so hopefully this is going to the right people, if not
apologies.

I am trying to send basic beans using Axis Soap (surprise!) and have run
into trouble trying to get my second bean mapping working. Took awhile
but finally managed to get the first one working. Added the second
thinking 'it'll be easy now' but turns out it is'nt. I have read an re-
read everything i can find about assigning getting these maps to work,
down to the elusive client side deployment which was'nt mentioned
anywhere cept in sum post on this list (nice one who ever that was got
my first bean up an moving). However seems like i've done sumthing wrong
cause it is working now.

What i'd really like is a definitive guide to how to do this. I need
more detail thans in the tutorial or user guide as these seem to assume
you've set everything thing up exactly as it wants (that just does'nt
happen). So i need to know 'exactly' how this works, i'd rather have to
much info that not enuff!

I have attached my deploy.wsdd and my client-config.wsdd in the hope
that someone will jst say 'aaahhhhh, silly boy all u gotta do is...'.

Thanks in advance (or even jst for reading this far, sorry bout ranting
on abit, but this has been getting right up my nose!)

Cheers

Tom


No Attachments Sorry [Re: Bean Mapping Problem]

Posted by Tom <to...@metacharge.com>.
Uhhh, no attachments then! Here are my wsdd's.

deploy.wsdd
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
  xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
  <beanMapping qname="meta:TransactionBean"
xmlns:meta="urn:ContainerServiceTypes"
type="java:PlainJavaContainer.TransactionBean"/>  
  <beanMapping qname="meta:MetaServiceMBean"
xmlns:meta="urn:ContainerServiceTypes"
type="java:PlainJavaContainer.MetaServiceMBean"/>

then service descriptions

client-config.wsdd

 <deployment xmlns="http://xml.apache.org/axis/wsdd/"
  xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
  <beanMapping qname="meta:TransactionBean"
xmlns:meta="urn:ContainerServiceTypes"
type="java:PlainJavaContainer.TransactionBean"/>
  <beanMapping qname="meta:MetaServiceMBean"
xmlns:meta="urn:ContainerServiceTypes"
type="java:PlainJavaContainer.MetaServiceMBean"/>
  
</deployment>


More thanks

Tom

On Wed, 2005-06-08 at 17:29 +0100, Tom wrote:
> Hi Guys (assuming your all guys, if not Heya Girls!!)
> 
> First post so hopefully this is going to the right people, if not
> apologies.
> 
> I am trying to send basic beans using Axis Soap (surprise!) and have run
> into trouble trying to get my second bean mapping working. Took awhile
> but finally managed to get the first one working. Added the second
> thinking 'it'll be easy now' but turns out it is'nt. I have read an re-
> read everything i can find about assigning getting these maps to work,
> down to the elusive client side deployment which was'nt mentioned
> anywhere cept in sum post on this list (nice one who ever that was got
> my first bean up an moving). However seems like i've done sumthing wrong
> cause it is working now.
> 
> What i'd really like is a definitive guide to how to do this. I need
> more detail thans in the tutorial or user guide as these seem to assume
> you've set everything thing up exactly as it wants (that just does'nt
> happen). So i need to know 'exactly' how this works, i'd rather have to
> much info that not enuff!
> 
> I have attached my deploy.wsdd and my client-config.wsdd in the hope
> that someone will jst say 'aaahhhhh, silly boy all u gotta do is...'.
> 
> Thanks in advance (or even jst for reading this far, sorry bout ranting
> on abit, but this has been getting right up my nose!)
> 
> Cheers
> 
> Tom
>