Slight problem with your wsdl...See attached wsdl.
C:\bugs>diff Finder.orig.wsdl Finder.wsdl
104c104
< <wsdlsoap:operation/>
---
> <wsdlsoap:operation>
112a113
> </wsdlsoap:operation>
-- dims
--- [EMAIL PROTECTED] wrote:
> All,
>
> The following wsdl attached to this message, works fine with wsdl2java
> shipped with AXIS 1.0 but does not work with AXIS 1.1.
>
> Probably exemplifying it will expose the problem, to experts on this list.
>
> Hope for an answer.
>
> Regards,
>
> Santosh
>
>
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2003 9:07 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with AXIS 1.1 (Possible Bug)
>
>
> AXIS expert users,
>
> We were using AXIS 1.0 happily, until the next stable release of 1.1 came
> along. But the wsdl2java part seems to have been broken.
>
> I can run the 1.0 wsdl2java successfully on a wsdl (which imports a couple
> of Schema files, which define the data structures, which the wsdl uses).
>
> But it gives the following errors on 1.1
>
> java.io.IOException: ERROR: Missing <soap:fault> element inFault
> "SystemFault" in operation "SystemFault", in binding find
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.faultsFromSOAPFault(SymbolTable
> .java:2023)
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(SymbolTable.ja
> va:1801)
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:577)
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:421)
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408)
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)
> at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
> at java.lang.Thread.run(Thread.java:479)
>
> Any pointers to the solution, very welcome.
>
> Regards,
>
> Santosh
>
> Santosh Joshi
>
>
>
> ATTACHMENT part 2 application/octet-stream name=Finder.wsdl
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="http://servicefinder.ws.apsolve.com" xmlns:intf="http://servicefinder.ws.apsolve.com" xmlns:data="http://servicefinder.ws.apsolve.com" xmlns:framework="http://framework.ws.apsolve.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://servicefinder.ws.apsolve.com">
<wsdl:types>
<xs:schema targetNamespace="http://framework.ws.apsolve.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="BusinessException">
<xs:annotation>
<xs:documentation>This type of exception is thrown when a Business process related error occurs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SystemException">
<xs:annotation>
<xs:documentation>This type of exception is thrown when a System related error occurs which is not connected to Business process directly.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
<xs:schema targetNamespace="http://servicefinder.ws.apsolve.com" xmlns:finder="http://servicefinder.ws.apsolve.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="FinderData">
<xs:annotation>
<xs:documentation>This structure is the data holder for all the input data for Web Service Finder utility service.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="token" type="xs:string" nillable="true">
<xs:annotation>
<xs:documentation> This is the token supplied as a result of successful authentication.
Is mandatory to be passed for searching any other service than Authentication.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="serviceName" type="xs:string" nillable="false">
<xs:annotation>
<xs:documentation>This string is the service name search string which uses ORACLE database accepted wild card chracters like '%' and '_'</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="division" type="xs:string" nillable="true">
<xs:annotation>
<xs:documentation>This string specifies Business Division parameter for the search. If not supplied then default division will be used. The string may contain ORACLE database accepted wild card chracters like '%' and '_'</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="region" type="xs:string" nillable="true">
<xs:annotation>
<xs:documentation>This string specifies Business Region parameter for the search. If not supplied then default region will be used. The string may contain ORACLE database accepted wild card chracters like '%' and '_'</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="finderData" type="finder:FinderData" nillable="false"/>
<xs:element name="finderResult" type="finder:FinderResult" nillable="true"/>
<xs:complexType name="FinderResult">
<xs:annotation>
<xs:documentation>This structure is the data holder for all the results of a search operation performed with Web Service Finder utility service.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="url" type="xs:string" nillable="false">
<xs:annotation>
<xs:documentation>The URL to connect to the Web Service described by the remaining elements of the data structure like serviceName, division and region.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="serviceName" type="xs:string" nillable="false">
<xs:annotation>
<xs:documentation>This string defines service name for the specified URL.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="division" type="xs:string" nillable="false">
<xs:annotation>
<xs:documentation>This string defines Business Division for the specified URL</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="region" type="xs:string" nillable="false">
<xs:annotation>
<xs:documentation>This string defines Business Region for the specified URL</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="BusinessFault">
<wsdl:part name="exception" type="framework:BusinessException"/>
</wsdl:message>
<wsdl:message name="SystemFault">
<wsdl:part name="exception" type="framework:SystemException"/>
</wsdl:message>
<wsdl:message name="finderRequest">
<wsdl:part name="finderRequest" element="data:finderData"/>
</wsdl:message>
<wsdl:message name="finderResponse">
<wsdl:part name="finderResponse" element="data:finderResult"/>
</wsdl:message>
<wsdl:portType name="ServiceFinderPortType">
<wsdl:operation name="find" parameterOrder="finderRequest">
<wsdl:input message="intf:finderRequest"/>
<wsdl:output message="intf:finderResponse"/>
<wsdl:fault name="BusinessFault" message="intf:BusinessFault"/>
<wsdl:fault name="SystemFault" message="intf:SystemFault"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ServiceFinderBinding" type="intf:ServiceFinderPortType">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="find">
<wsdlsoap:operation>
<wsdl:input>
<wsdlsoap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://servicefinder.ws.apsolve.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://servicefinder.ws.apsolve.com"/>
</wsdl:output>
<wsdl:fault name="BusinessFault"/>
<wsdl:fault name="SystemFault"/>
</wsdlsoap:operation>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ServiceFinder">
<wsdl:port name="ServiceFinderPort" binding="intf:ServiceFinderBinding">
<wsdlsoap:address location="http://localhost:8080/tfwebservices/ServiceFinderPort"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>