Now, I changed the wsdl file, and got this: "org.apache.axis2.AxisFault: namespace mismatch require found none" It looks like the namespace Axis2 requires here is an empty string, but Null is found. Is this an Axis2 bug or not?
On 4/1/08, Tony Liu <[EMAIL PROTECTED]> wrote: > > The following is the partal wsdl file. I can't send through the whole > file, it exceeds the limit. Hope this would help. > > <?xml version="1.0" encoding="UTF-8"?> > <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=" > http://www.w3.org/2001/XMLSchema" xmlns:ns5=" > http://lucene.silentone.com/xsd" xmlns:ns2=" > http://util.phoenix.silentone.com/xsd" xmlns:ns=" > http://www.silentone.com/phoenix/schema/" xmlns:ns1="http://util.java/xsd" > xmlns:ns4="http://phoenix.silentone.com/xsd" xmlns:ns3=" > http://search.lucene.apache.org/xsd" xmlns:impl=" > http://maximus:8080/axis2/services/PhoenixService" xmlns:wsaw=" > http://www.w3.org/2006/05/addressing/wsdl" xmlns:http=" > http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0=" > http://query.phoenix.silentone.com/xsd" xmlns:soap=" > http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime=" > http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12=" > http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace=" > http://maximus:8080/axis2/services/PhoenixService"> > <wsdl:documentation>PhoenixService</wsdl:documentation> > <wsdl:types> > > <xs:schema xmlns:ax217="http://util.java/xsd" > attributeFormDefault="qualified" elementFormDefault="qualified" > targetNamespace="http://maximus:8080/axis2/services/PhoenixService"> > <xs:import namespace="http://util.java/xsd"/> > <xs:import namespace="http://www.silentone.com/phoenix/schema/"/> > <xs:element name="LibraryException"> > <xs:complexType> > <xs:sequence> > <xs:element minOccurs="0" name="LibraryException" nillable="true" > type="ns:LibraryException"/> > </xs:sequence> > </xs:complexType> > </xs:element> > <xs:element name="getObject"> > <xs:complexType> > <xs:sequence> > <xs:element minOccurs="0" name="path" nillable="true" type="xs:string"/> > </xs:sequence> > </xs:complexType> > </xs:element> > <xs:element name="getObjectResponse"> > <xs:complexType> > <xs:sequence> > <xs:element minOccurs="0" name="return" nillable="true" > type="xs:anyType"/> > </xs:sequence> > </xs:complexType> > </xs:element> > > <wsdl:message name="getObjectRequest"> > <wsdl:part name="parameters" element="impl:getObject"/> > </wsdl:message> > <wsdl:message name="getObjectResponse"> > <wsdl:part name="parameters" element="impl:getObjectResponse"/> > </wsdl:message> > > <wsdl:operation name="getObject"> > <soap:operation soapAction="urn:getObject" style="document"/> > <wsdl:input> > <soap:body use="literal"/> > </wsdl:input> > <wsdl:output> > <soap:body use="literal"/> > </wsdl:output> > <wsdl:fault name="LibraryException"> > <soap:fault use="literal" name="LibraryException"/> > </wsdl:fault> > </wsdl:operation> > > <wsdl:operation name="getObject"> > <http:operation location="PhoenixService/getObject"/> > <wsdl:input> > <mime:content type="text/xml" part="getObject"/> > </wsdl:input> > <wsdl:output> > <mime:content type="text/xml" part="getObject"/> > </wsdl:output> > </wsdl:operation> > > > > >
