You should not use wsdl:import to import a schema.

Anne

On 10/30/07, axelspin <[EMAIL PROTECTED]> wrote:
>
>
>
> Well, I applied some changes like using a wsdl:import rather than an
> xs:import
> <wsdl:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>                location="rdf.xsd"/>
>
> 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:
> http://www.soapui.org/
>
> and to have a second proof:
> http://soapclient.com/soaptest.html
>
> 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="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
> > xmlns:dc="http://purl.org/dc/elements/1.1/";
> > xmlns:wgs="http://www.w3.org/2003/01/geo/wgs84_pos#";
> > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema#";>
> >   ...
> > <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="http://www.w3.org/2001/XMLSchema";>
> >         <xs:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns";
> > 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: 
> http://www.nabble.com/response-prefix-omitted-tf4712371.html#a13486398
> Sent from the Axis - User mailing list archive at Nabble.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