Can you please check with Axis2 1.6.0?

thanks,
Amila.

On Sat, Sep 17, 2011 at 4:35 AM, ramkig <ramk...@gmail.com> wrote:

>
> Axis2 1.4.1 service sends same name space for all elements even though
> different elements belong to different name space. The type attribute for
> each element has Java package which is correct , but the name space is
> incorrect and most of the clients other than axis ( like .Net or NetBeans)
> not able to decode the response and they see all response elements as null.
> This is very urgent for me. Any help on this is appreciated.
>
> If you observe in below response the header element and all other elements
> are coming with same name space of root element(ns). The header should have
> been with namespace "http://response.vo.custapi.alacriti.com/xsd"; and
> other
> elements also with different name spaces. Attached the WSDL File.
>
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> ">
>  <soapenv:Body>
>    <ns:checkCustomerResponse
> xmlns:ns="http://webservice.custapi.alacriti.com";>
>      <ns:return
> type="com.alacriti.custapi.vo.response.CheckCustomerResponse">
>        <ns:header type="com.alacriti.yaf.msg.MessageHeader">
>          <ns:msgId>13102</ns:msgId>
>          <ns:msgName xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:nil="true" />
>          <ns:msgType>16</ns:msgType>
>          <ns:msgVersion>1.0</ns:msgVersion>
>        </ns:header>
>        <ns:msgData type="com.alacriti.custapi.vo.APIMessageData">
>          <ns:channelType>7</ns:channelType>
>          <ns:extIssuedCustId>910618</ns:extIssuedCustId>
>          <ns:partnerKey>111113872</ns:partnerKey>
>          <ns:productId>2</ns:productId>
>          <ns:responseCodes type="com.alacriti.yaf.msg.MessageResponseCode">
>            <ns:responseCode>301</ns:responseCode>
>            <ns:responseText
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true" />
>            <ns:responseType>1</ns:responseType>
>            <ns:responseTypeId>0</ns:responseTypeId>
>          </ns:responseCodes>
>          <ns:responseType>1</ns:responseType>
>          <ns:sessionId
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true" />
>          <ns:timestamp>09/12/2011 16:01:14:713 EDT</ns:timestamp>
>        </ns:msgData>
>        <ns:customer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:nil="true" />
>        <ns:customerAccounts
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true" />
>      </ns:return>
>    </ns:checkCustomerResponse>
>  </soapenv:Body>
> </soapenv:Envelope>
>
>
>
> http://old.nabble.com/file/p32483689/WebService1.wsdl WebService1.wsdl
> --
> View this message in context:
> http://old.nabble.com/Axis2-1.4.1-namespace-error-in-reponse-tp32483689p32483689.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to