axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Thomas Manes <atma...@gmail.com>
Subject Re: Namespace problems
Date Fri, 29 Jul 2005 19:42:16 GMT
How did you build this service?
- Java first? Using JWS or WSDD?
- WSDL first?

Can you share with us your WSDD and WSDL files?

Anne

On 7/27/05, Davide Romanini <d.romanini@cineca.it> wrote:
> Hi,
> 
> I've a problem with a web service written for Axis and consumed by .NET
> client. I configured it with style=wrapped use=literal. The problem is
> with the answer.
> 
> The .NET client expects:
> 
> <SearchResponse xmlns="http://my.ns.com">
>  <SearchResult xmlns="http://my.ns.com/types">
>  [ . . . ]
>  </SearchResult>
> </SearchResponse>
> 
> Axis sends:
> 
> <SearchResponse xmlns="">
>  <SearchResult>
>  [ . . . ]
>  </SearchResult>
> </SearchResponse>
> 
> I didn't find much documentation for this, didn't understand the
> difference between <namespace> parameter and the wsdlTargetNamespace. I
> found a way to specify the ns for SearchResult, but it creates tags like
> <ns1:SearchResult xmlns:ns1="http://my.ns.com/types"> but all its childs
> must go also in the same ns.
> 
> Please help,
> 
> Bye,
> Davide Romanini
> 
>

Mime
View raw message