--- [EMAIL PROTECTED] wrote:
> Experts,
>
> Please help me.
>
> Regards,
>
> Santosh
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2003 3:23 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Problem with AXIS 1.1 (Possible Bug)
>
>
> Anne,
>
> As suggested I have amended the wsdl to a good extent and included it the
> the reply, so that your expertise could give a newbie like me some guidance.
>
> With AXIS 1.1 wsdl2java I get the following error:
>
> 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)
>
> Hope for some clues from experts on this list.
>
> Regards,
>
> Santosh
>
> PS: I am using XMLSPY for writing WSDL's
>
>
>
> -----Original Message-----
> From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 08, 2003 10:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem with AXIS 1.1 (Possible Bug)
>
>
> Perhaps you can tell us what problems occur in Axis 1.1?
>
> I see a number of problems with the WSDL, so perhaps the error was with Axis
> 1.0:
>
> The binding specifies style='document' and use='literal', but the soap:body
> <input> and <output> elements specify encodingStyle and namespace
> attributes, neither of which should be present in a document/literal
> binding.
> <wsdl:input>
>
> <wsdlsoap:body use="literal"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> namespace="http://servicefinder.ws.apsolve.com"/>
>
> </wsdl:input>
>
> Also the fault message <part> elements should reference an element rather
> than a type.
>
> Anne
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 08, 2003 6:49 AM
> Subject: RE: Problem with AXIS 1.1 (Possible Bug)
>
>
> > 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:intf="http://v1.service.servicefinder.ws.mow.apsolve.com"
xmlns:data="http://v1.datatypes.servicefinder.ws.mow.apsolve.com"
xmlns:framework="http://v1.problemmanagement.framework.ws.mow.apsolve.com"
xmlns:frameworkAuth="http://v1.authentication.datatypes.framework.ws.mow.apsolve.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:ns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://v1.service.servicefinder.ws.mow.apsolve.com">
<wsdl:types>
<xs:schema targetNamespace="http://v1.problemmanagement.framework.ws.mow.apsolve.com"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="BusinessException">
<xs:simpleType>
<xs:annotation>
<xs:documentation>This type of exception is thrown when
a Business process related error occurs. e.g. input
data validity problems</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SystemException">
<xs:simpleType>
<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:element>
</xs:schema>
<xs:schema targetNamespace="http://v1.authentication.datatypes.framework.ws.mow.apsolve.com"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="Token">
<xs:annotation>
<xs:documentation>The String that is obtained as part of
a successful authentication with the Authentication Web
Service. A Token is required on all calls to web
services, except authentication.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:schema>
<xs:schema targetNamespace="http://v1.datatypes.servicefinder.ws.mow.apsolve.com"
xmlns:finder="http://v1.datatypes.servicefinder.ws.mow.apsolve.com"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="FinderData" nillable="false">
<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:complexType>
<xs:sequence>
<xs:element name="token" type="frameworkAuth:Token"
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:attribute name="Version" type="xs:string"
use="required" fixed="1.0" />
</xs:complexType>
</xs:element>
<xs:element name="FinderResult" nillable="true">
<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:complexType>
<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:attribute name="Version" type="xs:string"
use="required" fixed="1.0" />
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="BusinessFault">
<wsdl:part name="exception"
element="framework:BusinessException" />
</wsdl:message>
<wsdl:message name="SystemFault">
<wsdl:part name="exception"
element="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 message="intf:SystemFault" name="SystemFault" />
<wsdl:fault message="intf:BusinessFault"
name="BusinessFault" />
</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">
<wsdl:input>
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="literal" />
</wsdl:output>
<wsdl:fault name="SystemFault">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
name="intf:SystemFault"
namespace="http://v1.service.servicefinder.ws.mow.apsolve/binding"
use="literal" />
</wsdl:fault>
<wsdl:fault name="BusinessFault">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
name="intf:BusinessFault"
namespace="http://v1.service.servicefinder.ws.mow.apsolve/binding"
use="literal" />
</wsdl:fault>
</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>