The two messages are semantically equivalent, and both are equally
proper when elementFormDefault="qualified".

In the first example, the message declares an explicit namespace
(prefix "ns"), which requires that all elements must be explicitly
qualified.

.NET is using the default namespace declaration (not specifying a
prefix), which means that all elements that aren't explicitly
qualified are in the default namespace.

I don't think you need to file another JIRA. This bug has been fixed
in the latest build.

Anne

On 7/5/06, Kinichiro Inoguchi <[EMAIL PROTECTED]> wrote:
Hi, Anne,

Thanks for pointing out the problem.
This response is generated by RPCMessageReceiver,
so I'll create JIRA for this issue.

I'd like to know one more thing.
I wrote 2 patterns of response SOAP message, below.
- (1) is what you suggest to me (using prefix on all elements).
- .NET sent request message like (2) (don't use prefix).

Which is a proper way in this case ?
[WSDL specifies elementFormDefault="qualified"]

(1) add prefixes to all element
 <soapenv:Body>
    <ns:sayHelloResponse xmlns:ns="http://aaa.bbb.ccc";>
        <ns:return>sayHello was called.</ns:return>
    </ns:sayHelloResponse>
 </soapenv:Body>

(2) remove all prefixes in body element.
 <soapenv:Body>
    <sayHelloResponse xmlns="http://aaa.bbb.ccc";>
        <return>sayHello was called.</return>
    </sayHelloResponse>
 </soapenv:Body>

Regards,
kinichiro

--- Anne Thomas Manes <[EMAIL PROTECTED]> wrote:

> You're getting a null response because the response element is not
> namespace qualified:
>
>                              <return>sayHello was called.</return>
>
> .NET is looking for an element called <ns:return>.
>
> Make sure that the schema in your WSDL specifies
> elementFormDefault="qualified".
>
> Anne
>
> On 7/5/06, Kinichiro Inoguchi <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Now, I'm trying to connect Axis2 and .NET with using
> > RPCMessageReceiver.
> > But, .NET client gets Nothing response.
> >
> > Service class is very simple, just receiving String and return
> String.
> > .NET could produce proxy code from WSDL generated by Axis2
> > successfully.
> > Axis2 received request from .NET client and retured response. (see
> > below)
> > .NET proxy code call was succeed, but got Nothing in response
> message.
> >
> > Does anyone know why .NET client got Nothing ?
> >
> > I'm using,
> >   server: Axis2 Nightly Build on 04-Jul-2006 19:27
> >   client: Visual Studio .NET 2003
> >
> > I attached WSDL and request & response for this service.
> >
> > ***** request from .NET client *****
> >
> > POST /axis2/services/ComplexTest HTTP/1.1
> >
> > VsDebuggerCausalityData:
> >
>
AwAAAKdgxDIQq81NtJq/o4XoWYIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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A
> >
>
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> >
> > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services
> Client
> > Protocol 1.1.4322.2032)
> >
> > Content-Type: text/xml; charset=utf-8
> >
> > SOAPAction: "urn:sayHello"
> >
> > Content-Length: 324
> >
> > Expect: 100-continue
> >
> > Connection: Keep-Alive
> >
> > Host: 127.0.0.1:8081
> >
> >
> >
> > <?xml version="1.0" encoding="utf-8"?>
> >    <soap:Envelope
> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> >       <soap:Body>
> >          <sayHello xmlns="http://aaa.bbb.ccc";>
> >             <inParam>hello axis2</inParam>
> >          </sayHello>
> >       </soap:Body>
> >    </soap:Envelope>
> >
> > ***** response from Axis2 *****
> >
> > HTTP/1.1 100 Continue
> >
> >
> >
> > HTTP/1.1 200 OK
> >
> > Set-Cookie: JSESSIONID=F54DB1782B4CDFC1219E5EDDD90A0867;
> Path=/axis2
> >
> > Content-Type: text/xml;charset=utf-8
> >
> > Transfer-Encoding: chunked
> >
> > Date: Wed, 05 Jul 2006 02:46:40 GMT
> >
> > Server: Apache-Coyote/1.1
> >
> >
> >
> > 122
> >
> > <?xml version='1.0' encoding='utf-8'?>
> >    <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
> >       <soapenv:Header />
> >       <soapenv:Body>
> >          <ns:sayHelloResponse xmlns:ns="http://aaa.bbb.ccc";>
> >             <return>sayHello was called.</return>
> >          </ns:sayHelloResponse>
> >       </soapenv:Body>
> >    </soapenv:Envelope>
> > 0
> >
> >
> >
> > Regards,
> > kinichiro
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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



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

Reply via email to