axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Now Pains Now Gains <>
Subject question about RELATIVE URI in xmlns of web service.
Date Tue, 14 Dec 2010 18:34:46 GMT
Hi All,

Merry Christmas!

I'm creating a client to consume a .NET WS written in C#.  I have no control
of the WS. I'm using axis2/c 1.6.0. I found some interop problem with the
.NET WS. In the .NET WS, some relative URI is used in the xmlns, when I
using the wsdl it provided to generate the stubs for my client, I got the
following errors in the log:

    143 [Tue Dec 14 11:36:39 2010] [info]  Starting addressing out handler
    144 [Tue Dec 14 11:36:39 2010] [debug] addr_out_handler.c(133) No action
present. Stop processing addressing
    145 [Tue Dec 14 11:36:39 2010] [debug] http_transport_sender.c(246)
    146 [Tue Dec 14 11:36:39 2010] [debug] http_transport_sender.c(805)
using axis2 native http sender.
    147 [Tue Dec 14 11:36:39 2010] [debug] http_sender.c(416)
    148 [Tue Dec 14 11:36:40 2010] [debug] http_transport_sender.c(822) OP
name axutil_qname_get_localpart =
*    149 [Tue Dec 14 11:36:40 2010] [error] libxml2_reader_wrapper.c(984)
xmlns: URI is not absolute
*    150  -- VALIDITY ERROR
    151 [Tue Dec 14 11:36:40 2010] [error] libxml2_reader_wrapper.c(464)
error occurred in reading xml stream
    152 [Tue Dec 14 11:36:40 2010] [critical] soap_builder.c(887) SOAP
message does not have a SOAP envelope element
the error happens in 149. The result of this error message is that axis/c
cannot get the envelope element. My question is how can I handle this
interop problem? Is there a way to workaround this?  ( I read some articles
on the internet about this URI <> has
deprecated relative URI in the XMLNS, somehow, my WS provider is still using

Here is part of the WSDL with the relative xmlns.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:s="" xmlns:soap12="" xmlns:mime="" xmlns:tns="**"
xmlns:soap="" xmlns:tm="" xmlns:http="" xmlns:soapenc="" targetNamespace="**" xmlns:wsdl="">
    <s:schema elementFormDefault="qualified" targetNamespace="**">
     <s:element name="Login">
            <s:element minOccurs="0" maxOccurs="1" name="userid"
            <s:element minOccurs="0" maxOccurs="1" name="password"
      <s:element name="LoginResponse">
            <s:element minOccurs="0" maxOccurs="1" name="LoginResult"

Thanks for your help!


View raw message