You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mithun Sheshagiri <mi...@csee.umbc.edu> on 2003/10/31 15:18:53 UTC
Question: The prefix "rdf" for attribute "rdf:ID" is not bound.
I am publishing a service using the following WSDL description and I get
the following error:
org.xml.sax.SAXParseException: The prefix "rdf" for attribute "rdf:ID"
is not bound.
I have declared rdf in my namespace. What is the problem? Thanks in advance.
mithun
http://www.cs.umbc.edu/~mits1
<?xml version = '1.0' encoding = 'UTF-8'?>
<!--Generated by the Oracle9i JDeveloper Web Services WSDL Generator-->
<!--Date Created: Wed Oct 29 10:35:20 GMT 2003-->
<definitions name="Provider" targetNamespace="http://stuff/Provider.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://stuff/Provider.wsdl"
xmlns:ns1="http://stuff/IProvider.xsd"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns" >
<types>
<schema targetNamespace="http://stuff/IProvider.xsd"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
>
<complexType name="ItemList">
<sequence>
<element name="member">
<attribute name="rdf:resource" type="string"/>
</element>
<element name="trial" type="string"/>
</sequence>
<attribute name="rdf:ID" type="string"/>
</complexType>
</schema>
</types>
<message name="ItemLookUp0Request">
<part name="input" type="xsd:string"/>
</message>
<message name="ItemLookUp0Response">
<part name="return" type="ns1:ItemList"/>
</message>
<message name="a">
<part name="a1" type="xsd:string"/>
</message>
<message name="b">
<part name="b1" type="xsd:string"/>
</message>
<portType name="ProviderPortType">
<operation name="ItemLookUp">
<input name="ItemLookUp0Request" message="tns:ItemLookUp0Request"/>
<output name="ItemLookUp0Response"
message="tns:ItemLookUp0Response"/>
</operation>
<operation name="test123">
<input name="a2" message="tns:a"/>
<output name="b2" message="tns:b"/>
</operation>
</portType>
<binding name="ProviderBinding" type="tns:ProviderPortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="ItemLookUp">
<soap:operation soapAction="" style="rpc"/>
<input name="ItemLookUp0Request">
<soap:body use="encoded" namespace="Provider"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="ItemLookUp0Response">
<soap:body use="encoded" namespace="Provider"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="test123">
<soap:operation soapAction="" style="rpc"/>
<input name="a2">
<soap:body use="encoded" namespace="Provider"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="b2">
<soap:body use="encoded" namespace="Provider"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="ProviderService">
<port name="Provider" binding="tns:ProviderBinding">
<soap:address
location="http://localhost:8080/axis/services/Provider"/>
</port>
</service>
</definitions>