axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paramdeep Singh" <mau96412_li...@yahoo.com>
Subject Re: WSDL problem
Date Tue, 02 Apr 2002 05:30:59 GMT
Hi Ramaswamy,

The namespaces in the WSDL seem to be all screwed up!
I have cleaned them up!

Am attaching the WSDL, that I have modified.
It works for me!

Hope that it helps.

Warm Regards,
Paramdeep

----- Original Message -----
From: "Ramaswamy Srikant" <srikant@loudcloud.com>
To: <axis-user@xml.apache.org>
Sent: Tuesday, April 02, 2002 8:00 AM
Subject: WSDL problem


> I am trying to generate the stubs for the following wsdl file.
>
> I get the following error
>
> java.io.IOException: Emitter failure.  There is an undefined binding
> (ServiceSOAPBinding) in the WSDL document.
> Hint: make sure <port binding=".."> is fully qualified.
>         at
> org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined(Unknown
> Source)
>         at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source)
>         at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
>         at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
>         at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(Unknown
> Source)
>         at java.lang.Thread.run(Thread.java:484)
> ---------
> The value of binding attribute is fully qualified. Can someone take a
> look let me know what is wrong with the WSDL
>
> thanks
>
>
>


----------------------------------------------------------------------------
----


> <?xml version="1.0" ?>
> <definitions name="urn:servicehandler"
>   targetNamespace="urn:servicehandler-ns"
>   xmlns:tns="http://lc.svchandler"
>   xmlns:xsd="http://www/w3/org/1999/XMLSchema"
>   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>   xmlns="http://schemas.xmlsoap.org/wsdl/">
>
> <types>
>   <xsd:schema targetNamespace="urn:servicehandler-ns"
> xmlns:xsd="http://www/w3/org/1999/XMLSchema">
>   <xsd:complexType name="NewService">
>     <xsd:all>
> <xsd:element name="serviceID"      type="xsd:string"/>
> <xsd:element name="svcDescription" type="xsd:string"/>
> <xsd:element name="itemType"       type="xsd:string"/>
> <xsd:element name="deviceRelated"  type="xsd:int" />
> <xsd:element name="timeToRepair"   type="xsd:int" />
> <xsd:element name="timeToInitiate" type="xsd:int"/>
> <xsd:element name="timeToNotify"   type="xsd:int" />
> <xsd:element name="csaLevel"       type="xsd:int" nillable="false"/>
> <xsd:element name="minThreshold"   type="xsd:int" nillable="true"/>
> <xsd:element name="usage"          type="xsd:string"/>
> <xsd:element name="allowOverUsage" type="xsd:int"/>
> <xsd:element name="unitsPrepaid"   type="xsd:int"/>
> <xsd:element name="timeOfCreation" type="xsd:dateTime"/>
> <xsd:element name="transactionId"  type="xsd:string"/>
> <xsd:element name="unitOfMeasure"  type="xsd:string"/>
> <xsd:element name="deviceModels"   type="xsd:string"/>
> <xsd:element name="operationFlag"   type="xsd:string"/>
>     </xsd:all>
>   </xsd:complexType>
>   </xsd:schema>
> </types>
>
> <message name="NewServiceCreateRequest">
>  <part name="newSvc" type="tns:NewService"/>
> </message>
>
>
> <portType name="ServiceCreation">
>   <operation name="createService">
> <input message="tns:NewServiceCreateRequest"/>
> <output/>
>   </operation>
> </portType>
>
> <binding name="ServiceSOAPBinding" type="tns:ServiceCreation">
>   <soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
>   <operation name="createService">
> <soap:operation soapAction=""/>
> <input>
>   <soap:body use="encoded"
>      namespace="urn:servicehandler-ns"
>      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
> </input>
> <output/>
>    </operation>
> </binding>
> <service name="CreateService">
>    <port name="ServiceCreation" binding="tns:ServiceSOAPBinding">
> <soap:address
location="http://remedy-qa.itdev:8080/axis/servlet/AxisServlet"/>
> </port>
> </service>
> </definitions>
>
>

Mime
View raw message