Being a .NET developer, I understand your frustration as I am trying
to figure out consuming a .NET service with a Java Client.
I don't know that I fully understand the issue but if you provide a little
more information I might be able to help. You said that you are consuming
a Java Service using a .NET client. The next part is where I am not clear.
You are doing a transformation with the data that you received and then
returning it to the Java Service???
It appears with the XML that you provided that the transformation was
successful
by the creation of the AttractionDTO structure.
Is the issue...
1) with transforming the XML <out ...> to <AttractionDTO ...>
2) transformation was successful but <AttractionDTO ...> contains the extra
namespaces.
3) other
The other question I have is the Java Web method that is being consumed by .NET
take
the form of:
public string MyMethod ( string xmlToTransform );
or
public MyClass MyMethod ( MyClass clazzToTransform );
Cheers,Dave
> Date: Thu, 29 Mar 2007 16:50:18 -0400> From: [EMAIL PROTECTED]> To:
> [email protected]> Subject: [xfire-user] xfire and dotnet, dotnet adds
> xmlns attrs> > Hi,> I have an xfire service that I am consuming in dotnet.
> The dotnet consumer is just doing an xsl transformation of the results from
> the xfire service.> > My problem is that the dotnet consumer is adding xmlns
> attributes to the response. I know, I know, this is a xfire forum, but I was
> hoping that there are other xfire/dotnet users out there that could point me
> to the right solution.> > I have the axis tcpmon running, so I know that it's
> on the dot net side. I trimmed out the xml from both sides. The extra
> xmlns="http://dmi.reffects.com" on the diningNearbyAttractions array is
> causing me xsl tranformation hell. Still trying to figure out how to do a
> tranformation of this stuff with all the xmlns="http://dmi.reffects.com" all
> over the place.> > Thanks for your help! Phillip> > Wire:> <out
> xmlns="http://dmi.reffects.com" attractionId="238173" >
> createDate="2005-12-16T15:21:50-05:00" > emailAddress="[EMAIL PROTECTED]" >
> keywords="pittsburgh crafts pottery art squirrel hill forbes art design clay"
> > paidAd="N" viewable="true"><couponDtos />>
> <diningNearbyAttractions><NearbyDTO><appalacian>false</appalacian><attractionId>77645</attractionId></NearbyDTO>>
> </diningNearbyAttractions>> </out>> > Dotnet:> <?xml version="1.0"
> encoding="utf-8"?>> <AttractionDTO
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" > attractionId="238173"
> createDate="2005-12-16T15:21:50-05:00" > emailAddress="[EMAIL PROTECTED]"
> keywords="pittsburgh crafts pottery art squirrel hill forbes art design clay"
> paidAd="N" viewable="true">> <couponDtos xmlns="http://dmi.reffects.com" />>
> <diningNearbyAttractions xmlns="http://dmi.reffects.com">>
> <NearbyDTO><appalacian>false</appalacian><attractionId>77645</attractionId></NearbyDTO>>
> </diningNearbyAttractions>> </AttractionDTO>> >
> ---------------------------------------------------------------------> To
> unsubscribe from this list please visit:> >
> http://xircles.codehaus.org/manage_email>
_________________________________________________________________
Take a break and play crossword puzzles - FREE!
http://games.msn.com/en/flexicon/default.htm?icid=flexicon_
wlmemailtaglinemarch07