axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axelspin <>
Subject Re: response prefix omitted
Date Tue, 30 Oct 2007 11:10:39 GMT

Well, I applied some changes like using a wsdl:import rather than an
<wsdl:import namespace=""

and most important thing, I changed my ws testing tool.
i was using the Eclispe WS Explorer, and it doesn`t recognize all the schema
imported in the wsdl and shows some how a wrong output.

now I am using this one:

and to have a second proof:

everything is well parsed and the serialized response is consistent too

axelspin wrote:
> Hi,
> I am developing ws with axis2 (1.2,1.3 behave the same) and AXIOM with raw
> XML in out and I need to include in a SOAP envelope of a document/literal
> style WS a response that is an RDF document.
> in my operation method, if I print out the OMElement, just before leaving
> the payload to axis2 I get the right document with the right prefix in
> front of the RDF root tag.
> <rdf:RDF xmlns:rdf=""
> xmlns:dc=""
> xmlns:wgs=""
> xmlns:rdfs=""
> xmlns:xsd="">
>   ...
> <rdf:RDF>
> Afterwards, when I get the SOAP message the prefix disappears! while all
> the namespaces are still there.
> below there is part of the wsdl I where I import the the RDF element
> <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
> targetNamespace="urn:neries:orfeus:ws"
> xmlns:xs="">
>         <xs:import namespace=""
> schemaLocation="resources?xsd=rdf-dummy.xsd"/> 
>                 [request elements omitted...]
>     </xs:schema>
> and the Response Message declaration takes this shape:
> <wsdl:message name="rdfClassesResponseMessage">
> <wsdl:part name="part1" element="rdf:RDF">
>     </wsdl:part>
> </wsdl:message>
> am I doing something wrong?
> how can I tell to axis2 not to erase the prefixes of my response root tag?
> thanks

View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message